You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When tig is started from a subdirectory of a repository's submodule it is impossible to e.g., open the file in text editor (using e key) as it says that the file does not exist. Here is an example files tree:
When file4 is modified and tig is run from submodule_folder everything works fine. But when it is run from dir1 text editor cannot open it (as it does not exist).
After analyzing source code I managed to narrow the problem down to core.worktree and repo.cdup which seems to conflict and change current working directory twice. Quick fix of commenting out core.worktree works for me, but I assume it will brake support for repositories with multiple working trees.
The text was updated successfully, but these errors were encountered:
When
tig
is started from a subdirectory of a repository's submodule it is impossible to e.g., open the file in text editor (usinge
key) as it says that the file does not exist. Here is an example files tree:When
file4
is modified and tig is run fromsubmodule_folder
everything works fine. But when it is run fromdir1
text editor cannot open it (as it does not exist).After analyzing source code I managed to narrow the problem down to
core.worktree
andrepo.cdup
which seems to conflict and change current working directory twice. Quick fix of commenting outcore.worktree
works for me, but I assume it will brake support for repositories with multiple working trees.The text was updated successfully, but these errors were encountered: