From: Ian Jackson Date: Fri, 5 Feb 2016 03:34:17 +0000 (+0000) Subject: commitid.scad.pl: docs updates X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f0910416cc2c84528084380976d4dd8edae0e959;p=reprap-play.git commitid.scad.pl: docs updates --- diff --git a/commitid.scad.pl b/commitid.scad.pl index be58d4c..de1efa8 100755 --- a/commitid.scad.pl +++ b/commitid.scad.pl @@ -37,6 +37,7 @@ $SIG{__WARN__} = sub { die @_; }; # Tiny8: # git rev-list --first-parent --count HEAD # typically 3-4 characters but we allow for up to 6 +# padded with zeroes; if too long we reduce mod 10^n # eg # Tiny4 1070 # @@ -47,10 +48,10 @@ $SIG{__WARN__} = sub { die @_; }; # Tiny4Q 10 # 70 # -# Git4 -# Git6 -# Git8 -# git-rev-parse HEAD +# Git4 Git4Q +# Git6 Git6Q +# Git8 Git8Q +# git-rev-parse HEAD (prefix of requested length) # eg # Git6 82f2a2