projects
/
shutils.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba2b41b
)
git: Improve output of git-pull-all
author
Stefan Huber <stefan.huber@fh-salzburg.ac.at>
Mon, 23 Jan 2023 07:38:13 +0000
(08:38 +0100)
committer
Stefan Huber <stefan.huber@fh-salzburg.ac.at>
Mon, 23 Jan 2023 07:40:38 +0000
(08:40 +0100)
git/git-pull-all
patch
|
blob
|
history
diff --git
a/git/git-pull-all
b/git/git-pull-all
index 25252e58b575f0b41a4106324e943db7defee754..3e709fbc2d9af4fc0b6f660e8f7f2ff7148100e9 100755
(executable)
--- a/
git/git-pull-all
+++ b/
git/git-pull-all
@@
-93,7
+93,7
@@
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
"\e[1;32m Already up to date\e[0m"
+ echo "\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"