From: Jeff King Date: Tue, 7 Apr 2009 07:06:51 +0000 (-0400) Subject: for-each-ref: refactor refname handling X-Git-Tag: v1.8.5-rc0~2^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/8db9a4b85d6b0d7424c8a19b77a5baa8529ab64c?ds=sidebyside;hp=8db9a4b85d6b0d7424c8a19b77a5baa8529ab64c 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 Signed-off-by: Junio C Hamano ---