summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bin/git-comment.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/git-comment.pl b/bin/git-comment.pl
index d4058804..01f7171d 100644
--- a/bin/git-comment.pl
+++ b/bin/git-comment.pl
@@ -61,6 +61,7 @@ while (<$pipe>) {
 	chomp;
 	if (/^([[:xdigit:]]+) \d+ (\d+) (\d+)/) {
 		($commit, $nr, $group, $printed) = ($1, $2, $3, 0);
+		$abbrev{$commit} = 'dirty' if $commit =~ /^0+$/;
 		next if $abbrev{$commit};
 		my @body = $repo->command(
 			'show', '--no-patch', '--pretty=format:%h%n%b', $commit