diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-07-24 06:19:44 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-07-25 22:08:13 -0700 |
commit | e4e303479b62e474c52ee1f9edd265d7333117d9 (patch) | |
tree | 24deeb75d501804172cf3f758d005f2a8ac6e429 /dir.c | |
parent | 9f41a91a7d100055fbd527f35b8cddae0bd91cac (diff) | |
download | git-e4e303479b62e474c52ee1f9edd265d7333117d9.tar.gz |
setup: split off $GIT_DIR-set case from setup_git_directory_gently
If $GIT_DIR is set, setup_git_directory_gently does not have
to do any repository discovery at all. Split off a function
for the validation it still does do, in the hope that this will
make setup_git_directory_gently proper less daunting to read.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions