From: Ian Jackson Date: Wed, 10 Feb 2016 01:55:48 +0000 (+0000) Subject: commitid: in Small with commitid, show start rather than end of commitid - actually X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5edd2b56ce9a3acd7d2a4348325c500f82c31a41;p=reprap-play.git commitid: in Small with commitid, show start rather than end of commitid - actually --- 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; }