From ac54a9de57e6f1738eef27180902fc0ad256d747 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Sun, 29 Mar 2009 02:54:04 -0400 Subject: Print signature before name, since it's fixed size. --- read_object.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/read_object.pl b/read_object.pl index b60f8eb..f4ee248 100755 --- a/read_object.pl +++ b/read_object.pl @@ -59,7 +59,7 @@ sub format_tree { my @bytes = unpack('C*', $id); my $sig = join '', map { sprintf('%02x', $_) } @bytes; - push @rc, "$mode $name\t$sig"; + push @rc, "$mode $sig\t$name"; } join "\n", @rc; } -- cgit v1.2.3