Re: [PATCH 0/3] commit-graph: write non-split graphs as read-only
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 20, 2020, 23:23 UTC
- Message-ID
- <xmqq5zdtrbby.fsf@gitster.c.googlers.com>
- In-Reply-To
- <cover.1587422630.git.me@ttaylorr.com>
Taylor Blau <me@ttaylorr.com> writes:
Show 5 quoted lines
> The first two patches set this up, and the third patch uses it in > commit-graph.c, and corrects some test fallout. Eventually, we may want > to take another look at all of this and always create lockfiles with > permission 0444, but that change is much larger than this one and could > instead be done over time.
So,... is the problem that this did not follow the common pattern of creating (while honoring umask) and then call adjust_shared_perm(), which I thought was the common pattern for files in $GIT_DIR/?