From: Junio C Hamano Date: Wed, 30 Dec 2009 08:05:20 GMT Subject: Re: Giving command line parameter to textconv command? Message-ID: <7vr5qc51kv.fsf@alter.siamese.dyndns.org> In-Reply-To: <20091230121325.6117@nanako3.lavabit.com> Nanako Shiraishi writes: > Junio, could you tell us what happened to this thread? > > I use this patch myself, and it works really well. I stopped promoting the patch after Peff mentioned he was planning a rework of textconv, but now I re-read it, I think his rework would be orthogonal to the patch. Also Peff gives a good hint about borrowing how launch_editor() calls out to the shell. I think the codepath we fork&exec user-defined commands (not hooks, but filters like smudge/clean/textconv and EDITOR/PAGER that take a command line) need to be first enumerated, then we need to see if we can refactor what launch_editor() does into a common helper function. I felt it was unclear what we would want to do with GIT_EXTERNAL_DIFF, diff.external, and diff..command trio, but I tend to agree that we should run things the same way, honoring $IFS and shell everywhere. http://thread.gmane.org/gmane.comp.version-control.git/135250/focus=135312