diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-25 23:52:04 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-28 23:13:02 -0800 |
commit | 61e2b01529d4cb4138c00a653006d16f7a9179ce (patch) | |
tree | a8519e52af08891317d9a8741722bfe45e743a93 /fsck-objects.c | |
parent | e44eb3e4c74c5f6c1fca1cf92ddb454ad248c24c (diff) | |
download | git-61e2b01529d4cb4138c00a653006d16f7a9179ce.tar.gz |
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 <junkio@cox.net>
Diffstat (limited to 'fsck-objects.c')
-rw-r--r-- | fsck-objects.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fsck-objects.c b/fsck-objects.c index 0433a1d0da..90e638e573 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]; |