-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Trying to merge loader.lua and show L or R in a diff and I get errors in those buffers.
:edit loader.lua
:MergetoolStart
:MergetoolToggleLayout LmRLOCAL:
fatal: Not a valid object name :2:loader.lua
REMOTE:
fatal: Not a valid object name :3:loader.lua
Looks like the issue is that mergetool is assuming merging is started at the root of the repository, but when starting mergetool while editing, it is not.
Probably s:mergedfile_name needs to be relative to the .git.
Tested on 0275a85
Metadata
Metadata
Assignees
Labels
No labels