Regards!--Piotr--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/13c4f612-e2ff-4345-b4c2-001298e30cb3n%40googlegroups.com.
The refs are sorted by their tip commit time, see
On Wednesday, April 16, 2025 at 10:13:45 AM UTC+2 Matthias Sohn wrote:Thanks Matthias for pointing me to right part of the code!The refs are sorted by their tip commit time, seeSo this one will return them sorted according to tip commit time. But still we are not able to tell which branch is the oldest. Example:- we have a commit in the master branch- then branches devA and devB are created (in that order) with their unique commits- devB branch is the most active branch, so tip of this branch is newer than tip of devA and master branchesSo devB will be the the first returned branch.But order is being changed for final response:It will be lexicographical (alphabetical) order.
To have branches sorted by creation time it would be needed to find all branches in which the commit is included, then find first unique commit for every branch and finally sort branches by creation time of this unique commit.Is my understanding correct?
--Regards!--Piotr
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/32b4c015-ffbd-4fe8-b3c3-b477539c7ce2n%40googlegroups.com.