From: Silvio Rhatto Date: Mon, 5 Aug 2024 23:26:03 +0000 (-0300) Subject: Fix: rcommit: upward_commit shold start scanning in the parent folder X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5c9ca3b00256eedf5c3e3a5481f031505f2e670b;p=utils-git.git Fix: rcommit: upward_commit shold start scanning in the parent folder --- diff --git a/rcommit b/rcommit index 59d95d0..50ec8be 100755 --- a/rcommit +++ b/rcommit @@ -6,7 +6,7 @@ # # From a submodule folder: # -# sup +# rcommit # # 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