From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from zrleap.intel-email.com (zrleap.intel-email.com [114.80.218.36]) by mx.groups.io with SMTP id smtpd.web10.147499.1680741930856136069 for ; Wed, 05 Apr 2023 17:45:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@byosoft.com.cn header.s=cloud-union header.b=r0sr+jmb; spf=pass (domain: byosoft.com.cn, ip: 114.80.218.36, mailfrom: gaoliming@byosoft.com.cn) Received: from zrleap.intel-email.com (localhost [127.0.0.1]) by zrleap.intel-email.com (Postfix) with ESMTP id 41236A32E0D6 for ; Thu, 6 Apr 2023 08:45:27 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=byosoft.com.cn; s=cloud-union; t=1680741927; bh=LDYdbKQAzBAD7Zs7YLU5wc7DHEYExftry52tZHy4xcs=; h=From:To:References:In-Reply-To:Subject:Date; b=r0sr+jmbVaG2g2Kem1cBFyO6/m56jwE5AtnaZ8moJKeWKscCTVgtYva1t0wU6vMlv AyqyoXgYeMKPnuQZfhXSFRu5vj89JWftpqFPgxbAEfGyC361mHfUk2VnDDe2agAM2H 6DpbjERosSmwIENLKjTGB/I7XjwvlAsFENT1NNgE= Received: from localhost (localhost [127.0.0.1]) by zrleap.intel-email.com (Postfix) with ESMTP id 29F5EA32E082 for ; Thu, 6 Apr 2023 08:45:27 +0800 (CST) Received: from zrleap.intel-email.com (localhost [127.0.0.1]) by zrleap.intel-email.com (Postfix) with ESMTP id CE1B5A32E09A for ; Thu, 6 Apr 2023 08:45:26 +0800 (CST) Authentication-Results: zrleap.intel-email.com; none Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by zrleap.intel-email.com (Postfix) with SMTP id 83D93A32E082 for ; Thu, 6 Apr 2023 08:45:24 +0800 (CST) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Thu, 06 Apr 2023 08:45:17 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , References: <1d84af79-cd13-3d6a-1406-01f5206bb928@bsdio.com> In-Reply-To: <1d84af79-cd13-3d6a-1406-01f5206bb928@bsdio.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gUkZDOiBBZGRpbmcgYW4gYWxpYXMgdG8gZm9ybWF0IHBhdGNoZXMgd2l0aCAtLXN0YXQ9IGFuZCAtLXN0YXQtZ3JhcGgtd2lkdGg9?= Date: Thu, 6 Apr 2023 08:45:21 +0800 Message-ID: <00e101d96821$11163da0$3342b8e0$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIarcwauIHtBNGQRPDo76r/nh2QHa6a5k3Q Sender: "gaoliming" Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Rebecca: I think this is a good solution to setup Edk2 development environment.=20 Thanks Liming > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > =E5=8F=91=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io = =E4=BB=A3=E8=A1=A8 Rebecca Cran > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2023=E5=B9=B44=E6=9C=886=E6=97=A5 4= :54 > =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io > =E4=B8=BB=E9=A2=98: [edk2-devel] RFC: Adding an alias to format patches w= ith --stat=3D and > --stat-graph-width=3D >=20 > I've noticed several patches recently which has ellipses at the start of > the diffstat filenames. >=20 > When I started contributing to edk2 I remember being asked to always use > --stat=3D1000 --stat-graph-width=3D20 to avoid that problem: it's mention= ed > in > https://github.com/tianocore/tianocore.github.io/wiki/Laszlo%27s-unkempt- > git-guide-for-edk2-contributors-and-maintainers. >=20 > I was wondering if we might want to introduce an alias via SetupGit.py > to add those parameters automatically? >=20 > For example: >=20 > diff --git a/BaseTools/Scripts/SetupGit.py b/BaseTools/Scripts/SetupGit.p= y > index 91814199bf..901d2025ab 100644 > --- a/BaseTools/Scripts/SetupGit.py > +++ b/BaseTools/Scripts/SetupGit.py > @@ -82,6 +82,7 @@ OPTIONS =3D [ > {'section': 'sendemail', 'option': 'chainreplyto', 'value': False= }, > {'section': 'sendemail', 'option': 'thread', 'value': True}, > {'section': 'sendemail', 'option': 'transferEncoding', 'value': > '8bit'}, > + {'section': 'alias', 'option': 'fp', 'value': 'format-patch > -M --stat=3D1000 --stat-graph-width=3D20'},^M > ] >=20 >=20 > -- > Rebecca Cran >=20 >=20 >=20 >=20 >=20