summaryrefslogtreecommitdiff
path: root/t/t3503-cherry-pick-root.sh
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@linux-foundation.org>2017-02-07 21:08:15 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-10 13:19:40 -0800
commit859b7f1d0e742493d2a9396794cd9040213ad846 (patch)
tree8dd558e38011f8192a12ab5e371a5656062130c7 /t/t3503-cherry-pick-root.sh
parentpathspec magic: add '^' as alias for '!' (diff)
downloadtgif-859b7f1d0e742493d2a9396794cd9040213ad846.tar.xz
pathspec: don't error out on all-exclusionary pathspec patterns
Instead of erroring out and telling the user that they should add a positive pattern that covers everything else, just _do_ that. For commands where we honor the current cwd by default (ie grep, ls-files etc), we make that default positive pathspec be the current working directory. And for commands that default to the whole project (ie diff, log, etc), the default positive pathspec is the whole project. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3503-cherry-pick-root.sh')
0 files changed, 0 insertions, 0 deletions