]> gitweb.fluxo.info Git - utils-git.git/commitdiff
Fix: sup: use git add -f
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 29 Jul 2024 00:59:52 +0000 (21:59 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 29 Jul 2024 00:59:52 +0000 (21:59 -0300)
sup

diff --git a/sup b/sup
index b06f16f95ef274522bc894fb0a0a45d8b8fe2362..35644181245b70d9fe8191817cc061ddcc90b0db 100755 (executable)
--- a/sup
+++ b/sup
@@ -79,5 +79,6 @@ else
   MESSAGE="Updates $BASE: $LOG"
 
   # Got upward and commit
-  ( cd .. &> /dev/null && $GIT add $BASE && $DIRNAME/commit "$MESSAGE" )
+  #( cd .. &> /dev/null && $GIT add $BASE && $DIRNAME/commit "$MESSAGE" )
+  ( cd .. &> /dev/null && $GIT add -f $BASE && $DIRNAME/commit "$MESSAGE" )
 fi