diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-26 10:52:04 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-29 10:13:02 +0300 |
commit | 61e2b01529d4cb4138c00a653006d16f7a9179ce (patch) | |
tree | a8519e52af08891317d9a8741722bfe45e743a93 | |
parent | e44eb3e4c74c5f6c1fca1cf92ddb454ad248c24c (diff) |
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>
-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]; |