[Qt-creator] [VCS][Git] Revert chunk does not work

Alexander Drozdov adrozdoff at gmail.com
Thu Feb 19 13:30:09 CET 2015


2015-02-19 19:54 GMT+10:00 Orgad Shaneh <orgads at gmail.com>:
> On Thu, Feb 19, 2015 at 11:41 AM, Alexander Drozdov <adrozdoff at gmail.com>
> wrote:
>> I use Git and try to revert chunk and got next error:
>> ~~~
>> Executing in /home/alexd/programming/someprog-git: /usr/bin/patch -p0 -R
>> patching file Common/Common.cpp
>> Hunk #1 FAILED at 38 (different line endings).
>> 1 out of 1 hunk FAILED -- saving rejects to file Common/Common.cpp.rej
>>
>> "/usr/bin/patch" failed (exit code 1).
>> ~~~
>
> Hi,
>
> Do you have "Ignore Whitespace" enabled? This is likely to fail revert when
> there are WS changes.

Hi, Orgad

Yes, this option is turned on. I turn it off but issue still present.

-- 
WBR, Alexander Drozdov
http://htrd.su



More information about the Qt-creator mailing list