Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-17 23:07:00 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-17 23:07:00 +0400
commit01796b0e9180f92ed23aa8dc2261857b9dec7d13 (patch)
treea993c92293f2ea7afbac1e637167830d7f003d7d /fsck-cache.c
parent89d21f4b649d5d31b18da3220608cb349f29e650 (diff)
Make "revision.h" slightly better to use.
- mark_reachable() can be more generic, marking the reachable revisions with an arbitrary mask. - date parsing will parse to a date of 0 rather than ULONG_MAX for the bad old case, sorting the dates correctly.
Diffstat (limited to 'fsck-cache.c')
-rw-r--r--fsck-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck-cache.c b/fsck-cache.c
index 3fbcd2c7e9..a8050f84a9 100644
--- a/fsck-cache.c
+++ b/fsck-cache.c
@@ -186,7 +186,7 @@ int main(int argc, char **argv)
continue;
}
if (!get_sha1_hex(argv[i], head_sha1)) {
- mark_reachable(lookup_rev(head_sha1));
+ mark_reachable(lookup_rev(head_sha1), REACHABLE);
heads++;
continue;
}