On 24 July 2011 17:09, Avner Ben Hanoch <avnerb mellanox com> wrote:
> Hi Kai,
>
> Thanks for the explanation. Meanwhile, I was able to find the cause
> of the problem (I think).
>
> My analysis, is that the meld failure was probably because the content
> of the file was not really changed, only its permissions were changed (I
> think from 644 to 755).
Git doesn't record any permissions changes other than the exec bit, so yes, it must have been 644 to 755 or vice-versa.
> As a result, "git diff" reported to meld that this file has been changed;
> however, patch, couldn't handle the change, because the change was
> only in permissions. This probably caused meld to present the error I
> sent you.
>
> The scenario was:
> 1. invoking: meld . &
> 2. double clicking the line of the *.sh (that was only changed in
> permissions)
> 3. getting the error message I sent you.
>
> I would think that this scenario is not very rare. Hence, if you think
> this analysis is wrong, then, please let me know, and I'll do my best
> to reproduce it for you.
That looks right to me, and I can reproduce this problem here. Can you please file a bug?
cheers,
Kai