forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins #3056
Merged
dscho
merged 2 commits into
git-for-windows:main
from
dscho:cmake-and-skip-dashed-built-ins
Mar 5, 2021
Merged
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins #3056
dscho
merged 2 commits into
git-for-windows:main
from
dscho:cmake-and-skip-dashed-built-ins
Mar 5, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
derrickstolee
changed the title
Teach our CMake configurataion to optionally skip hard-linking the dashed built-ins
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
Feb 25, 2021
This is interesting, thanks! Let me know if I can be of any help here 🚀 |
Just like the Makefile-based build learned to skip hard-linking the dashed built-ins in 179227d (Optionally skip linking/copying the built-ins, 2020-09-21), this patch teaches the CMake-based build the same trick. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The archive and MinGit variants really get bloated because they handle those as straight copies instead of hard-links. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho
force-pushed
the
cmake-and-skip-dashed-built-ins
branch
from
March 5, 2021 11:43
26a72f4
to
e02b3c2
Compare
The corresponding contribution to the Git mailing list will wait until after Git v2.31.0 was released: gitgitgadget#887 |
git-for-windows-ci
pushed a commit
that referenced
this pull request
Mar 5, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Mar 5, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Mar 5, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Mar 5, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Mar 6, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Mar 6, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Mar 6, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Mar 6, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Mar 8, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Mar 8, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Mar 8, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Mar 8, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Mar 8, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
to dscho/git
that referenced
this pull request
Mar 9, 2021
…hed-built-ins Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Mar 10, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Mar 10, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Mar 10, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Mar 10, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Mar 10, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Mar 10, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Aug 2, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
to dscho/git
that referenced
this pull request
Aug 3, 2021
…hed-built-ins Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Aug 3, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Aug 3, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Aug 3, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Aug 3, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Aug 4, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Aug 4, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Aug 4, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Aug 4, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Aug 4, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Aug 4, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Aug 6, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Aug 6, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Aug 6, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Aug 11, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Aug 13, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Aug 18, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Aug 23, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Aug 24, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Aug 31, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Sep 8, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Sep 13, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Oct 4, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Oct 12, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Oct 12, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
dscho
added a commit
that referenced
this pull request
Oct 13, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Oct 13, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Oct 13, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
git-for-windows-ci
pushed a commit
that referenced
this pull request
Oct 13, 2021
Teach our CMake configuration to optionally skip hard-linking the dashed built-ins
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The fact that
git-add.exe
(and over a hundred more commands) are still hard-linked inlibexec/git-core/
is more a historical than a useful thing. In particular when bundling MinGit, that's just useless weight, and we exclude it.Except in the ARM64 variant, as it is built via
git-artifacts
, it does not work: our CMake-based build did not know how to exclude the dashed built-ins, andmingit/release.sh
simply copies the entire ARM64 artifacts it was given, dashed built-ins or not.Let's teach our CMake configuration to be helpful in this instance, by optionally skip those usually unwanted files.