{"thread":{"id":"43666","subject":"*** SPAM ***","startedAt":"2006-12-10T13:57:53Z","lastAt":"2006-12-10T14:04:57Z","messageCount":2,"participants":["Clemens Buchacher"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"296473","messageId":"20061210135753.GA12905@kzelldran.dyndns.org","threadId":"43666","inReplyTo":null,"subject":"*** SPAM ***","fromName":"Clemens Buchacher","fromEmail":"clemens.buchacher@fh-hagenberg.at","sentAt":"2006-12-10T13:57:53Z","receivedAt":"2006-12-10T13:57:53Z","isPatch":false,"sender":{"key":"clemens.buchacher@fh-hagenberg.at","avatar":null},"body":"Make sure $EDITOR is executed as a command\n\n---\ncommit 942341e051fdcbb77a6abfbc58cf08ef8cab388d\ntree 96e8fd08cdc7c59b0d3d55d7cb5b4302db443aff\nparent b6a6e87cb3e1368ad0f78c18fdb6c29dde4ae83e\nauthor Clemens Buchacher <drizzd@aon.at> Sun, 10 Dec 2006 14:37:37 +0100\ncommitter Clemens Buchacher <drizzd@aon.at> Sun, 10 Dec 2006 14:37:37 +0100\n\n cg-Xlib |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/cg-Xlib b/cg-Xlib\nindex c1262bf..9d04eb4 100755\n--- a/cg-Xlib\n+++ b/cg-Xlib\n@@ -568,7 +568,7 @@ _editor()\n \tactionname=\"$1\"; shift\n \tactionkey=\"$1\"; shift\n \n-\t${EDITOR:-vi} \"$LOGMSG2\"\n+\tcommand ${EDITOR:-vi} \"$LOGMSG2\"\n \t[ -z \"$force\" ] || return 0\n \t[ ! \"$LOGMSG2\" -nt \"$LOGMSG\" ] || return 0\n"},{"id":"298442","messageId":"20061210140457.GA13173@kzelldran.dyndns.org","threadId":"43666","inReplyTo":"20061210135753.GA12905@kzelldran.dyndns.org","subject":"Re: [PATCH] editor: make sure $EDITOR is executed as a command","fromName":"Clemens Buchacher","fromEmail":"drizzd@aon.at","sentAt":"2006-12-10T14:04:57Z","receivedAt":"2006-12-10T14:04:57Z","isPatch":true,"sender":{"key":"drizzd@gmx.net","avatar":"https://avatars.githubusercontent.com/u/59082?v=4"},"body":"Hi,\n\nSorry about the missing subject.\n\nMake sure $EDITOR is executed as a command. Otherwise, _editor may fail if\n$EDITOR is set to something like 'editor', which is also a function within\ncg-Xlib.\n\nSigned-off-by: Clemens Buchacher <drizzd@aon.at>\n---\ncommit 942341e051fdcbb77a6abfbc58cf08ef8cab388d\ntree 96e8fd08cdc7c59b0d3d55d7cb5b4302db443aff\nparent b6a6e87cb3e1368ad0f78c18fdb6c29dde4ae83e\nauthor Clemens Buchacher <drizzd@aon.at> Sun, 10 Dec 2006 14:37:37 +0100\ncommitter Clemens Buchacher <drizzd@aon.at> Sun, 10 Dec 2006 14:37:37 +0100\n\n cg-Xlib |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/cg-Xlib b/cg-Xlib\nindex c1262bf..9d04eb4 100755\n--- a/cg-Xlib\n+++ b/cg-Xlib\n@@ -568,7 +568,7 @@ _editor()\n \tactionname=\"$1\"; shift\n \tactionkey=\"$1\"; shift\n \n-\t${EDITOR:-vi} \"$LOGMSG2\"\n+\tcommand ${EDITOR:-vi} \"$LOGMSG2\"\n \t[ -z \"$force\" ] || return 0\n \t[ ! \"$LOGMSG2\" -nt \"$LOGMSG\" ] || return 0\n"}]}