From c66f67af18830c44747f7bfc3819f86c36a97e47 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 5 Feb 2016 22:12:28 +0000 Subject: [PATCH] commitid: Consistently use "Objid" --- commitid.scad.pl | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/commitid.scad.pl b/commitid.scad.pl index 3b20d62..65963be 100755 --- a/commitid.scad.pl +++ b/commitid.scad.pl @@ -15,7 +15,7 @@ $SIG{__WARN__} = sub { die @_; }; # --git generate git commit indications, as shown below # (this is the default if no strings are requested with -t) # -# --git=object +# --git=objid # generate git commit indication based on commit object only # (ie avoid counting commits) # @@ -36,6 +36,14 @@ $SIG{__WARN__} = sub { die @_; }; # $Commitid_depth_scale if not set, we use 1.0 (multiplies depth above) # $Commitid_max_best_scale if not set, we use 2.0 (max mult of xy in Best) # +# We have auto-sizing modules: +# +# module Commitid_BestCount_2D(max_sz, margin=Commitid_pixelsz()) { ... } +# module Commitid_BestCount (max_sz, margin=Commitid_pixelsz()) { ... } +# module Commitid_BestObjid_2D(max_sz, margin=Commitid_pixelsz()) { ... } +# module Commitid_BestObjid (max_sz, margin=Commitid_pixelsz()) { ... } +# // max_sz should be [x,y] +# # For each form we have # # module Commitid_Form_2D() { ... } @@ -465,7 +473,7 @@ while (@ARGV) { $_ = shift; if (m/^--(no)?-git$/) { $do_git = $1 ? '' : 'co'; - } elsif (m/^---git=object$/) { + } elsif (m/^---git=objid$/i) { $do_git = 'o'; } elsif (m/^-i$/) { $do_git_untracked = 0; -- 2.30.2