You can try whether setting the column limit to 0 is close enough to want
you are looking for. It will still do other changes if it thinks the
current line breaks are bad..
On Nov 22, 2013 5:51 PM, "David Blaikie" <[email protected]> wrote:

>
>
> On Fri, Nov 22, 2013 at 5:02 AM, Björn Töpel <[email protected]>wrote:
>
>> I have a code project that I'd like to re-indent using
>> clang-format,however, in order not to break the history, I'd like to
>> make the tool *only* format horizontally (e.g. git log  -b -w will
>> just ignore the re-indentation commit).
>>
>> So it would be a "best effort" re-indent - doing the best it can, but
>> only horizontally (still removing extra spaces in parenthesis pair
>> etc.)
>>
>> Is this possible?
>
>
> No - that's not an existing feature of clang-format. It might be an
> interesting one to consider adding, though.
>
_______________________________________________
cfe-users mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users

Reply via email to