Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rs/fgrep'
[gitweb.git]
/
builtin-fsck.c
diff --git
a/builtin-fsck.c
b/builtin-fsck.c
index 297b2c41c62b9f2d918cf0bc9fd113e6e3bb71af..5c4c77adaaba36693e304c27d1f171f8e7e9f151 100644
(file)
--- a/
builtin-fsck.c
+++ b/
builtin-fsck.c
@@
-628,7
+628,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);