Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
apply --whitespace=fix: detect new blank lines at eof correctly
[gitweb.git]
/
builtin-fsck.c
diff --git
a/builtin-fsck.c
b/builtin-fsck.c
index 30971ce0ad170350cc6aaa2d213d348c267263db..aa4b239e42e8ade25cb481c4cdb55866eb37d948 100644
(file)
--- a/
builtin-fsck.c
+++ b/
builtin-fsck.c
@@
-624,7
+624,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);