X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=tg-summary.sh;h=57c723a4da66812fbfd8fd8d399ddbd2747b072b;hb=9092d7656e160bc7384d82c6c42062817ae0a20f;hp=f9d8985d7f6559e3a4d8ae15631ab41c70c82ee5;hpb=42827be6e6afeafda405049ca319a16ef2089841;p=topgit.git diff --git a/tg-summary.sh b/tg-summary.sh index f9d8985..57c723a 100644 --- a/tg-summary.sh +++ b/tg-summary.sh @@ -15,7 +15,7 @@ fi ## List branches git for-each-ref refs/top-bases | - while read rev name ref; do + while read rev type ref; do name="${ref#refs/top-bases/}" missing_deps= @@ -35,6 +35,6 @@ git for-each-ref refs/top-bases | subject="(No commits)" fi - printf '%s%s%s%s\t%-31s\t%s\n' "$nonempty" "$deps_update" "$deps_missing" "$base_update" \ + printf '%s\t%-31s\t%s\n' "$nonempty$deps_update$deps_missing$base_update" \ "$name" "$subject" done