Eliminate an unnecessary chdir("..")
authorDavid Reiss <dreiss@facebook.com>
Tue, 20 May 2008 06:49:34 +0000 (23:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 May 2008 21:15:01 +0000 (14:15 -0700)
commit450f437fb0fe276a6e946c281c768118e39dc9e7
tree7e4e2dc2293a7d385805ca3110bc62396ba7b224
parent0454dd93bfb2334355ec62fff670d8c6cb3570a1
Eliminate an unnecessary chdir("..")

In the case where setup_git_directory_gently fails, avoid the last
chdir("..") by moving it after the ceil_offset check.

Signed-off-by: David Reiss <dreiss@facebook.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
setup.c