diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-10-15 15:43:31 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-15 15:43:32 -0700 |
commit | 1c630badacc2de43b03212bcca0f3a9ec99fba13 (patch) | |
tree | 7e11d8ed8359f7bdf82bb40039d5635841ef2572 /cache.h | |
parent | b27dacc1a80d1eca1994e6552d913e42d517f998 (diff) | |
parent | 11f9dd719104a960d3e2b478477d9055141d1dbc (diff) | |
download | git-1c630badacc2de43b03212bcca0f3a9ec99fba13.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |