diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2020-02-02 20:20:19 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2020-05-10 23:47:20 +0100 |
commit | 63de21283f1c8d4ca415d19088fbdb46076e54d6 (patch) | |
tree | 58b4c52c547edd66ca84b0b400f1ab11f69c7e4b /src/diff.c | |
parent | 8731e1f4a10a29fe819e3d3011077737e3c7df43 (diff) | |
download | libgit2-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.c')
0 files changed, 0 insertions, 0 deletions