author | SZEDER Gábor <szeder@ira.uka.de> | |
Tue, 25 Mar 2008 21:06:26 +0000 (22:06 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 26 Mar 2008 22:41:35 +0000 (15:41 -0700) | ||
commit | af05d67939f306a68c5f81ed30f65a82ae025661 | |
tree | 604f2ab856a425e84f67a5a65c7ee58f74e1d4c8 | tree | snapshot |
parent | 660b9c3a4e24ce9a2628f2ec88902e2384d1aade | commit | diff |
Always set *nongit_ok in setup_git_directory_gently()
setup_git_directory_gently() only modified the value of its *nongit_ok
argument if we were not in a git repository. Now it will always set it
to 0 when we are inside a repository.
Also remove now unnecessary initializations in the callers of this
function.
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
setup_git_directory_gently() only modified the value of its *nongit_ok
argument if we were not in a git repository. Now it will always set it
to 0 when we are inside a repository.
Also remove now unnecessary initializations in the callers of this
function.
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-apply.c | diff | blob | history | |
builtin-bundle.c | diff | blob | history | |
builtin-config.c | diff | blob | history | |
builtin-diff-files.c | diff | blob | history | |
builtin-diff.c | diff | blob | history | |
builtin-ls-remote.c | diff | blob | history | |
git.c | diff | blob | history | |
setup.c | diff | blob | history |