Re: [PATCH] diff: correct newline in summary for renamed files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 28, 2017, 04:14 UTC
- Message-ID
- <xmqq8tgz31eo.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <094ebbd4-1bc6-8360-222f-55a4a16a6ca3@ramsayjones.plus.com>
Ramsay Jones <ramsay@ramsayjones.plus.com> writes:
>> + git checkout -b mode initial && >> + git update-index --chmod=+x file0 && > > would 'test_chmod +x file0 &&' work here?
This one wants to set +x only in the index, leaving the working tree version without the executable bit. test_chmod is about setting both, so it would do something different from what we want to do here.