diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-01-17 22:39:49 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-17 22:39:49 -0800 |
commit | 78f111e12de40e2d9aa8d0774acc287f79862b13 (patch) | |
tree | 1c7f08c0e2ee31b86a2bfa1c010f5d7bddc3d0fb /builtin-fsck.c | |
parent | t5540: clarify that http-push does not handle packed-refs on the remote (diff) | |
parent | builtin-fsck: fix off by one head count (diff) | |
download | tgif-78f111e12de40e2d9aa8d0774acc287f79862b13.tar.xz |
Merge branch 'maint-1.6.0' into maint
* maint-1.6.0:
builtin-fsck: fix off by one head count
Documentation: let asciidoc align related options
githooks.txt: add missing word
builtin-commit.c: do not remove COMMIT_EDITMSG
Diffstat (limited to 'builtin-fsck.c')
-rw-r--r-- | builtin-fsck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-fsck.c b/builtin-fsck.c index 297b2c41c6..5c4c77adaa 100644 --- 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); |