summaryrefslogtreecommitdiff
path: root/src/diff_parse.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-02-02 20:20:19 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2020-05-10 23:47:20 +0100
commit63de21283f1c8d4ca415d19088fbdb46076e54d6 (patch)
tree58b4c52c547edd66ca84b0b400f1ab11f69c7e4b /src/diff_parse.c
parent8731e1f4a10a29fe819e3d3011077737e3c7df43 (diff)
downloadlibgit2-ethomson/checkout_pathspecs.tar.gz
checkout: filter pathspecs for _all_ checkout typesethomson/checkout_pathspecs
We were previously applying the pathspec filter for the baseline iterator during checkout, as well as the target tree. This was an oversight; in fact, we should apply the pathspec filter to _all_ checkout targets, not just trees. Add a helper function to set the iterator pathspecs from the given checkout pathspecs, and call it everywhere.
Diffstat (limited to 'src/diff_parse.c')
0 files changed, 0 insertions, 0 deletions