From: Junio C Hamano <gitster@pobox.com>
To: Dennis Kaarsemaker <dennis@kaarsemaker.net>
Cc: Christoph Anton Mitterer <calestyo@scientia.net>, git@vger.kernel.org
Subject: Re: [cosmetic bug?] needlessly(?) executable files
Date: Mon, 23 Feb 2015 10:55:57 -0800 [thread overview]
Message-ID: <xmqqoaoktq2q.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <1424679663.30155.30.camel@kaarsemaker.net> (Dennis Kaarsemaker's message of "Mon, 23 Feb 2015 09:21:03 +0100")
Dennis Kaarsemaker <dennis@kaarsemaker.net> writes:
> On zo, 2015-02-22 at 10:44 -0800, Junio C Hamano wrote:
>> Christoph Anton Mitterer <calestyo@scientia.net> writes:
>>
>> > Just a question about files like:
>> > .git/config
>> > .git/hooks/*.sample
>> >
>> > Is there any reason that these are created executable? Especially
>> the
>> > config file?
>>
>> In a new repository I just did "git init", I see this:
>>
>> $ rm -fr stupid
>> $ umask 0027
>> $ git init stupid
>> $ ls -l stupid/.git/config | sed -e 's/ .*//'
>> -rw-r-----
>>
>> So no, config is not created executable.
>
> It used to be for a brief period in history, between daa22c6f8d (2.1.0)
> and 1f32ecf (2.2.2).
Ahh, yes, I think we fixed that bug not too long ago.
Thanks for reminding me.
prev parent reply other threads:[~2015-02-23 18:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-21 17:48 [cosmetic bug?] needlessly(?) executable files Christoph Anton Mitterer
2015-02-22 18:44 ` Junio C Hamano
2015-02-23 8:21 ` Dennis Kaarsemaker
2015-02-23 13:08 ` Christoph Anton Mitterer
2015-02-23 18:55 ` Junio C Hamano [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqoaoktq2q.fsf@gitster.dls.corp.google.com \
--to=gitster@pobox.com \
--cc=calestyo@scientia.net \
--cc=dennis@kaarsemaker.net \
--cc=git@vger.kernel.org \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.