aboutsummaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorBert Wesarg <bert.wesarg@googlemail.com>2009-04-13 13:20:26 +0200
committerJunio C Hamano <gitster@pobox.com>2009-04-13 09:42:55 -0700
commita45d34691ea624e93863e95706eeb1b1909304f3 (patch)
treeccb33f43a955be918d1771082e04a54599a23f0c /t/t4013/diff.diff_initial..side
parentfor-each-ref: utilize core.warnAmbiguousRefs for :short-format (diff)
downloadgit-a45d34691ea624e93863e95706eeb1b1909304f3.tar.gz
git-a45d34691ea624e93863e95706eeb1b1909304f3.zip
rev-parse: --abbrev-ref option to shorten ref name
This applies the shorten_unambiguous_ref function to the object name. Default mode is controlled by core.warnAmbiguousRefs. Else it is given as optional argument to --abbrev-ref={strict|loose}. This should be faster than 'git for-each-ref --format="%(refname:short)" <ref>' for single refs. Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions