]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ow/no-dryrun-in-add-i'
authorJunio C Hamano <gitster@pobox.com>
Thu, 13 May 2021 23:26:09 +0000 (08:26 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 May 2021 23:26:09 +0000 (08:26 +0900)
"git add -i --dry-run" does not dry-run, which was surprising.  The
combination of options has taught to error out.

* ow/no-dryrun-in-add-i:
  add: die if both --dry-run and --interactive are given

1  2 
builtin/add.c
t/t3700-add.sh

diff --cc builtin/add.c
Simple merge
diff --cc t/t3700-add.sh
Simple merge