mirror of
https://github.com/git/git.git
synced 2026-01-11 02:32:58 +00:00
format-patch: -n and -k are mutually exclusive.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user