Re: [PATCH docs-next] scripts/kernel-doc: reindent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2/8/24 23:31, Vegard Nossum wrote:
> On 09/02/2024 04:49, Randy Dunlap wrote:
>> On 2/8/24 08:17, Vegard Nossum wrote:
>>> Bite the bullet and reindent it by hand. I tried using both perltidy
>>> and vim, but neither of them were up to the task without changing too
>>> much or getting confused about what they were supposed to be doing.
>>>
>> I'm not verifying that the changes are whitespace only, but this change
>> needs to be done.
>>
>> The only downside of it for me is finding what commit to blame for
>> a Fixes: tag. I have no good skills for doing that.
> 
> Probably the easiest is to use "git blame -w scripts/kernel-doc", where
> the -w is "ignore whitespace changes", meaning it will successfully
> traverse history past this patch and attribute lines to the correct
> commit.
> 
> You can also use GitHub:
> 
> https://github.com/torvalds/linux/blame/master/scripts/kernel-doc
> 
> If the specific line you are looking at gets attributed to the reindent
> commit you can click on the "blame prior to change" link just next to
> the line numbers (it looks a bit like this: [[[ ]) and that will give
> you a view of the file before the reindent.

Thanks for all that useful info. :)

-- 
#Randy




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux