author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
Sat, 19 Mar 2011 15:16:56 +0000 (22:16 +0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 20 Mar 2011 04:48:19 +0000 (21:48 -0700) | ||
commit | b57fb80a7d7d19102b31ab94a28ed43ea1ee07bb | |
tree | c960ce2a4e566f9341f1623cf1f632cbda591166 | tree | snapshot |
parent | 9d379f4fd0a845aba3efa44b254d8e3905c3c029 | commit | diff |
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>
--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>