From: terencehill Date: Sat, 17 Jul 2010 15:26:28 +0000 (+0200) Subject: Show "(no_branch)" instead of "(no" in the output of the command branches (for exampl... X-Git-Tag: xonotic-v0.1.0preview~344^2~2 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=91bab28ba3142ecb4b1be4613787a76b381bdaed Show "(no_branch)" instead of "(no" in the output of the command branches (for example when you are in a remote branch) --- diff --git a/all b/all index 4fa99d1a..4d827291 100755 --- a/all +++ b/all @@ -319,7 +319,7 @@ case "$cmd" in branches) for d in $repos; do cd "$d0/$d" # am in a pipe, shouldn't use enter - git branch -a -v -v | cut -c 3- | sed "s,^,$d ," + git branch -a -v -v | cut -c 3- | sed "s/^(no branch)/(no_branch)/" | sed "s,^,$d ," cd "$d0" done | { branches_list=