summaryrefslogtreecommitdiff
path: root/builtin-checkout.c
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2009-01-17 17:09:55 +0100
committerJunio C Hamano <gitster@pobox.com>2009-01-17 18:37:19 -0800
commitd18ba22154574390dbff2c060f44b9715477e95a (patch)
treeaad88747b04d28f49caf86c9ccb12400ff4c6c0d /builtin-checkout.c
parenta884d0cb71463c28d0329c593dce1ef9758f6177 (diff)
downloadgit-d18ba22154574390dbff2c060f44b9715477e95a.tar.gz
sha1_name: support @{-N} syntax in get_sha1()
Let get_sha1() parse the @{-N} syntax, with docs and tests. Note that while @{-1}^2, @{-2}~5 and such are supported, @{-1}@{1} is currently not allowed. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-checkout.c')
0 files changed, 0 insertions, 0 deletions