diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2011-03-19 22:16:56 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-19 21:48:19 -0700 |
commit | b57fb80a7d7d19102b31ab94a28ed43ea1ee07bb (patch) | |
tree | c960ce2a4e566f9341f1623cf1f632cbda591166 /cache.h | |
parent | 9d379f4fd0a845aba3efa44b254d8e3905c3c029 (diff) | |
download | git-b57fb80a7d7d19102b31ab94a28ed43ea1ee07bb.tar.gz |
init, clone: support --separate-git-dir for .git file
--separate-git-dir tells git to create git dir at the specified
location, instead of where it is supposed to be. A .git file that
points to that location will be put in place so that it appears normal
to repo discovery process.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -436,6 +436,7 @@ extern void verify_non_filename(const char *prefix, const char *name); #define INIT_DB_QUIET 0x0001 +extern int set_git_dir_init(const char *git_dir, const char *real_git_dir, int); extern int init_db(const char *template_dir, unsigned int flags); #define alloc_nr(x) (((x)+16)*3/2) |