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

Re: feature request

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 27, 2016, 22:27 UTC
Message-ID
<xmqq1sz15swv.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CALj-rGfsy+KA=dsd+wobMiVOWHK1GU=dZRcQWtMoXwtBrMYPLg@mail.gmail.com>
John Rood <mr.john.rood@gmail.com> writes:
Show 5 quoted lines
> 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.

Nobody stops you from writing a "type whatever you want; I won't let you edit any mistakes as I am not even a text editor; just hit RETURN when you are done, as you can only write a single line" program and set it as your GIT_EDITOR.

I do not know what would happen when you need "git commit --amend", though.

Previous: John RoodNext: John Rood
Message 5 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.