Merge branch 'fix_tag_history_V2' of git://github.com/Elv13/awesome-1
This commit is contained in:
commit
f3874e2fc4
|
@ -178,13 +178,15 @@ function tag.history.update(obj)
|
||||||
else
|
else
|
||||||
if data.history[s].current then
|
if data.history[s].current then
|
||||||
-- Check that the list is not identical
|
-- Check that the list is not identical
|
||||||
local identical = true
|
local identical = #data.history[s].current == #curtags
|
||||||
|
if identical then
|
||||||
for idx, _tag in ipairs(data.history[s].current) do
|
for idx, _tag in ipairs(data.history[s].current) do
|
||||||
if curtags[idx] ~= _tag then
|
if curtags[idx] ~= _tag then
|
||||||
identical = false
|
identical = false
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
-- Do not update history the table are identical
|
-- Do not update history the table are identical
|
||||||
if identical then return end
|
if identical then return end
|
||||||
|
|
Loading…
Reference in New Issue