From patchwork Tue May 28 12:08:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Oakley X-Patchwork-Id: 10964805 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7E49976 for ; Tue, 28 May 2019 12:08:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FBBD22B39 for ; Tue, 28 May 2019 12:08:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 62ED02838B; Tue, 28 May 2019 12:08:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4E6C22B39 for ; Tue, 28 May 2019 12:08:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726824AbfE1MI5 (ORCPT ); Tue, 28 May 2019 08:08:57 -0400 Received: from smtp-out-5.talktalk.net ([62.24.135.69]:27569 "EHLO smtp-out-5.talktalk.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726620AbfE1MI5 (ORCPT ); Tue, 28 May 2019 08:08:57 -0400 Received: from localhost.localdomain ([78.148.161.28]) by smtp.talktalk.net with SMTP id VauUh2dGYWIpcVauUh6wip; Tue, 28 May 2019 13:08:54 +0100 X-Originating-IP: [78.148.161.28] X-Spam: 0 X-OAuthority: v=2.3 cv=W6NGqiek c=1 sm=1 tr=0 a=ujKALdKAi7z8notBBWqKeA==:117 a=ujKALdKAi7z8notBBWqKeA==:17 a=xtxXYLxNAAAA:8 a=aulWLQ49AAAA:20 a=bt3WUTiwAAAA:8 a=bMbd_MaA56Wz9_IoiEkA:9 a=_Qo28uX402cA:10 a=xts0dhWdiJbonKbuqhAr:22 a=OXx4ngWzwLx9h_IvVXMu:22 From: Philip Oakley To: GitList Cc: Jeff Hostetler , Johannes Schindelin Subject: [PATCH] compat/vcbuild/README: clean/update 'vcpkg' env for Visual Studio updates Date: Tue, 28 May 2019 13:08:46 +0100 Message-Id: <20190528120846.1056-1-philipoakley@iee.org> X-Mailer: git-send-email 2.22.0.rc1.windows.1.33.gc7da05f206 MIME-Version: 1.0 X-CMAE-Envelope: MS4wfCdUkiduSiB+HGzPresshz+VbhIeRDD6S2JYY99RhiBscJUdR0y9d0mDrjyh8rpB4xh7tX3MWrm7WXcxmW60V6THR+L5Ck+7JJ452VWMUwGCjEaTe60M O53TG2d8Vth/dOdRaCygfF2zA59DIHqig60PoNhViKJ+dCpEPpiPMM+afPjN1IDz771OaBSlPyqOG0Y5FrLn150x1p5IQgJCiZ+Gw8Z7jPubUL36cSo+c9Yd ht+b1rGSBPvphPc7gc57YA== Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP When the user installs an updated version of Visual Studio, the previously generated MSVC-DEFS-GEN will need to be deleted to allow updating. Alternatively the whole vcpkg download may be cleaned allowing it to be reloaded, though this may take much longer on slower connections. Signed-off-by: Philip Oakley --- In response to discussions at: https://github.com/git-for-windows/git/issues/2186 cc: Jeff Hostetler cc: Johannes Schindelin compat/vcbuild/README | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/compat/vcbuild/README b/compat/vcbuild/README index 81da36a93b..40695fc1cc 100644 --- a/compat/vcbuild/README +++ b/compat/vcbuild/README @@ -18,6 +18,13 @@ The Steps to Build Git with VS2015 or VS2017 from the command line. Makefile: /compat/vcbuild/MSVC-DEFS-GEN + - If you update your Visual Studio version, then delete the MSVC-DEFS-GEN + file so that fresh environment variables can be discovered. + + Or clean the "vcpkg" environment with: + + $ make MSVC=1 clean + 2. OPTIONALLY copy the third-party *.dll and *.pdb files into the repo root to make it easier to run and debug git.exe without having to manipulate your PATH. This is especially true for debug sessions in