summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xread_object.pl2
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;
}