chiark / gitweb /
tg info: Carry over missing Subject line in topmsg
authorPetr Baudis <pasky@suse.cz>
Mon, 22 Sep 2008 10:48:40 +0000 (12:48 +0200)
committerPetr Baudis <pasky@suse.cz>
Mon, 22 Sep 2008 10:48:40 +0000 (12:48 +0200)
tg-info.sh

index b5b92f6..17eca60 100644 (file)
@@ -32,7 +32,7 @@ if [ "$(git rev-parse --short "$name")" = "$base_rev" ]; then
        exit 0
 fi
 
-git cat-file blob "$name:.topmsg" | grep ^Subject:
+git cat-file blob "$name:.topmsg" | grep ^Subject: || :
 
 echo "Base: $base_rev"
 branch_contains "$name" "$base_rev" ||