Validate latest timestamp commits first #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The current algorithm of
validate.shtraverses the tree of parent commits recursively by following one side to its end, then backing up to the previous commit that had multiple parents and going down that side... The result is that very often the oldest timestamp commits are found first in the traversal and checked. When there is a limit on the number of commits to be checked, this means that some of the most recent timestamp commits do not get checked.Provide a different algorithm that processes the commits in reverse date order.