]> gitweb.fluxo.info Git - utils-git.git/commitdiff
Fix: rcommit: upward_commit shold start scanning in the parent folder
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 5 Aug 2024 23:26:03 +0000 (20:26 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 5 Aug 2024 23:26:03 +0000 (20:26 -0300)
rcommit

diff --git a/rcommit b/rcommit
index 59d95d03beef71921f44fad65fd53ad14bba2fc3..50ec8be57b2c9082085cf7133180748ddbbc03de 100755 (executable)
--- 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