Thread (46 messages) flat view 46 messages, 6 authors, 2016-06-15

Re: [PATCH/RFC 2/2] Provide a build time default-editor setting

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:38

Possibly related (same subject, not in this thread)

Johannes Sixt [off-list ref] writes:
David Roundy schrieb:
quoted
Any chance this will be exported as plumbing? I know it's pretty
high-level, but it'd be handy to have be able to write `git editor
$FILENAME` and just have it do the right thing.  This would also mean
that the perl scripts below could be simplified.
Something like below? Possible usage in shell scripts:

	editor=$(git var GIT_EDITOR)
	"$editor" "$filename"
I think we support GIT_EDITOR that is command path plus its initial
command line arguments, so you do not want dq around $editor, right?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help