summaryrefslogtreecommitdiff
path: root/bin/common/gt
diff options
context:
space:
mode:
authorRaymaekers Luca <luca@spacehb.net>2025-07-13 13:50:18 +0200
committerRaymaekers Luca <luca@spacehb.net>2025-07-13 13:50:18 +0200
commitc6bf501dc80c56ecb56963fb6c261ba9140816ac (patch)
tree82f57573e828ace66f90db6ebe21cb0fdba0e210 /bin/common/gt
parent6661491528446407efdf7da7cc1cfa0731bc24d6 (diff)
checkpoint
Diffstat (limited to 'bin/common/gt')
-rwxr-xr-xbin/common/gt10
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/common/gt b/bin/common/gt
index 467613b..b018258 100755
--- a/bin/common/gt
+++ b/bin/common/gt
@@ -92,11 +92,13 @@ while getopts ":a:c:f:dlsheu" opt; do
if [ "$parallel" ]; then
list_repos |
parallel 'cd {};
- cd "$(git rev-parse --show-toplevel || echo .)"
- git pull --ff
+ cd "$(git rev-parse --show-toplevel || printf '\''.\\n'\'')"
+ git pull --ff > /dev/null
git add .
- git commit --all -m "checkpoint"
- git push'
+ git commit --all -m "checkpoint" > /dev/null
+ git push > /dev/null
+ printf '\''{}: done.\\n'\''
+ '
else
list_repos | while read -r proj
do