summaryrefslogtreecommitdiff
path: root/t/t6003-rev-list-topo-order.sh
diff options
context:
space:
mode:
authorLibravatar Thomas Rast <trast@student.ethz.ch>2009-01-17 17:09:54 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-01-17 18:37:02 -0800
commita884d0cb71463c28d0329c593dce1ef9758f6177 (patch)
treec684355d77afba751051ee99463b7824104b7683 /t/t6003-rev-list-topo-order.sh
parentcheckout: implement "@{-N}" shortcut name for N-th last branch (diff)
downloadtgif-a884d0cb71463c28d0329c593dce1ef9758f6177.tar.xz
sha1_name: tweak @{-N} lookup
Have the lookup only look at "interesting" checkouts, meaning those that tell you "Already on ..." don't count even though they also cause a reflog entry. Let interpret_nth_last_branch() return the number of characters parsed, so that git-checkout can verify that the branch spec was @{-N}, not @{-1}^2 or something like that. (The latter will be added later.) Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6003-rev-list-topo-order.sh')
0 files changed, 0 insertions, 0 deletions