Re: [PATCH v5 0/4] history: add squash subcommand to fold a range
- From
- Phillip Wood <phillip.wood123@gmail.com>
- Date
- Jun 26, 2026, 13:12 UTC
- Message-ID
- <4654a3f1-bf79-4c3f-b121-16bb3ab25f07@gmail.com>
- In-Reply-To
- <CAHwyqnWXaG1HGunztVgUdWnVogqCHRbxh8pcS5fGA6f3mB-nEA@mail.gmail.com>
On 26/06/2026 10:57, Harald Nordgren wrote:
Show 8 quoted lines
> On Fri, Jun 26, 2026 at 10:53 AM Phillip Wood <phillip.wood123@gmail.com> wrote:>> >> Only accepting a single argument is quite limiting as one >> cannot say >> >> git history squash ^:/base :/tip > > I don't understand why this is limiting? It thought it was clear that > it should be one argument REF1..REF2 ? What does '^:/base :/tip' > achieve that '^:/base..:/tip' cannot?
'^/:base..:/tip' is not a range - everything after the first '/:' is treated as a regular expression to search for.
Thanks
Phillip