From nobody Sun Feb 8 23:32:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+61099+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+61099+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1591827267; cv=none; d=zohomail.com; s=zohoarc; b=jHOcJSLZkPvOzUZkRR+E02giOxLhVDIR36ia+FsYE5q6xp17WYLEPDWEyZ1uJJOmq2Vh61OeCKr+/nrB3q2bRw671csjBDxtvYxo5U5PaL5IkoKPLXqSp2SsvAvW+RM9mIvcmOx8vGEOIsb3tygMQOK2t3H+sPUtdBV1aPoJVws= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591827267; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=q3EjuLiMLPPYSfMa/fsdF80ghXaJWIJ8Xp+0eq24d70=; b=Xx0GM93LovPg/i1zaTOfTwqn7L0Y84sAS5ta9O9dV2QkC44w9zDBnjrhIhsOKjLPq8SPfs87ZbKBIJWVqYEsU1OYD61345QExVkMh3Zv2iwx6MVm3zULTiSK5tKVCXuv+pObQBNPStS9zpzNJAxC+IUs3y5bczioVtQ8MiCTYfI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+61099+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1591827267362409.71096428633075; Wed, 10 Jun 2020 15:14:27 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id Y9cEYY1788612xAyQKC4bzlf; Wed, 10 Jun 2020 15:14:27 -0700 X-Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web12.5859.1591827266064497558 for ; Wed, 10 Jun 2020 15:14:26 -0700 IronPort-SDR: 0xeHWRr3IOrj/vf7EiYb8xJXDmK4jxLAT3pqI/419L5YkjoTfBimKArqpt381rtMnt4/atPunU aMynfOSOlXyg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2020 15:14:25 -0700 IronPort-SDR: lot32NEC+7o6utHw8vfVK6XNhfSl7XgdyimWs7g7XH2vyhBsWM7WKtJX3qPP3vmeXm637h8Ott dnPOxetSL89w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,497,1583222400"; d="scan'208";a="289345850" X-Received: from sfp-ecbjorge.amr.corp.intel.com ([10.165.41.176]) by orsmga002.jf.intel.com with ESMTP; 10 Jun 2020 15:14:25 -0700 From: "Bjorge, Erik C" To: devel@edk2.groups.io Cc: Ashley E Desimone , Nate DeSimone , Puja Pandya , Bret Barkelew , Prince Agyeman Subject: [edk2-devel] [edk2-staging/EdkRepo] [PATCH v2 1/3] EdkRepo: Add force flag when removing submodules Date: Wed, 10 Jun 2020 15:13:53 -0700 Message-Id: <9eacb6be0293ca7629748a0b95e7dd9489fa1440.1591827056.git.erik.c.bjorge@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,erik.c.bjorge@intel.com X-Gm-Message-State: Euu2ckbpx6djhi9FzkrraX7Kx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1591827267; bh=QY3i4OLcLc9k6UsCYJK2tcQDkkHutr8rNFfSjSgx/tE=; h=Cc:Date:From:Reply-To:Subject:To; b=UJ50QjggcJvT9HWzrprVstVCtvsCfdVerq8hgN4o6nPEWVlTu8l7UwdrssGus9aazpm sf5PnM53P5hig/qWAKawpeWGWyl1vPSJiaywxuCUt7iubw2wAyh/stWIDJdYHG7oxbTA6 a/YUiaWU0FzUTyxkh0Ur3IwGSquMNRcdGaE= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Submodules may generate un-tracked or modify files in the repo. when removing the submodule do so even with modifications. Cc: Ashley E Desimone Cc: Nate DeSimone Cc: Puja Pandya Cc: Bret Barkelew Cc: Prince Agyeman Cc: Erik Bjorge Signed-off-by: Erik Bjorge --- project_utils/submodule.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project_utils/submodule.py b/project_utils/submodule.py index 170629b..3d1b620 100644 --- a/project_utils/submodule.py +++ b/project_utils/submodule.py @@ -48,14 +48,14 @@ def _deinit(repo, submodules=3DNone, verbose=3DFalse): verbose - Enable verbose messages """ if submodules is None: - output_data =3D repo.git.execute(['git', 'submodule', 'deinit', '-= -all'], + output_data =3D repo.git.execute(['git', 'submodule', 'deinit', '-= f', '--all'], with_extended_output=3DTrue, with_s= tdout=3DTrue) display_git_output(output_data, verbose) else: for sub in submodules: if verbose: print(strings.SUBMOD_DEINIT_PATH.format(sub.path)) - output_data =3D repo.git.execute(['git', 'submodule', 'deinit'= , '--', sub.path], + output_data =3D repo.git.execute(['git', 'submodule', 'deinit'= , '-f', '--', sub.path], with_extended_output=3DTrue, wi= th_stdout=3DTrue) display_git_output(output_data, verbose) return --=20 2.27.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#61099): https://edk2.groups.io/g/devel/message/61099 Mute This Topic: https://groups.io/mt/74807384/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-