commit | e4e303479b62e474c52ee1f9edd265d7333117d9 | [log] [tgz] |
---|---|---|
author | Jonathan Nieder <jrnieder@gmail.com> | Sat Jul 24 06:19:44 2010 -0500 |
committer | Junio C Hamano <gitster@pobox.com> | Sun Jul 25 22:08:13 2010 -0700 |
tree | 24deeb75d501804172cf3f758d005f2a8ac6e429 | |
parent | 9f41a91a7d100055fbd527f35b8cddae0bd91cac [diff] |
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>