Ramsay Jones <ram...@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.

Reply via email to