From f0910416cc2c84528084380976d4dd8edae0e959 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 5 Feb 2016 03:34:17 +0000 Subject: [PATCH] commitid.scad.pl: docs updates --- commitid.scad.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 -- 2.30.2