summaryrefslogtreecommitdiff
path: root/builtin/count-objects.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-03-17 13:50:26 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-17 13:50:26 -0700
commit153e0d762c15d8a85f0070cd01aff45f5c232e3f (patch)
treece30e210659f99624eb5af4ffcc53266c0070731 /builtin/count-objects.c
parentMerge branch 'jk/http-walker-buffer-underflow-fix' (diff)
parentadd--interactive: do not expand pathspecs with ls-files (diff)
downloadtgif-153e0d762c15d8a85f0070cd01aff45f5c232e3f.tar.xz
Merge branch 'jk/add-i-use-pathspecs'
"git add -p <pathspec>" unnecessarily expanded the pathspec to a list of individual files that matches the pathspec by running "git ls-files <pathspec>", before feeding it to "git diff-index" to see which paths have changes, because historically the pathspec language supported by "diff-index" was weaker. These days they are equivalent and there is no reason to internally expand it. This helps both performance and avoids command line argument limit on some platforms. * jk/add-i-use-pathspecs: add--interactive: do not expand pathspecs with ls-files
Diffstat (limited to 'builtin/count-objects.c')
0 files changed, 0 insertions, 0 deletions