Ensure proper setup of git_dir for git-hash-object
commit272459a3b809db19d15131eb5df9dfe939af9c8c
authorElijah Newren <newren@gmail.com>
Sat, 28 Feb 2009 19:56:49 +0000 (28 12:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Feb 2009 22:09:46 +0000 (28 14:09 -0800)
tree8c4fa69a2b495b329898c86e24fdc8fdefb6d6a2
parent8104ebfe8276657ee803cca7eb8665a78cf3ef83
Ensure proper setup of git_dir for git-hash-object

Call setup_git_directory() before git_config() to make sure git_dir is set
to the proper value.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
hash-object.c