summaryrefslogtreecommitdiff
path: root/builtin-fsck.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-01-17 23:04:40 -0800
committerJunio C Hamano <gitster@pobox.com>2009-01-17 23:04:40 -0800
commit58f37f3c07ef4869f88c79b61f11829bebf7bf40 (patch)
tree7cca538f4e2eb9087c764405fb9f93fdd30d5fa9 /builtin-fsck.c
parent5c38ea31f345d08f37685cf4f50c599a7af56bcf (diff)
parent9d3043cf333ee500e476a558acb234b42e43cc62 (diff)
downloadgit-58f37f3c07ef4869f88c79b61f11829bebf7bf40.tar.gz
Merge branch 'maint'
* maint: Update draft release notes for 1.6.1.1 builtin-fsck: fix off by one head count t5540: clarify that http-push does not handle packed-refs on the remote http-push: when making directories, have a trailing slash in the path name http-push: fix off-by-path_len 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.c2
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);