Re: [PATCH v6 2/3] revision: add peek functions for lookahead
- From
Pablo Sabater <pabloosabaterr@gmail.com>
- Date
- Jun 20, 2026, 10:18 UTC
- Message-ID
- <CAN5EUNSj-2hkEBF7N_M6RLsuujDNFNUF3w53zR7SN1_5i2BRyg@mail.gmail.com>
- In-Reply-To
- <20260620-ps-pre-commit-indent-v6-2-cdc6d8fd5fbc@gmail.com>
El sáb, 20 jun 2026 a las 12:12, Pablo Sabater (<pabloosabaterr@gmail.com>) escribió:
Show 11 quoted lines
> > The graph code in a subsequent commit needs to be able to look ahead in > order to set indentation-related flags. > > Using revs->commits is brittle and the data structure that holds the > pending commits might change in the future. > > Add two functions that abstract this for the graph. > > Helped-by: Kristofer Karlsson <stoansen@gmail.com> > Signed-off-by: Pablo Sabater <pabloosabaterr@gmail.com>
The email on the trailer is wrong, sorry Kristofer, I'll fix it in the next version.
Regards, Pablo