From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C572520945523 for ; Thu, 8 Jun 2017 00:48:19 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jun 2017 00:49:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,313,1493708400"; d="scan'208";a="111854279" Received: from shwdeopenpsi014.ccr.corp.intel.com ([10.239.9.13]) by fmsmga005.fm.intel.com with ESMTP; 08 Jun 2017 00:49:27 -0700 From: Hao Wu To: edk2-devel@lists.01.org Cc: Hao Wu , Liming Gao , Jordan Justen Date: Thu, 8 Jun 2017 15:49:22 +0800 Message-Id: <20170608074924.12900-1-hao.a.wu@intel.com> X-Mailer: git-send-email 2.12.0.windows.1 Subject: [PATCH 0/2] Some refines to BaseTools/PatchCheck.py X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2017 07:48:20 -0000 The following two refinements are made to PatchCheck.py: a. Resolves misreport of 'Patch format error: diff found after end of patch', when a patch file contains a binary file change and any other changes after the binary change. b. Adds detection of adding new binary files in a patch file or in a commit. Cc: Liming Gao Cc: Jordan Justen Hao Wu (2): BaseTools/PatchCheck.py: Fix misreport for binary changes in patch BaseTools/PatchCheck.py: Add warning info for new binary files BaseTools/Scripts/PatchCheck.py | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) -- 2.12.0.windows.1