diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-03-17 13:50:26 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-17 13:50:26 -0700 |
commit | 153e0d762c15d8a85f0070cd01aff45f5c232e3f (patch) | |
tree | ce30e210659f99624eb5af4ffcc53266c0070731 /t/t4013/diff.log_-p_--first-parent_master | |
parent | Merge branch 'jk/http-walker-buffer-underflow-fix' (diff) | |
parent | add--interactive: do not expand pathspecs with ls-files (diff) | |
download | tgif-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 't/t4013/diff.log_-p_--first-parent_master')
0 files changed, 0 insertions, 0 deletions