diff options
author | Jeff King <peff@peff.net> | 2009-04-07 03:06:51 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-07 23:18:14 -0700 |
commit | 8db9a4b85d6b0d7424c8a19b77a5baa8529ab64c (patch) | |
tree | fe1f9697c242bf36fc0b364a01bc3c41bb3c79d2 /t/t4013/diff.log_-SF_-p_master | |
parent | for-each-ref: refactor get_short_ref function (diff) | |
download | tgif-8db9a4b85d6b0d7424c8a19b77a5baa8529ab64c.tar.xz |
for-each-ref: refactor refname handling
This code handles some special magic like *-deref and the
:short formatting specifier. The next patch will add another
field which outputs a ref and wants to use the same code.
This patch splits the "which ref are we outputting" from the
actual formatting. There should be no behavioral change.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.log_-SF_-p_master')
0 files changed, 0 insertions, 0 deletions