Skip to content

mingw: use CreateHardLink() directly - #77

Closed
dscho wants to merge 1 commit into
gitgitgadget:masterfrom
dscho:mingw-CreateHardLink
Closed

dscho wants to merge 1 commit into
gitgitgadget:masterfrom
dscho:mingw-CreateHardLink

Conversation

@dscho

@dscho dscho commented Nov 13, 2018

Copy link
Copy Markdown
Member

This is another tidbit from the stash of Git for Windows' patches: it avoids loading the function address of CreateHardLink() at runtime. This was done in case we were running on a Windows version that does not support that function, but we no longer support any of these Windows versions.

The function `CreateHardLink()` is available in all supported Windows
versions (even since Windows XP), so there is no more need to resolve it
at runtime.

Helped-by: Max Kirillov <max@max630.net>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho mentioned this pull request Nov 13, 2018
35 tasks done
@dscho

dscho commented Nov 13, 2018

Copy link
Copy Markdown
Member Author

/submit

@gitgitgadget

gitgitgadget Bot commented Nov 13, 2018

Copy link
Copy Markdown

Submitted as pull.77.git.gitgitgadget@gmail.com

@gitgitgadget

gitgitgadget Bot commented Dec 15, 2018

Copy link
Copy Markdown

This branch is now known as js/mingw-create-hard-link.

@gitgitgadget

gitgitgadget Bot commented Dec 15, 2018

Copy link
Copy Markdown

This patch series was integrated into pu via git@c56aa1d.

@gitgitgadget

gitgitgadget Bot commented Dec 15, 2018

Copy link
Copy Markdown

This patch series was integrated into next via git@c56aa1d.

@gitgitgadget

gitgitgadget Bot commented Dec 15, 2018

Copy link
Copy Markdown

This patch series was integrated into master via git@c56aa1d.

@gitgitgadget

gitgitgadget Bot commented Dec 15, 2018

Copy link
Copy Markdown

This patch series was integrated into maint via git@c56aa1d.

@gitgitgadget

gitgitgadget Bot commented Dec 15, 2018

Copy link
Copy Markdown

Closed via c56aa1d.

@gitgitgadget gitgitgadget Bot closed this Dec 15, 2018
@dscho
dscho deleted the mingw-CreateHardLink branch December 15, 2018 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant