Files
git/Documentation
Kaartic Sivaraam c6342e0525 Doc/check-ref-format: clarify information about @{-N} syntax
When the N-th previous thing checked out syntax (@{-N}) is used
with '--branch' option of check-ref-format the result may not be
the name of a branch that currently exists or ever existed. This
is because @{-N} is used to refer to the N-th last checked out
"thing", which might be a commit object name if the previous check
out was a detached HEAD state; or a branch name, otherwise. The
documentation thus does a wrong thing by promoting it as the
"previous branch syntax".

State that @{-N} is the syntax for specifying "N-th last thing
checked out" and also state that the result of using @{-N} might
also result in an commit object name.

Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-12-19 10:00:45 -08:00
..
2017-12-06 09:23:44 -08:00
2017-12-06 09:23:45 -08:00
2017-11-17 10:31:05 +09:00
2016-07-13 11:24:14 -07:00
2017-11-18 12:31:29 +09:00
2017-04-13 16:15:25 -07:00
2017-11-06 14:24:24 +09:00
2017-01-18 15:12:12 -08:00
2016-08-11 14:35:42 -07:00
2017-06-27 10:35:49 -07:00
2015-10-05 12:30:13 -07:00
2017-12-06 09:23:44 -08:00
2017-01-18 15:12:18 -08:00
2017-05-01 11:01:52 +09:00