Hi Phillip, On 09/21/2020 14:19, Phillip Wood wrote: > As I said before[1] I think we should also be checking the reflog dates so > that we do not look at any local reflog entries that are older than the most > recent reflog entry for the remote tracking branch. This protects against a > background fetch when the remote has been rewound and it would also reduce > the number of calls to in_merge_bases(). Thanks for suggesting this; I must have missed it earlier (sorry). The latest patch [1], has been updated to take timestamps into account which helps reduce the number of reflog iterations. [1]: https://public-inbox.org/git/20200923073022.61293-1-shrinidhi.kaushik@xxxxxxxxx/ Thanks. -- Srinidhi Kaushik