]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jc/all-negative-pathspec'
authorJunio C Hamano <gitster@pobox.com>
Tue, 7 Jun 2022 21:10:59 +0000 (14:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Jun 2022 21:10:59 +0000 (14:10 -0700)
A git subcommand like "git add -p" spawns a separate git process
while relaying its command line arguments.  A pathspec with only
negative elements was mistakenly passed with an empty string, which
has been corrected.

* jc/all-negative-pathspec:
  pathspec: correct an empty string used as a pathspec element

1  2 
pathspec.c
t/t6132-pathspec-exclude.sh

diff --cc pathspec.c
Simple merge
Simple merge