From 01796b0e9180f92ed23aa8dc2261857b9dec7d13 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 17 Apr 2005 12:07:00 -0700 Subject: 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. --- fsck-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fsck-cache.c') 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; } -- cgit v1.2.1