aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-05 20:26:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-05 20:26:03 -0300
commit5c9ca3b00256eedf5c3e3a5481f031505f2e670b (patch)
treef66264f10aeae002fb984a74a610d9021b442fa7
parent19664d4b42fb8bfa37ef67f7224ea49a28a844ab (diff)
downloadutils-git-5c9ca3b00256eedf5c3e3a5481f031505f2e670b.tar.gz
utils-git-5c9ca3b00256eedf5c3e3a5481f031505f2e670b.tar.bz2
Fix: rcommit: upward_commit shold start scanning in the parent folderHEADmaster
-rwxr-xr-xrcommit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rcommit b/rcommit
index 59d95d0..50ec8be 100755
--- a/rcommit
+++ b/rcommit
@@ -6,7 +6,7 @@
#
# From a submodule folder:
#
-# sup <message>
+# rcommit <message>
#
# This go upwards and commit, until there's no parent repository.
@@ -18,7 +18,7 @@ GIT="hit"
# Commit upwards
function upward_commit {
- local level=""
+ local level="../"
local up="../"
local found="0"
local base