author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
Fri, 26 Nov 2010 15:32:38 +0000 (22:32 +0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 22 Dec 2010 22:34:24 +0000 (14:34 -0800) | ||
commit | 9951d3b37ec7298384640b11d07a990ef031fe83 | |
tree | fe661f2e8f260e6484a417b9682d2fe3fb6976da | tree | snapshot |
parent | 101662c22518de4abfbd5b2fc38b3ec1fa638494 | commit | diff |
setup: clean up setup_discovered_git_dir()
If core.bare is true, discard the discovered worktree, move back to
original cwd.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If core.bare is true, discard the discovered worktree, move back to
original cwd.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
setup.c | diff | blob | history | |
t/t1510-repo-setup.sh | diff | blob | history |