From 5edd2b56ce9a3acd7d2a4348325c500f82c31a41 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 10 Feb 2016 01:55:48 +0000 Subject: [PATCH] commitid: in Small with commitid, show start rather than end of commitid - actually --- commitid.scad.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commitid.scad.pl b/commitid.scad.pl index 35bc341..0af0115 100755 --- a/commitid.scad.pl +++ b/commitid.scad.pl @@ -540,7 +540,7 @@ sub do_git () { my $smallstr = rjustt($sz, $git_count, $git_dirty); my $forgitobj = $sz - length($git_count) - 1; if (defined($git_object) && $forgitobj >= 2) { - $smallstr = rjustt($forgitobj, $git_object). + $smallstr = ljustt($forgitobj, $git_object). ($git_dirty || ' '). $git_count; } -- 2.30.2