Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
trivial: use git-repo-config to detect if the test can be run on the repository
[gitweb.git]
/
fsck-objects.c
diff --git
a/fsck-objects.c
b/fsck-objects.c
index 0433a1d0da6d6286c3db5a2395e2b2e60c9e9472..90e638e573be005033cbf7faeff6ea8e97a1e758 100644
(file)
--- 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];