Johannes Sixt <j.sixt@xxxxxxxxxxxxx> writes: > David Roundy schrieb: >> 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? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html