This repository has been archived by the owner on Apr 29, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The `graph_descendant_of` method is strict in that it will return false if the two `Oid`s are equal -- they are strictly not descendants. If the `head` is the same as the `canonical_oid`, no error should be returned and the `push` can happen without any issues. Add a check for `head != canonical_oid` before the `graph_descendant_check`. Signed-off-by: Fintan Halpenny <[email protected]> X-Clacks-Overhead: GNU Terry Pratchett
- Loading branch information