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

Re: question about COMMIT_EDITMSG crlf

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 14, 2009, 07:04 UTC
Message-ID
<7vr6365px1.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1976ea660901132117l7947157fw2922465a9b3945dc@mail.gmail.com>
"Frank Li" <lznuaa@gmail.com> writes:
> I want to use notepad replace default vim at commit message editor.
> git commit will create COMMIT_EDITMSG at .git directory. This file is
> unix text mode.
> Is there any config change it to windows text mode?

Nothing I can think of, other than using customized commit templates, which I suspect is a bit overkill and at the same time misses the point for this use case.

Previous: Frank LiNext: Johannes Sixt
Message 2 of 4 in “question about COMMIT_EDITMSG crlf”
  1. Frank LiJan 14, 2009
  2. Junio C HamanoJan 14, 2009
  3. Johannes SixtJan 14, 2009
  4. Juanma BarranqueroJan 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.