summaryrefslogtreecommitdiff
path: root/builtin/pack-refs.c
diff options
context:
space:
mode:
authorLibravatar Jan Krüger <jk@jk.gs>2012-02-27 23:10:38 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-02-27 15:58:36 -0800
commit42b00599be684e20462c431a718f86c2b6fce575 (patch)
tree81d9579d42fbc12ea8dd3013f24319b6bce17531 /builtin/pack-refs.c
parentUpdate draft release notes to 1.7.10 (diff)
downloadtgif-42b00599be684e20462c431a718f86c2b6fce575.tar.xz
symbolic-ref --short: abbreviate the output unambiguously
It can be helpful to resolve a symbolic ref and output the result in a shortened form, such as for use in shell prompts. Add a "--short" option to do so. Signed-off-by: Jan Krüger <jk@jk.gs> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/pack-refs.c')
0 files changed, 0 insertions, 0 deletions