Re: [PATCH 7/8] Provide a build time default-editor setting
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 31, 2009, 02:09 UTC
- Message-ID
- <7vfx90co1e.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20091031014441.GH5160@progeny.tock>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 7 quoted lines
> +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?