On Mon, Aug 01, 2022 at 01:43:06PM -0400, Jeff King wrote: > 2. Your patch, but with ALLOW_ONELEVEL. This fixes nonsense like > "foo..bar", but doesn't break "FETCH_HEAD". Requires fixing t4202's > ".lock" example. Replaces the HEAD starts_with("refs/") check. > > 3. Your patch as-is. Same as (2), but also breaks FETCH_HEAD. Er, sorry, the starts_with() thing is the other way around. It is redundant with your patch, but necessary to keep it for (2). Luckily t1401 catches the problem if you dare to try it. ;) -Peff