From: Junio C Hamano Date: Sat, 26 Nov 2005 07:52:04 +0000 (-0800) Subject: fsck-objects: work from subdirectory. X-Git-Tag: v0.99.9l^2~23^2~13 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=61e2b01529d4cb4138c00a653006d16f7a9179ce;p=git.git fsck-objects: work from subdirectory. Not much point making it work from subdirectory, but for a consistency make it so. Signed-off-by: Junio C Hamano --- diff --git a/fsck-objects.c b/fsck-objects.c index 0433a1d0..90e638e5 100644 --- a/fsck-objects.c +++ b/fsck-objects.c @@ -431,6 +431,8 @@ int main(int argc, char **argv) { int i, heads; + setup_git_directory(); + for (i = 1; i < argc; i++) { const char *arg = argv[i];