mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Deepak R Varma <drv@mailo.com>
To: linux-kernel@vger.kernel.org
Cc: joey.gouly@arm.com
Subject: Re: incorrect git diff output
Date: Sun, 8 Jan 2023 23:48:07 +0530	[thread overview]
Message-ID: <Y7sI36KCF8LRP8H0@ubun2204.myguest.virtualbox.org> (raw)
In-Reply-To: <Y7qA4o/JoWhfpvfk@ubun2204.myguest.virtualbox.org>

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



      reply	other threads:[~2023-01-08 18:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-08  8:37 Deepak R Varma
2023-01-08 18:18 ` Deepak R Varma [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y7sI36KCF8LRP8H0@ubun2204.myguest.virtualbox.org \
    --to=drv@mailo.com \
    --cc=joey.gouly@arm.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®