From d60aedb03f0b079ca09d30492b4a74f6c6b8c5cc Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 5 Feb 2016 17:38:34 +0000 Subject: [PATCH 1/1] commitid.scad.pl: Rename Small to Full --- commitid.scad.pl | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/commitid.scad.pl b/commitid.scad.pl index ad986bb..7d13fb2 100755 --- a/commitid.scad.pl +++ b/commitid.scad.pl @@ -82,16 +82,18 @@ $SIG{__WARN__} = sub { die @_; }; # If tree is dirty, + or * is suffixed to commitid, # reducing number of hex digits by 1. -# Small3 -# Small4 -# Small5 -# Small6 -# Small7 -# Small8 +# Full3 +# Full4 +# Full5 +# Full6 +# Full7 +# Full8 +# Full9 +# Full10 # git-rev-list --first-parent --count HEAD # git-rev-parse HEAD # eg -# Small6 1070 +# Full6 1070 # 82f2a2 # If tree is dirty, + or * is suffixed to count (but not to # commitid) reducing number of digits by 1. @@ -311,7 +313,7 @@ sub do_git () { gentextmodule_plusq("Git$sz", ljustt($sz, $git_object, $git_dirty)) if defined $git_object; - gentextmodule("Small$sz", + gentextmodule("Full$sz", rjustt($sz, $git_count.$git_dirty), ljustt($sz, $git_object, '')) if defined $git_count && defined $git_object; -- 2.30.2