* incorrect git diff output
@ 2023-01-08 8:37 Deepak R Varma
2023-01-08 18:18 ` Deepak R Varma
0 siblings, 1 reply; 2+ messages in thread
From: Deepak R Varma @ 2023-01-08 8:37 UTC (permalink / raw)
To: linux-kernel; +Cc: Deepak R Varma
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?
Thank you,
./drv
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: incorrect git diff output
2023-01-08 8:37 incorrect git diff output Deepak R Varma
@ 2023-01-08 18:18 ` Deepak R Varma
0 siblings, 0 replies; 2+ messages in thread
From: Deepak R Varma @ 2023-01-08 18:18 UTC (permalink / raw)
To: linux-kernel; +Cc: joey.gouly
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-08 18:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-08 8:37 incorrect git diff output Deepak R Varma
2023-01-08 18:18 ` Deepak R Varma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®