author | Jonathan Nieder <jrnieder@gmail.com> | |
Sat, 24 Jul 2010 11:25:32 +0000 (06:25 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 26 Jul 2010 05:12:47 +0000 (22:12 -0700) | ||
commit | 68698da540acb0c891b810396d704fef3643c576 | |
tree | 0b8c6a31ef8c1c57b0358f81aae76d3ef6adb258 | tree | snapshot |
parent | 93a00542eaeb40c31b4de2497f5413a2fc0f36f4 | commit | diff |
setup: split off code to handle stumbling upon a repository
If a repository is found as an ancestor of the original
working directory, it is assumed by default to be bare.
Handle this case with its own function.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If a repository is found as an ancestor of the original
working directory, it is assumed by default to be bare.
Handle this case with its own function.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
setup.c | diff | blob | history |