@matheusbsbs / matheus-bagliano / commits / 63b398a428
Fork 0

format-patch: -n and -k are mutually exclusive.

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed May 28, 2006 at 09:23 UTC 63b398a428c5294819a70d9c56879e7fac62a523
1 file changed +1 -1
builtin-log.c
+1 -1
@@ -203,7 +203,7 @@ int cmd_format_patch(int argc, const char **argv, char **envp)
203
204 if (start_number < 0)
205 start_number = 1;
206 - if (numbered && keep_subject < 0)
206 + if (numbered && keep_subject)
207 die ("-n and -k are mutually exclusive.");
208
209 argc = setup_revisions(argc, argv, &rev, "HEAD");