setup: split off get_device_or_die helper
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 24 Jul 2010 11:27:58 +0000 (06:27 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Jul 2010 05:12:51 +0000 (22:12 -0700)
commit60c98d1e80a65c9a893733f7bceda463ef3cb6f7
tree12654ea19d5697203cfa1b891ce6b024cd21ca65
parentf161edebb64f08bfc615fd9c28ebae3333255e2e
setup: split off get_device_or_die helper

This does not eliminate any code, but it skims some off of
the main loop of setup_git_directory_gently so that can be
understood more easily.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
setup.c