Skip to content

teach git gui to open the configured editor

Heiko Voigt git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2git-gui: teach _which procedure to work with absolute pathsgit-gui/git-gui.sh+4 -02 replies
2/2git-gui: add "open in editor" diff context menu entrygit-gui/git-gui.sh+51 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [GIT GUI PATCH 0/2] teach git gui to open the configured editor

This patch series adds a new right click menuitem which allows the user to open the configured editor with the currently viewed file. For some popular editors it is also able to move the cursor close to the watched line.

Please have a look at the parsing of the configured editor commandline. I tested it for most situations. Maybe someone has an idea for a more elegant way to split up between arguments and command.

Currently I substitute all ' with " and then abuse the lindex command for trimming and splitting.

Cheers Heiko

Heiko Voigt (2):
git-gui: teach _which procedure to work with absolute paths
git-gui: add "open in editor" diff context menu entry

 git-gui/git-gui.sh |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
Signature · 1 line
1.7.10.rc1.29.gf035d