From 91bab28ba3142ecb4b1be4613787a76b381bdaed Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 17 Jul 2010 17:26:28 +0200 Subject: [PATCH] Show "(no_branch)" instead of "(no" in the output of the command branches (for example when you are in a remote branch) --- all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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= -- 2.39.2