summaryrefslogtreecommitdiff
path: root/src/pathspec.h
Commit message (Collapse)AuthorAgeFilesLines
* Return the matched pathspec pattern in `git_pathspec_match_path`yorah2013-02-071-2/+10
| | | | | | | Instead of returning directly the pattern as the return value, I used an out parameter, because the function also tests if the passed pathspecs vector is empty. If yes, it considers that the path "matches", but in that case there is no matched pattern per se.
* update copyrightsEdward Thomson2013-01-081-1/+1
|
* Move pathspec code in separate filesRussell Belfer2012-11-091-0/+32
Diff uses a `git_strarray` of path specs to represent a subset of all files to be processed. It is useful to be able to reuse this filtering in other places outside diff, so I've moved it into a standalone set of utilities.