git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Noted that vi is the final choice of editor in git help commit

From
Adeodato Simó <dato@net.com.org.es>
Date
Jan 14, 2009, 09:55 UTC
Message-ID
<20090114095512.GA29927@chistera.yi.org>
In-Reply-To
<1231886016-31675-1-git-send-email-cfratrik@gmail.com>
* Craig Fratrik [Tue, 13 Jan 2009 14:33:36 -0800]:
Show 6 quoted lines
>  The editor used to edit the commit log message will be chosen from the
>  GIT_EDITOR environment variable, the core.editor configuration variable, the
> -VISUAL environment variable, or the EDITOR environment variable (in that
> -order).
> +VISUAL environment variable, the EDITOR environment variable, or finally 'vi'
> +(in that order).
May I suggest:
   The editor used to edit the commit log message will be chosen from the
   GIT_EDITOR environment variable, the core.editor configuration variable, the
   VISUAL environment variable, or the EDITOR environment variable (in that
  -order).
  +order). If none of those are set, "vi" will be used.
-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
A lie can go round the world before the truth has got its boots on.
                -- Terry Pratchett
Previous: Craig FratrikNext: Michael J Gruber
Message 2 of 3 in “Noted that vi is the final choice of editor in git help commit”
  1. Noted that vi is the final choice of editor in git help commitCraig Fratrik, Jan 13, 2009
  2. Adeodato SimóJan 14, 2009
  3. Michael J GruberJan 14, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.