diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-03 15:16:21 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-03 15:16:21 +0900 |
commit | e3b7705207b3e9c661026e43b95cfb2f40d7e6f2 (patch) | |
tree | 8b454ead9d5277e6212d03dcd92aacc7c96a574f /pathspec.h | |
parent | d6e11a6ebb61d22349f15df790fc8fe080ad5b52 (diff) | |
download | git-e3b7705207b3e9c661026e43b95cfb2f40d7e6f2.tar.gz git-e3b7705207b3e9c661026e43b95cfb2f40d7e6f2.tar.bz2 git-e3b7705207b3e9c661026e43b95cfb2f40d7e6f2.zip |
Imported Upstream version 2.15.0upstream/2.15.0
Diffstat (limited to 'pathspec.h')
-rw-r--r-- | pathspec.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -70,6 +70,13 @@ struct pathspec { */ #define PATHSPEC_LITERAL_PATH (1<<6) +/* + * Given command line arguments and a prefix, convert the input to + * pathspec. die() if any magic in magic_mask is used. + * + * Any arguments used are copied. It is safe for the caller to modify + * or free 'prefix' and 'args' after calling this function. + */ extern void parse_pathspec(struct pathspec *pathspec, unsigned magic_mask, unsigned flags, |