[latex3-commits] [git/LaTeX3-latex3-l3build] master: Simplify tag set up (fe2f5ce)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Mar 6 19:41:04 CET 2018
Repository : https://github.com/latex3/l3build
On branch : master
Link : https://github.com/latex3/l3build/commit/fe2f5ce6a771e75856d0895adea5e8c052139443
>---------------------------------------------------------------
commit fe2f5ce6a771e75856d0895adea5e8c052139443
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Mar 6 18:41:04 2018 +0000
Simplify tag set up
With the new 'stand-alone' working method, we don't need
the 'X = X or def' approach.
>---------------------------------------------------------------
fe2f5ce6a771e75856d0895adea5e8c052139443
l3build-tagging.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/l3build-tagging.lua b/l3build-tagging.lua
index 1e62499..af98ad0 100644
--- a/l3build-tagging.lua
+++ b/l3build-tagging.lua
@@ -28,11 +28,11 @@ local os_date = os.date
local match = string.match
local gsub = string.gsub
-update_tag = update_tag or function(filename,content,tagname,tagdate)
+function update_tag(filename,content,tagname,tagdate)
return content
end
-tag_hook = tag_hook or function(tagname)
+function tag_hook(tagname)
return 0
end
More information about the latex3-commits
mailing list