projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b931aa5
)
format-patch: -n and -k are mutually exclusive.
author
Junio C Hamano
<junkio@cox.net>
Sun, 28 May 2006 16:23:29 +0000
(09:23 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 28 May 2006 16:23:29 +0000
(09:23 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-log.c
patch
|
blob
|
history
diff --git
a/builtin-log.c
b/builtin-log.c
index cdcf49e21ff72b8422c12e32c1b6fddeed77ba08..db1912a05be425d1f4430aafee5f2bca844dd104 100644
(file)
--- a/
builtin-log.c
+++ b/
builtin-log.c
@@
-203,7
+203,7
@@
int cmd_format_patch(int argc, const char **argv, char **envp)
if (start_number < 0)
start_number = 1;
- if (numbered && keep_subject
< 0
)
+ if (numbered && keep_subject)
die ("-n and -k are mutually exclusive.");
argc = setup_revisions(argc, argv, &rev, "HEAD");