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

Re: git leaves behind .git/COMMIT_EDITMSG non-shared in --shared non-bare repo

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 19, 2015, 18:24 UTC
Message-ID
<alpine.DEB.2.20.1512191923220.6483@virtualbox>
In-Reply-To
<1450528804-669-1-git-send-email-szeder@ira.uka.de>
Hi Gábor,
On Sat, 19 Dec 2015, SZEDER Gábor wrote:
Show 10 quoted lines
> > On Fri, 18 Dec 2015, Yaroslav Halchenko wrote:
> > 
> > > Not sure for what batch operations that file is actually useful,
> > 
> > None. This file is written when you commit interactively. It is deleted
> > afterwards, unless aborted in a fatal manner.
> 
> Is it?  I have a COMMIT_EDITMSG lying around in just about every git
> repository I have and couldn't find any unlink() in builtin/commit.c
> or elsewhere that would remove it.
Oops. My mistake. Patch sent.

Ciao, Dscho

Previous: SZEDER GáborNext: Yaroslav Halchenko
Message 4 of 5 in “git leaves behind .git/COMMIT_EDITMSG non-shared in --shared non-bare repo”
  1. Yaroslav HalchenkoDec 18, 2015
  2. Johannes SchindelinDec 19, 2015
  3. SZEDER GáborDec 19, 2015
  4. Johannes SchindelinDec 19, 2015
  5. Yaroslav HalchenkoDec 19, 2015

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.