Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add / command in add --patch
[gitweb.git]
/
builtin-fsck.c
diff --git
a/builtin-fsck.c
b/builtin-fsck.c
index 79b87edaf9326dee7544e04ab8d2ef3c1e82b449..aecc8280a0aedb37437ccce446f3382ccba08829 100644
(file)
--- a/
builtin-fsck.c
+++ b/
builtin-fsck.c
@@
-622,7
+622,7
@@
int cmd_fsck(int argc, const char **argv, const char *prefix)
}
heads = 0;
- for (i =
1
; i < argc; i++) {
+ for (i =
0
; i < argc; i++) {
const char *arg = argv[i];
if (!get_sha1(arg, head_sha1)) {
struct object *obj = lookup_object(head_sha1);