Re: [PATCH v3 2/2] Doc/check-ref-format: clarify information about @{-N} syntax

2017-12-06 Thread Kaartic Sivaraam
On Sunday 03 December 2017 07:38 AM, Junio C Hamano wrote: Kaartic Sivaraam writes: NOTE: Though a commit-hash is a "syntactically" valid branch name, it is generally not considered as one for the use cases of "git check-ref-format --branch". That's because a user

Re: [PATCH v3 2/2] Doc/check-ref-format: clarify information about @{-N} syntax

2017-12-02 Thread Junio C Hamano
Kaartic Sivaraam writes: > When the N-th previous thing checked out syntax (@{-N}) is used > with '--branch' option of check-ref-format the result might not > always be a valid branch name (see NOTE below). This is because > @{-N} is used to refer to the N-th last

[PATCH v3 2/2] Doc/check-ref-format: clarify information about @{-N} syntax

2017-11-28 Thread Kaartic Sivaraam
When the N-th previous thing checked out syntax (@{-N}) is used with '--branch' option of check-ref-format the result might not always be a valid branch name (see NOTE below). This is because @{-N} is used to refer to the N-th last checked out "thing" which might be any commit (sometimes a