diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-17 12:07:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-17 12:07:00 -0700 |
commit | 01796b0e9180f92ed23aa8dc2261857b9dec7d13 (patch) | |
tree | a993c92293f2ea7afbac1e637167830d7f003d7d /fsck-cache.c | |
parent | 89d21f4b649d5d31b18da3220608cb349f29e650 (diff) | |
download | git-01796b0e9180f92ed23aa8dc2261857b9dec7d13.tar.gz git-01796b0e9180f92ed23aa8dc2261857b9dec7d13.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck-cache.c b/fsck-cache.c index 3fbcd2c7e..a8050f84a 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; } |