summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-10-15 22:43:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-10-15 22:43:32 (GMT)
commit1c630badacc2de43b03212bcca0f3a9ec99fba13 (patch)
tree7e11d8ed8359f7bdf82bb40039d5635841ef2572 /cache.h
parentb27dacc1a80d1eca1994e6552d913e42d517f998 (diff)
parent11f9dd719104a960d3e2b478477d9055141d1dbc (diff)
downloadgit-1c630badacc2de43b03212bcca0f3a9ec99fba13.zip
git-1c630badacc2de43b03212bcca0f3a9ec99fba13.tar.gz
git-1c630badacc2de43b03212bcca0f3a9ec99fba13.tar.bz2
Merge branch 'mk/submodule-gitdir-path'
The submodule code has been taught to work better with separate work trees created via "git worktree add". * mk/submodule-gitdir-path: path: implement common_dir handling in git_pathdup_submodule() submodule refactor: use strbuf_git_path_submodule() in add_submodule_odb()
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 752031e..274137a 100644
--- a/cache.h
+++ b/cache.h
@@ -443,6 +443,7 @@ extern char *get_object_directory(void);
extern char *get_index_file(void);
extern char *get_graft_file(void);
extern int set_git_dir(const char *path);
+extern int get_common_dir_noenv(struct strbuf *sb, const char *gitdir);
extern int get_common_dir(struct strbuf *sb, const char *gitdir);
extern const char *get_git_namespace(void);
extern const char *strip_namespace(const char *namespaced_ref);