summaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-07-24 07:11:58 -0500
committerJunio C Hamano <gitster@pobox.com>2010-08-04 11:21:44 -0700
commit98937bef1bf1c8eea90c209c601d4338a43a3479 (patch)
tree4a99ff181482247f236935f192e76e5d409bf56c /object.h
parent3f8099fce7779631fe8827a8979d7b57629a36de (diff)
downloadgit-98937bef1bf1c8eea90c209c601d4338a43a3479.tar.gz
setup: split off a function to handle ordinary .git directories
Finish the clean-up of setup_git_directory_gently() by splitting the last case of validation+setup (global variables, prefix, check_format, set_git_dir) into its own function. Now setup_git_git_directory_gently itself takes care of discovery only and the functions that pick up from there are nearby in the source file so they can be easily compared. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object.h')
0 files changed, 0 insertions, 0 deletions