chiark / gitweb /
commitid.scad.pl: rename Q modules to S
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 17:46:12 +0000 (17:46 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 17:46:12 +0000 (17:46 +0000)
commitid.scad.pl

index c03b044133d763a3111083cdd1d0cbc653d0f326..33ab57d8cc8db00592a43970cb8cc3a77c3bebe3 100755 (executable)
@@ -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));
     }
 }