chiark / gitweb /
commitid.scad.pl: Provide 3-line versions
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 18:42:20 +0000 (18:42 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 18:42:20 +0000 (18:42 +0000)
commitid.scad.pl

index dc589fe3eb8cd334d8d896c363232973c64a58e2..eb4846a954ee6cc3d136f6a7a884ff52c50e0031 100755 (executable)
@@ -69,16 +69,18 @@ $SIG{__WARN__} = sub { die @_; };
 #       digits by 1.
 #
 #   Small4S:
-#   Small6S:
-#   Small8S:
+#   Small6S:   Small6T:
+#   Small8S:   Small9T:
 #   Small10S:
-#       same but split into two lines eg
-#            Small4S  10
-#                     70
+#       same but split into two lines (S) or three lines (T) eg
+#            Small4S  10     Small6t    1
+#                     70               07
+#                                      0*
 #
 #   Git4   Git4S
-#   Git6   Git6S
+#   Git6   Git6S   Git6T
 #   Git8   Git8S
+#   Git9           Git9T
 #   Git10  Git10S
 #       git-rev-parse HEAD   (prefix of requested length)
 #       eg
@@ -284,6 +286,7 @@ sub gentextmodule_plusq ($$) {
     my ($form, $s) = @_;
     gentextmodule($form, $s);
     gentextmodule_q("${form}S", $s, 2);
+    gentextmodule_q("${form}T", $s, 3);
 }
 
 our @gcmd;