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.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user