diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-08-21 23:27:59 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-21 23:27:59 -0700 |
commit | 2d984464c6be7ced6772a8dcf95d6a461a659a78 (patch) | |
tree | ebde8778f17609acc0587524636ec4862c065ca9 /cache.h | |
parent | d25c72f7da5116f7b7a1f88a59d2bc14415a03b2 (diff) | |
parent | 68d03e4a6e448aa557f52adef92595ac4d6cd4bd (diff) | |
download | git-2d984464c6be7ced6772a8dcf95d6a461a659a78.tar.gz |
Merge branch 'hv/submodule-find-ff-merge'
* hv/submodule-find-ff-merge:
Implement automatic fast-forward merge for submodules
setup_revisions(): Allow walking history in a submodule
Teach ref iteration module about submodules
Conflicts:
submodule.c
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -641,6 +641,9 @@ extern char *git_pathdup(const char *fmt, ...) /* Return a statically allocated filename matching the sha1 signature */ extern char *mkpath(const char *fmt, ...) __attribute__((format (printf, 1, 2))); extern char *git_path(const char *fmt, ...) __attribute__((format (printf, 1, 2))); +extern char *git_path_submodule(const char *path, const char *fmt, ...) + __attribute__((format (printf, 2, 3))); + extern char *sha1_file_name(const unsigned char *sha1); extern char *sha1_pack_name(const unsigned char *sha1); extern char *sha1_pack_index_name(const unsigned char *sha1); |