Re: [PATCH] add: add --chmod=+x / --chmod=-x options
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 27, 2016, 06:36 UTC
- Message-ID
- <xmqqoa7sroru.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20160527044112.GA31742@zoidberg>
Edward Thomson <ethomson@edwardthomson.com> writes:
Show 7 quoted lines
> 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.