| File data/plugins/git/statuses.lua changed (mode: 100644) (index b29c9c097..502069803) |
| ... |
... |
local function set_file_status(node, path, status, expires) |
| 77 |
77 |
if slash == nil then |
if slash == nil then |
| 78 |
78 |
-- a file removed from index appears twice: first as 'D ' then as '??', |
-- a file removed from index appears twice: first as 'D ' then as '??', |
| 79 |
79 |
-- keep the first status |
-- keep the first status |
| 80 |
|
if node.items[path] == nil then |
|
|
80 |
|
if node.items[path] == nil or node.items[path] == 'GG' then |
| 81 |
81 |
node.items[path] = status |
node.items[path] = status |
| 82 |
82 |
update_dir_status(node, status) |
update_dir_status(node, status) |
| 83 |
83 |
end |
end |