summaryrefslogtreecommitdiff
path: root/t/t1412-reflog-loop.sh
diff options
context:
space:
mode:
authorLibravatar Kaartic Sivaraam <kaartic.sivaraam@gmail.com>2017-12-16 13:43:49 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-12-19 10:00:45 -0800
commitc6342e052535a5097a5bebe270e01b3cc9014bc3 (patch)
tree80fb4a8109864e0ae9afcad36e0a62f28bd6443d /t/t1412-reflog-loop.sh
parentRelNotes: minor typo fixes in 2.16.0 draft (diff)
downloadtgif-c6342e052535a5097a5bebe270e01b3cc9014bc3.tar.xz
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>
Diffstat (limited to 't/t1412-reflog-loop.sh')
0 files changed, 0 insertions, 0 deletions