Re: [PATCH v2 2/2] Handle more file writes correctly in shared repos
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 11, 2016, 09:28 UTC
- Message-ID
- <alpine.DEB.2.20.1601111018550.2964@virtualbox>
- In-Reply-To
- <xmqqbn8w2brm.fsf@gitster.mtv.corp.google.com>
Hi Junio,
On Fri, 8 Jan 2016, Junio C Hamano wrote:
Show 5 quoted lines
> I think it is correct not to touch this codepath in this patch, > because of the above two reasons, but more simply and generally, it > is correct not to touch this codepath because core.sharedRepository > is not about working tree files, and .rej is a file you use in your > working tree.
I am happy to adjust the log message, but I am pretty certain that the `core.sharedRepository` setting actually also affects the working tree. At least in my hands, calling
git clone -c core.sharedRepository=group . test-shared
results in all of the working tree files being group-writable.
Therefore I am not convinced this is a sound line of reasoning.
Ciao, Dscho