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