projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e754e99
)
Handle missing prefix for "Subject:" as if no prefix given
author
Alex Riesen
<raa@limbo.localdomain>
Wed, 4 Jul 2007 10:33:46 +0000
(12:33 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 4 Jul 2007 19:39:43 +0000
(12:39 -0700)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
log-tree.c
patch
|
blob
|
history
diff --git
a/log-tree.c
b/log-tree.c
index ced3f332ef767e39239874edd68c8445ba6991d9..8624d5a39ca3119fe7c4204a2c3b1f272a4b609d 100644
(file)
--- a/
log-tree.c
+++ b/
log-tree.c
@@
-200,7
+200,7
@@
void show_log(struct rev_info *opt, const char *sep)
digits_in_number(opt->total),
opt->nr, opt->total);
subject = buffer;
- } else if (opt->total == 0) {
+ } else if (opt->total == 0
&& opt->subject_prefix && *opt->subject_prefix
) {
static char buffer[256];
snprintf(buffer, sizeof(buffer),
"Subject: [%s] ",