Skip to content

Commit

Permalink
format-patch: -n and -k are mutually exclusive.
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed May 28, 2006
1 parent b931aa5 commit 63b398a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 63b398a

Please sign in to comment.