From: Ian Jackson Date: Fri, 5 Feb 2016 17:46:12 +0000 (+0000) Subject: commitid.scad.pl: rename Q modules to S X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=8c3df00029d49a38603bbb1f644ae71590d0e631 commitid.scad.pl: rename Q modules to S --- diff --git a/commitid.scad.pl b/commitid.scad.pl index c03b044..33ab57d 100755 --- a/commitid.scad.pl +++ b/commitid.scad.pl @@ -68,18 +68,18 @@ $SIG{__WARN__} = sub { die @_; }; # If tree is dirty, + or * is suffixed, reducing number of # digits by 1. # -# Small4Q: -# Small6Q: -# Small8Q: -# Small10Q: -# same but in two lines eg -# Small4Q 10 +# Small4S: +# Small6S: +# Small8S: +# Small10S: +# same but split into two lines eg +# Small4S 10 # 70 # -# Git4 Git4Q -# Git6 Git6Q -# Git8 Git8Q -# Git10 Git10Q +# Git4 Git4S +# Git6 Git6S +# Git8 Git8S +# Git10 Git10S # git-rev-parse HEAD (prefix of requested length) # eg # Git6 82f2a2 @@ -253,7 +253,7 @@ sub gentextmodule_plusq ($$) { my $l = length $s; gentextmodule($form, $s); if (!($l & 1) && $l>=4) { - gentextmodule("${form}Q", substr($s,0,$l/2), substr($s,$l/2)); + gentextmodule("${form}S", substr($s,0,$l/2), substr($s,$l/2)); } }