reflog-walk: refactor the branch@{num} formatting
commit72b103fec7af967d295410c2fd3899bc6e8386e2
authorThomas Rast <trast@student.ethz.ch>
Mon, 19 Oct 2009 15:48:09 +0000 (19 17:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Oct 2009 05:28:25 +0000 (19 22:28 -0700)
tree4b037fada03fccd4307b788451b7f5483415a9f4
parentdd2e794a214350711db46c4e08d9b19188a7d63a
reflog-walk: refactor the branch@{num} formatting

We'll use the same output in an upcoming commit, so refactor its
formatting (which was duplicated anyway) into a separate function.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reflog-walk.c