Re: [PATCH] commit: ensure correct permissions of the commit message
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 15, 2016, 12:18 UTC
- Message-ID
- <alpine.DEB.2.20.1601151317360.2964@virtualbox>
- In-Reply-To
- <20160115115100.Horde.QlNwKM_-9TZQXszPUgP2qz3@webmail.informatik.kit.edu>
Hi Gábor,
On Fri, 15 Jan 2016, SZEDER Gábor wrote:
Show 20 quoted lines
> Quoting Junio C Hamano <gitster@pobox.com>: > > >SZEDER Gábor <szeder@ira.uka.de> writes: > > > > >Quoting Junio C Hamano <gitster@pobox.com>: > > > > > > >Actually, we do not even _need_ a sharedness for this ephemeral > > > >file. The additional "adjust-shared-perm" is merely a workaround > > > >for the fact the next person cannot write into it when it is left > > > >behind, and because we do not want to remove it when we are done. > > > > > >Do we really want to keep such a file after we are done? > > > >There is no strong reason we should want to remove them, either. > > > >As long as the lazy garbage collection works, there is no incentive > >to change things. > > I'm not sure what you mean by "lazy garbage collection"; I suppose not > that I sometimes delete a stale COMMIT_EDITMSG or two by hand...
You do not delete a stale COMMIT_EDITMSG *by hand*, but essentially it is deleted the next time you commit.
Ciao, Dscho