Skip to content

Commit 92197b2

Browse files
committed
fix(hg): Handle extra line in status output for DiffviewOpen
1 parent ee1420e commit 92197b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/diffview/vcs/adapters/hg/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ HgAdapter.tracked_files = async.wrap(function (self, left, right, args, kind, op
10661066

10671067
local ok = await(Job.join({ namestat_job, mergestate_job, numstat_job }))
10681068

1069-
if not ok or #namestat_job.stdout ~= (#numstat_job.stdout - 1) then
1069+
if not ok then
10701070
callback(utils.vec_join(namestat_job.stderr, numstat_job.stderr, mergestate_job.stderr), nil)
10711071
return
10721072
end

0 commit comments

Comments
 (0)