]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commitf00809500f35ed2dbef9e58ae07ca2b6dcc82776
treef1120224b60e02560a900ebf509dd6116d6c89a6
parent08baf19fa316b8395bb0d984d66d438d233d2b5c
parentb02fdbc80a41f73ceb6c99e8e27b22285243a335
Merge branch 'jc/all-negative-pathspec'

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
pathspec.c
t/t6132-pathspec-exclude.sh