projects
/
shutils.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da1c48b
)
git: Fix git-pull-all echo again
author
Stefan Huber <shuber@sthu.org>
Wed, 25 Jan 2023 05:54:46 +0000
(06:54 +0100)
committer
Stefan Huber <shuber@sthu.org>
Wed, 25 Jan 2023 05:54:46 +0000
(06:54 +0100)
git/git-pull-all
patch
|
blob
|
history
diff --git
a/git/git-pull-all
b/git/git-pull-all
index 3e709fbc2d9af4fc0b6f660e8f7f2ff7148100e9..d63e73c9061ebb7a06bc6c4e92afc30a5d490c36 100755
(executable)
--- a/
git/git-pull-all
+++ b/
git/git-pull-all
@@
-93,10
+93,10
@@
for REPODIR in $(find "$@" -name .git -type d 2> /dev/null); do
git -C ${REPO} remote update
if [ -z "$(git -C ${REPO} status -uno | grep 'Your branch is behind')" ] ; then
-
echo "\e[1;32m
Already up to date\e[0m"
+
/usr/bin/echo -e "\e[1;32m
Already up to date\e[0m"
else
if [ "${optDryRun}" = 1 ]; then
-
echo -e "\e[1;31m
Skipping due to dry-run\e[0m"
+
/usr/bin/echo -e "\e[1;31m
Skipping due to dry-run\e[0m"
continue
fi
git -C ${REPO} pull