Re: [PATCH] add: add --chmod=+x / --chmod=-x options
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 27, 2016, 18:30 UTC
- Message-ID
- <xmqqmvnbqrov.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <xmqqoa7sroru.fsf@gitster.mtv.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 15 quoted lines
> Edward Thomson <ethomson@edwardthomson.com> writes: > >> However I do not think that this is a common enough action that it needs >> to be made automatic such that when I `git add foo.rb` it is >> automatically made executable. I think that the reduced complexity of >> having a single mechanism to control executability (that being the >> execute mode in the index or a tree) is preferable to a gitattributes >> based mechanism, at least until somebody else makes a cogent argument >> that the gitattributes approach would be helpful for them. :) > > It wasn't a "having to specify it every time sucks; you must do this > way instead" at all. I was just gauging if it would be a viable idea > for a follow-up series to complement your patch. > > Thanks.
Oh, having said all of that, the comments on the implementation still stand.