All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT GUI PATCH 0/2] teach git gui to open the configured editor
@ 2012-03-23 17:30 Heiko Voigt
  2012-03-23 17:30 ` [GIT GUI PATCH 1/2] git-gui: teach _which procedure to work with absolute paths Heiko Voigt
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Heiko Voigt @ 2012-03-23 17:30 UTC (permalink / raw)
  To: Pat Thoyts; +Cc: git

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(+)

-- 
1.7.10.rc1.29.gf035d

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-03-25 19:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23 17:30 [GIT GUI PATCH 0/2] teach git gui to open the configured editor Heiko Voigt
2012-03-23 17:30 ` [GIT GUI PATCH 1/2] git-gui: teach _which procedure to work with absolute paths Heiko Voigt
2012-03-23 19:31   ` Junio C Hamano
2012-03-25 17:09     ` Heiko Voigt
2012-03-23 17:30 ` [GIT GUI PATCH 2/2] git-gui: add "open in editor" diff context menu entry Heiko Voigt
2012-03-23 18:43 ` [GIT GUI PATCH 0/2] teach git gui to open the configured editor Bert Wesarg
2012-03-25 17:02   ` Heiko Voigt
2012-03-25 19:33     ` Bert Wesarg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.