On Mon, Oct 16, 2017 at 07:45:46PM +0900, Junio C Hamano wrote: > > So I think the right endgame in the longer term is: > > ... > > Here is to illustrate what I mean in a patch form. It resurrects > the gentle setup, and uses a purely textual format check when we are > outside the repository, while bypassing the @{magic} interpolation > codepath that requires us to be in a repository. When we are in a > repository, we operate the same way as before. I like the state this puts us in, but there's one catch: we're completely changing the meaning of "check-ref-format --branch", aren't we? It is going from "this is how you resolve @{-1}" to "this is how you check the validity of a potential branch name". Do we need to pick a different name, and/or have a deprecation period? -Peff