# HG changeset patch # User Anton Shestakov <av6@dwimlabs.net> # Date 1473491664 -28800 # Node ID 4120e00edf1427809729a1edb7b9fbb5cbdc883d # Parent 27da91327bbed5b39b7f752467b2aa4bbe90ee07 hglib: more precise luacheck option for "table.unpack or unpack" diff -r 27da91327bbe -r 4120e00edf14 hglib.lua --- a/hglib.lua Sat Sep 10 11:05:15 2016 +0800 +++ b/hglib.lua Sat Sep 10 15:14:24 2016 +0800 @@ -1,6 +1,6 @@ local lpc = require('lpc') -local unpack = table.unpack or unpack -- luacheck: ignore undefined variable unpack +local unpack = table.unpack or unpack -- luacheck: read globals unpack local sizes = { i4 = 4, u4 = 4, c = 1 }