Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5219570rwl; Sun, 8 Jan 2023 10:39:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXsPChGPWnFC841qK/2yKjeY4w0KqVD/8yqn2/aMQ6fJyR2+GPM6l/4GT3pjgC8HYnZRmHWT X-Received: by 2002:a17:906:148a:b0:7cd:dbe8:e4f7 with SMTP id x10-20020a170906148a00b007cddbe8e4f7mr52715275ejc.77.1673203158230; Sun, 08 Jan 2023 10:39:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673203158; cv=none; d=google.com; s=arc-20160816; b=TUT+ZJQiPiw4cXKLg65PQtGehhL4iA5dg3RVDNPvD+TsGL9TsbQHuxHJZnBxn77DWO UAo3zt39S3OydrxJtvP1hMDYBVwGJycIKzppY9sCg8ipOFuy8sfYtW2FxmUElfH/46A0 3A66igAyTS2NN3KYhgmkdrfC/sgutG7uf6esZjoME/xu20YOEf+4Jx7ijlhErWO+hIrP uG7b8jWcL6A2fvKKkk5UbypXVPR97CG/1GM3LJjj93FSRfo2LxwShowysjuAJRbij91x fe9IQcI7TXbOOtxRVqKWhLGuE2Bf493A5OsIMg9Wd+PPS/RwBRY3inr8jynBgESoC2ng D6eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EyqtBtsMjKb0jgRqLLyeaPrl3tR/up8vfJZ+PX5gOg0=; b=csWLFJ2mjRGNM/pdwFjDhCS1fE6Ysw18FN09xuLin2yp+zpUgk/oALm+JhAn0EP9Uz LOue4Z5BjeIOua1BouLXdD2ndDu7oOvXUElgGNBpZ1Ib+K5schN2KaqWFjUOLw6nac1X 9+NfRd2uKVNKVW1z//B4FV2GyLTuFXTyH4KbE1+JDhM1KiKuFUMbp2pP+zpNf+ZhWReS 1s4yK/Msfpc1U2HI+ELVvwe9VlEV3KZQOVVKd0aH9do9gon4kJdOckbaRj1bAMRVHIfj MZLJlNMbfr2u+d9n5aH3Kw+W15ZjhekkGR9qiDvPCIfLp1qqhSxcP1a2doX+9SXce6ZJ WvHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b=nOidRUIv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mailo.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gt33-20020a1709072da100b007c151fc73d0si9065118ejc.653.2023.01.08.10.39.06; Sun, 08 Jan 2023 10:39:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b=nOidRUIv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mailo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236333AbjAHSS1 (ORCPT + 51 others); Sun, 8 Jan 2023 13:18:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233687AbjAHSSQ (ORCPT ); Sun, 8 Jan 2023 13:18:16 -0500 Received: from msg-1.mailo.com (msg-1.mailo.com [213.182.54.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA52662DA for ; Sun, 8 Jan 2023 10:18:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1673201891; bh=IgoNEV5yFSKde2udFiWluKLPJ7OsKHGGrG8yniFDmj0=; h=X-EA-Auth:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=nOidRUIvUN+iZDj0pPD/4vHl88ihXA7bhBSMXZoW6266vijwv5pIN8dTopgSLU5bI D+a868RRIN+5twMOajHYXzywxq4tzcMSwN53ml/LYYvO68t4f2zKHNg6KgRePLLxFV 0ksX2YGlJo6b9jkEi9iXvbqTbAwfiIlYPxjv1mqU= Received: by b-6.in.mailobj.net [192.168.90.16] with ESMTP via ip-206.mailobj.net [213.182.55.206] Sun, 8 Jan 2023 19:18:11 +0100 (CET) X-EA-Auth: uSLRv9qm1A2QZhhWGvwGYiljfDZ+2JdiWqJ2qFwUVf6G/CL13xgh6G4tdbTTguHIluCGKvFQHETRz297YmTXSFuT/a4VFyRv Date: Sun, 8 Jan 2023 23:48:07 +0530 From: Deepak R Varma To: linux-kernel@vger.kernel.org Cc: joey.gouly@arm.com Subject: Re: incorrect git diff output Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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