scripts

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

commit 10c098474d809f51dfd2b60175abd5702d99f561
parent b00f009f16754a0193e65ec52b8e77dcda5294a5
Author: sin <sin@2f30.org>
Date:   Tue, 26 Aug 2014 16:31:55 +0100

Prefix messages with repo name

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

diff --git a/git-update-all b/git-update-all @@ -4,15 +4,15 @@ for i in *; do if test -d "$i/.git"; then cd "$i" - echo ">> updating $i" + echo "[$i] updating" git remote update git pull --rebase if test $? -eq 1; then - echo ">> backing out rebase, fix manually" + echo "[$i] backing out rebase, fix manually" git rebase --abort fi cd - >/dev/null else - echo ">> $i: not a git repo" 1>&2 + echo "[$i] not a git repo" 1>&2 fi done