vscode-gitlens icon indicating copy to clipboard operation
vscode-gitlens copied to clipboard

Enable GitLens interactive rebase function for coder/code-server

Open niehaa opened this issue 1 year ago • 0 comments

In coder/code-server with GitLens v.14.8.2 when trying to launch the interactive rebase it fails because the 'code' binary is not available on code-server.

Below is the output from the terminal:

/usr/sbin/git -C "/workspace/git_repo/env-config" -c "core.editor=code --wait --reuse-window" -c "sequence.editor=code --wait --reuse-window" rebase --interactive f48ea92cf9d84e59a01dcabde70ae0dd2ef03ea2
hint: Waiting for your editor to close the file... code --wait --reuse-window: line 1: code: command not found
error: There was a problem with the editor 'code --wait --reuse-window'.

Thanks & Regards, Niels

niehaa avatar Feb 22 '24 16:02 niehaa