diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-08-11 20:04:28 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-11 20:04:28 +0200 |
commit | 0af53e188a3a8915f65c3b3edaeed3e07d8d3802 (patch) | |
tree | bcce70ab66b456b001140964f5c89e5b5888a35c /cache.h | |
parent | Merge branch 'jk/fast-export-quote-path' (diff) | |
parent | commit: allow partial commits with relative paths (diff) | |
download | git-0af53e188a3a8915f65c3b3edaeed3e07d8d3802.tar.xz git-0af53e188a3a8915f65c3b3edaeed3e07d8d3802.zip |
Merge branch 'cb/partial-commit-relative-pathspec'
* cb/partial-commit-relative-pathspec:
commit: allow partial commits with relative paths
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -441,6 +441,7 @@ extern void set_git_work_tree(const char *tree); #define ALTERNATE_DB_ENVIRONMENT "GIT_ALTERNATE_OBJECT_DIRECTORIES" extern const char **get_pathspec(const char *prefix, const char **pathspec); +extern const char *pathspec_prefix(const char *prefix, const char **pathspec); extern void setup_work_tree(void); extern const char *setup_git_directory_gently(int *); extern const char *setup_git_directory(void); |