Skip to content

Commit

Permalink
fsck-objects: work from subdirectory.
Browse files Browse the repository at this point in the history
Not much point making it work from subdirectory, but for a
consistency make it so.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Nov 29, 2005
1 parent e44eb3e commit 61e2b01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fsck-objects.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down

0 comments on commit 61e2b01

Please sign in to comment.