scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit 21aebd39fb6fc65f98774e1ed0038f0595c85029
parent b2e6b771596168dbdce515c9f8c4a2df714c3b18
Author: sin <sin@2f30.org>
Date:   Fri, 28 Jun 2013 12:27:35 +0100

If it is not a git repo - report it to the user

Diffstat:
Mgit-update-all | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/git-update-all b/git-update-all @@ -3,9 +3,11 @@ for i in *; do cd "$i" + echo "Updating $i" if [ -d .git ]; then - echo "Updating $i..." git pull + else + echo Not a git repo, skipping 1>&2 fi cd - >/dev/null done