lkml.org 
[lkml]   [2023]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: incorrect git diff output
On Sun, Jan 08, 2023 at 02:07:54PM +0530, Deepak R Varma wrote:
> Hello,
> I tried to remove an extra semicolon on line number 1153 of this file
> drivers/scsi/qlogicpti.c and attempted a git diff to confirm my edits. To my
> surprise, the diff contained few other unrelated changes that I did not do. I
> tied to set aurocr git attribute in the .gitconfig file, but that did not help
> either.
>
> Does anyone know about this behavior and how to correct it?


I had a setting in my .vimrc which auto-removes trailing spaces. Joey helped me
identify the same.

Thank you Joey!

Regards,
./drv

>
> Thank you,
> ./drv


\
 
 \ /
  Last update: 2023-03-26 23:32    [W:0.027 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site