Replies: 1 comment
-
I have absolutely no idea what's happening here. Lazygit is certainly not the one that adds those switches, but I have no explanation for who else might be doing that. If you look at the Command log panel in the lower right of lazygit's window, it should show the command that lazygit uses to edit the file. Unrelated question: is it on purpose that you explicitly define |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using vscode with the c# extension, on linux.
I added this config to open files in vscode when pressing e:
That works... mostly.
From time-to-time it correctly opens the file at the appropriate line, but also opens two new (unsaved) empty files at the repo's root:
--log
andms-dotnettools.csharp=info
. Those files seem to be switches passed to vscode which are somehow interpreted as files (and thus opened).I don't open vscode that way - I always use the normal
code .
Why/how is lazygit determining those switches, and how do I stop it from passing them to vscode?
Beta Was this translation helpful? Give feedback.
All reactions