]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jc/exclude-with-gitignore' into seen
authorJunio C Hamano <gitster@pobox.com>
Thu, 6 Nov 2025 23:17:30 +0000 (15:17 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Nov 2025 23:17:30 +0000 (15:17 -0800)
"git add ':(exclude)foo.o'" is clearly a request not to add 'foo.o',
but the command complained about listing an ignored path foo.o on
the command line, which has been corrected.

Comments?

* jc/exclude-with-gitignore:
  dir.c: do not be fooled by :(exclude) pathspec elements

1  2 
dir.c

diff --cc dir.c
Simple merge