From: Junio C Hamano Date: Sat, 31 Oct 2009 02:09:17 GMT Subject: Re: [PATCH 7/8] Provide a build time default-editor setting Message-ID: <7vfx90co1e.fsf@alter.siamese.dyndns.org> In-Reply-To: <20091031014441.GH5160@progeny.tock> Jonathan Nieder writes: > +test_expect_success 'does editor have a simple name (no slashes, etc)?' ' > + > + editor=$(TERM=vt100 git var GIT_EDITOR) && > + test -n "$editor" && > + simple=t && > + case "$editor" in > + */* | core_editor | [A-Z]*) Hmm, what are the latter two cases designed to catch?