Skip to content

Conversation

PhilipOakley
Copy link

While testing out the vs/master branch that should provide a ready-to-go git.sln for compilation with
Visual Studio, I hit a couple of snags.

These ultimately were problems with my local installation, but the sln compilation should offer extra guidance if users fall into the same trap.

The compilation stage that uses the vcpkg download can also fail on slow networks, so a batch file remark is included to inform users who follow-up the error message.

The fixes #2349 (in conjunction with git-for-windows/build-extra#258).

Signed-off-by: Philip Oakley [email protected]

The vcpkg_install batch file depends on the availability of a
working Git on the CMD path. This may not be present if the user
has selected the 'bash only' option during Git-for-Windows install.

Detect and tell the user about their lack of a working Git in the CMD
window.

Fixes git-for-windows#2348.
A separate PR git-for-windows/build-extra#258
now highlights the recommended path setting during install.

Signed-off-by: Philip Oakley <[email protected]>
Copy link
Member

@dscho dscho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the indentation I pointed out, this looks good!

The vcpkg downloads may not succeed. Warn careful readers of the time out.

A simple retry will usually resolve the issue.

Signed-off-by: Philip Oakley <[email protected]>
Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho merged commit cd9994f into git-for-windows:master Oct 7, 2019
@dscho dscho added this to the v2.23.0(2) milestone Oct 7, 2019
git-for-windows-ci pushed a commit that referenced this pull request Oct 7, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 7, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 7, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 7, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 9, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 9, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 9, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 11, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Oct 11, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Oct 11, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Oct 12, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 15, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 15, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Oct 15, 2019
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Sep 29, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Sep 30, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Sep 30, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 2, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 2, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Oct 2, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 3, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 3, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 5, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 5, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 5, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 6, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 6, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 6, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Oct 7, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
dscho added a commit that referenced this pull request Oct 7, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 7, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 7, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 7, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 8, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 8, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 8, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 8, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 8, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 8, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 8, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 10, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 10, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 10, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
git-for-windows-ci pushed a commit that referenced this pull request Oct 10, 2025
Vcpkg Install: detect lack of working Git, and note possible vcpkg time outs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vs/master not building when install-option "Path Option: BashOnly" in use (probably)

3 participants