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

Re: feature request

From
John Rood <mr.john.rood@gmail.com>
Date
Oct 27, 2016, 22:24 UTC
Message-ID
<CALj-rGfsy+KA=dsd+wobMiVOWHK1GU=dZRcQWtMoXwtBrMYPLg@mail.gmail.com>
In-Reply-To
<CALj-rGeMHyN6Xhc0_KCChmWL4BDyF-ZJYdipbe1_yNvznrYPVA@mail.gmail.com>

I suppose I can do git config --global core.editor notepad However, this really only addresses my second concern.

My first concern is that using a text editor at all seems like overkill in many scenarios. For that reason, I still think the other two options I mentioned would be beneficial.

On Thu, Oct 27, 2016 at 5:05 PM, John Rood <mr.john.rood@gmail.com> wrote:
Show 23 quoted lines
> Unfortunately, in my case I'm on windows (my company's choice, not mine).
>
> On Thu, Oct 27, 2016 at 5:01 PM, Stefan Beller <sbeller@google.com> wrote:
>> On Thu, Oct 27, 2016 at 2:55 PM, John Rood <mr.john.rood@gmail.com> wrote:
>>> Users should be able to configure Git to not send them into a Vim editor.
>>
>> See https://git-scm.com/docs/git-var
>>
>> GIT_EDITOR
>>
>> Text editor for use by Git commands. The value is meant to be interpreted
>> by the shell when it is used. Examples: ~/bin/vi, $SOME_ENVIRONMENT_VARIABLE,
>> "C:\Program Files\Vim\gvim.exe" --nofork. The order of preference is the
>> $GIT_EDITOR environment variable, then core.editor configuration, then
>> $VISUAL, then $EDITOR, and then the default chosen at compile time,
>> which is usually vi.
>>
>>
>> So maybe
>>
>>     git config --global core.editor "nano"
>>
>> helps in your case?
Previous: John RoodNext: Junio C Hamano
Message 4 of 14 in “feature request”
  1. John RoodOct 27, 2016
  2. Stefan BellerOct 27, 2016
  3. John RoodOct 27, 2016
  4. John RoodOct 27, 2016
  5. Junio C HamanoOct 27, 2016
  6. John RoodOct 27, 2016
  7. Junio C HamanoOct 27, 2016
  8. John RoodOct 27, 2016
  9. Stefan BellerOct 27, 2016
  10. John RoodOct 27, 2016
  11. Junio C HamanoOct 27, 2016
  12. David LangOct 27, 2016
  13. Johannes SchindelinOct 28, 2016
  14. Philip OakleyOct 28, 2016

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.