diff options
author | Brian Cully <bjc@kublai.com> | 2009-03-29 02:54:04 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2009-03-29 02:54:04 -0400 |
commit | ac54a9de57e6f1738eef27180902fc0ad256d747 (patch) | |
tree | 6352d93e6916b05bc719e8723d7aba41ba864251 | |
parent | 22e1f61a8bd30248635806ee2b12f14d126770d4 (diff) | |
download | dvcs-git-slides-ac54a9de57e6f1738eef27180902fc0ad256d747.tar.gz dvcs-git-slides-ac54a9de57e6f1738eef27180902fc0ad256d747.zip |
Print signature before name, since it's fixed size.
-rwxr-xr-x | read_object.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |