diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2006-05-05 04:31:29 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-05 14:11:59 -0700 |
commit | 8ac80a5701780547404523a84f4b1ae67bfa6823 (patch) | |
tree | 3e395c7899b82367cf45686dd8ae2fd553c05ae6 /log-tree.c | |
parent | 596524b33d50e47e2375cec9e00aff59f0e8278b (diff) | |
download | git-8ac80a5701780547404523a84f4b1ae67bfa6823.tar.gz |
Teach fmt-patch about --keep-subject
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'log-tree.c')
-rw-r--r-- | log-tree.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/log-tree.c b/log-tree.c index 1ca529d9fe..4a3cd6791b 100644 --- a/log-tree.c +++ b/log-tree.c @@ -46,8 +46,11 @@ void show_log(struct rev_info *opt, struct log_info *log, const char *sep) "Subject: [PATCH %d/%d] ", opt->nr, opt->total); subject = buffer; - } else + } else if (opt->total == 0) subject = "Subject: [PATCH] "; + else + subject = "Subject: "; + printf("From %s Thu Apr 7 15:13:13 2005\n", sha1_to_hex(commit->object.sha1)); } else { |