Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Keep a followed diff to the path it names
A followed diff kept every path that started with the requested one, so following small.c took small.cpp in as well. A path now has to be the requested one or lie below it, as the pathspec of an unfollowed diff matches.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/t0107-diff.sh27
1 file changed, 27 insertions, 0 deletions