From: "SZEDER Gábor" <szeder@ira.uka.de>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: "SZEDER Gábor" <szeder@ira.uka.de>,
"Yaroslav Halchenko" <yoh@onerussian.com>,
git@vger.kernel.org
Subject: Re: git leaves behind .git/COMMIT_EDITMSG non-shared in --shared non-bare repo
Date: Sat, 19 Dec 2015 13:40:04 +0100 [thread overview]
Message-ID: <1450528804-669-1-git-send-email-szeder@ira.uka.de> (raw)
In-Reply-To: <alpine.DEB.2.20.1512191137450.6483@virtualbox>
> 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. In fact, not deleting it seems to
be the desired bahavior, because many tests in t7502-commit.sh depend
on this file still being present after a successful 'git commit'.
Gábor
next prev parent reply other threads:[~2015-12-19 12:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-18 19:55 git leaves behind .git/COMMIT_EDITMSG non-shared in --shared non-bare repo Yaroslav Halchenko
2015-12-19 10:40 ` Johannes Schindelin
2015-12-19 12:40 ` SZEDER Gábor [this message]
2015-12-19 18:24 ` Johannes Schindelin
2015-12-19 15:01 ` Yaroslav Halchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1450528804-669-1-git-send-email-szeder@ira.uka.de \
--to=szeder@ira.uka.de \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=yoh@onerussian.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).