chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
34d4e73
)
commitid.scad.pl: Provide 3-line versions
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 18:42:20 +0000
(18:42 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 18:42:20 +0000
(18:42 +0000)
commitid.scad.pl
patch
|
blob
|
history
diff --git
a/commitid.scad.pl
b/commitid.scad.pl
index dc589fe3eb8cd334d8d896c363232973c64a58e2..eb4846a954ee6cc3d136f6a7a884ff52c50e0031 100755
(executable)
--- a/
commitid.scad.pl
+++ b/
commitid.scad.pl
@@
-69,16
+69,18
@@
$SIG{__WARN__} = sub { die @_; };
# digits by 1.
#
# Small4S:
# digits by 1.
#
# Small4S:
-# Small6S:
-# Small8S:
+# Small6S:
Small6T:
+# Small8S:
Small9T:
# Small10S:
# 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
#
# Git4 Git4S
-# Git6 Git6S
+# Git6 Git6S
Git6T
# Git8 Git8S
# Git8 Git8S
+# Git9 Git9T
# Git10 Git10S
# git-rev-parse HEAD (prefix of requested length)
# eg
# 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);
my ($form, $s) = @_;
gentextmodule($form, $s);
gentextmodule_q("${form}S", $s, 2);
+ gentextmodule_q("${form}T", $s, 3);
}
our @gcmd;
}
our @gcmd;