aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-01-18 15:12:14 -0800
committerJunio C Hamano <gitster@pobox.com>2017-01-18 15:12:15 -0800
commitfe9ec8bdf65657c11f08f8858bb2a707bdf7aafe (patch)
treee8134f8c702030414bc600aeaa414680fc04717c /cache.h
parente51058ffc5baf06cf77d13a962c4e0684052db96 (diff)
parent27ec42826e9e5ffa9bcdf0208c1399f62b78c7fb (diff)
downloadgit-fe9ec8bdf65657c11f08f8858bb2a707bdf7aafe.tar.gz
git-fe9ec8bdf65657c11f08f8858bb2a707bdf7aafe.tar.xz
Merge branch 'bw/pathspec-cleanup'
Code clean-up in the pathspec API. * bw/pathspec-cleanup: pathspec: rename prefix_pathspec to init_pathspec_item pathspec: small readability changes pathspec: create strip submodule slash helpers pathspec: create parse_element_magic helper pathspec: create parse_long_magic function pathspec: create parse_short_magic function pathspec: factor global magic into its own function pathspec: simpler logic to prefix original pathspec elements pathspec: always show mnemonic and name in unsupported_magic pathspec: remove unused variable from unsupported_magic pathspec: copy and free owned memory pathspec: remove the deprecated get_pathspec function ls-tree: convert show_recursive to use the pathspec struct interface dir: convert fill_directory to use the pathspec struct interface dir: remove struct path_simplify mv: remove use of deprecated 'get_pathspec()'
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index c74df7012..40f7ddd24 100644
--- a/cache.h
+++ b/cache.h
@@ -514,7 +514,6 @@ 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 void setup_work_tree(void);
extern const char *setup_git_directory_gently(int *);
extern const char *setup_git_directory(void);