Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The command 'lab mr note <id>' fails when the GIT_EDITOR variable contains single quotes. For example, if GIT_EDITOR is 'vim -c 'set tw=74' -c 'set noai' -c 'set wrap' the 'lab mr note' command attempts to open 4 different files (tw=74, noai, wrap, and MR_NOTE_EDITMSG). If the single quotes are replaced by double quotes the 'lab mr note' command completes as expected; only MR_NOTE_EDITMSG is modified. Replace single quotes in the GIT_EDITOR environment variable with double quotes. Signed-off-by: Prarit Bhargava <[email protected]>
- Loading branch information