projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e44eb3e
)
fsck-objects: work from subdirectory.
author
Junio C Hamano
<junkio@cox.net>
Sat, 26 Nov 2005 07:52:04 +0000
(23:52 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 29 Nov 2005 07:13:02 +0000
(23:13 -0800)
Not much point making it work from subdirectory, but for a
consistency make it so.
Signed-off-by: Junio C Hamano <junkio@cox.net>
fsck-objects.c
patch
|
blob
|
history
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];