Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
d29a22e
t9350: point out that refs are not updated correctly
SRabbelier Jul 24, 2011
49db6d1
grep: prevent `^$` false match at end of file
peff Jan 13, 2025
d3f0b45
unix-socket: avoid leak when initialization fails
dscho Oct 30, 2024
96b40f8
transport-helper: add trailing --
SRabbelier Aug 29, 2010
50dc86f
Merge branch 'fixes-from-the-git-mailing-list'
dscho Jan 22, 2025
7689d12
win32/pthread: avoid name clashes with winpthread
dscho Oct 20, 2019
c41f901
hash-object: demonstrate a >4GB/LLP64 problem
PhilipOakley Oct 31, 2021
d93f1af
git-compat-util: avoid redeclaring _DEFAULT_SOURCE
dscho Aug 12, 2022
5432b99
vcbuild: install ARM64 dependencies when building ARM64 binaries
manbearian Feb 1, 2020
af2ad67
object-file.c: use size_t for header lengths
PhilipOakley Nov 12, 2021
90ac459
Import the source code of mimalloc v2.2.7
dscho Jan 16, 2026
7dae36f
vcbuild: add an option to install individual 'features'
manbearian Feb 4, 2020
9006c06
CMake: default Visual Studio generator has changed
PhilipOakley Jul 1, 2021
9ee55b5
hash algorithms: use size_t for section lengths
PhilipOakley Nov 12, 2021
517a7d8
mimalloc: adjust for building inside Git
dscho Jun 24, 2019
c564b58
mingw: demonstrate a `git add` issue with NTFS junctions
dscho Jan 31, 2020
3af3e75
cmake: allow building for Windows/ARM64
dennisameling Dec 4, 2020
6f49b1d
.gitignore: add Visual Studio CMakeSetting.json file
PhilipOakley Apr 24, 2021
4a038ab
hash-object --stdin: verify that it works with >4GB/LLP64
PhilipOakley Dec 6, 2021
dad6de3
remote-helper: check helper status after import/export
SRabbelier Jul 23, 2011
5c0a496
clean: do not traverse mount points
dscho Dec 7, 2018
3c71dee
mimalloc: offer a build-time option to enable it
dscho Jun 24, 2019
5746c22
strbuf_realpath(): use platform-dependent API if available
dscho Jan 31, 2020
235aa99
t5505/t5516: allow running without `.git/branches/` in the templates
dscho May 9, 2020
94654de
vcpkg_install: detect lack of Git
PhilipOakley Oct 6, 2019
8c9155f
ci(vs-build) also build Windows/ARM64 artifacts
dennisameling Nov 28, 2020
e40bffd
subtree: update `contrib/subtree` `test` target
vdye Aug 5, 2021
d5955f3
CMakeLists: add default "x64-windows" arch for Visual Studio
PhilipOakley Apr 22, 2021
ed1eec9
hash-object: add another >4GB/LLP64 test case
PhilipOakley Dec 6, 2021
84cfb3c
Always auto-gc after calling a fast-import transport
dscho Apr 9, 2012
1744e2d
mingw: prevent regressions with "drive-less" absolute paths
dscho Apr 18, 2017
ff56485
clean: remove mount points when possible
dscho Dec 11, 2018
99dbc46
mingw: include the Python parts in the build
dscho Feb 16, 2015
8e320b3
mingw: use mimalloc
dscho Jun 24, 2019
7832e63
transport: optionally disable side-band-64k
t-b May 8, 2014
fd371db
mingw: fix fatal error working on mapped network drives on Windows
bmueller84 Jan 22, 2020
71576a5
clink.pl: fix MSVC compile script to handle libcurl-d.lib
jeffhostetler Jan 30, 2020
2d8de2e
mingw: implement a platform-specific `strbuf_realpath()`
dscho Jan 31, 2020
98d2967
http: use new "best effort" strategy for Secure Channel revoke checking
dscho Mar 4, 2020
2302ad7
t5505/t5516: fix white-space around redirectors
dscho May 9, 2020
73d245a
t3701: verify that we can add *lots* of files interactively
dscho Sep 12, 2015
f9442fd
commit: accept "scissors" with CR/LF line endings
lbonanomi Jun 24, 2020
64a6757
t0014: fix indentation
jglathe Jun 2, 2020
51409cb
git-gui: accommodate for intent-to-add files
dscho Aug 12, 2020
c6458e9
vcpkg_install: add comment regarding slow network connections
PhilipOakley Oct 6, 2019
9011f49
Add schannel to curl installation
dennisameling Dec 6, 2020
9c1224b
cmake(): allow setting HOST_CPU for cross-compilation
dennisameling Jul 19, 2021
30bb486
mingw: allow for longer paths in `parse_interpreter()`
dscho Apr 2, 2021
b39843d
compat/vcbuild: document preferred way to build in Visual Studio
dscho May 17, 2021
04a9b77
http: optionally send SSL client certificate
pascalmuller Jun 23, 2021
5be1d9d
ci: run `contrib/subtree` tests in CI builds
vdye Aug 5, 2021
a68f852
CMake: show Win32 and Generator_platform build-option values
PhilipOakley May 10, 2021
babd214
mingw: stop hard-coding `CC = gcc`
dscho Nov 23, 2025
da394cb
mingw: drop the -D_USE_32BIT_TIME_T option
dscho Nov 21, 2025
9a47214
Merge branch 'dscho-avoid-d-f-conflict-in-vs-master'
dscho Apr 13, 2021
fe47406
mingw: only use -Wl,--large-address-aware for 32-bit builds
dscho Nov 21, 2025
8c11754
clink.pl: fix libexpatd.lib link error when using MSVC
jeffhostetler Mar 30, 2021
b4027bb
mingw: avoid over-specifying `--pic-executable`
dscho Nov 21, 2025
c7c1b54
Makefile: clean up .ilk files when MSVC=1
jeffhostetler Apr 5, 2021
395534a
mingw: set the prefix and HOST_CPU as per MSYS2's settings
dscho Nov 21, 2025
6099d8b
vcbuild: add support for compiling Windows resource files
jeffhostetler Apr 5, 2021
bd94d8d
mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
dscho Nov 21, 2025
c30955f
config.mak.uname: add git.rc to MSVC builds
jeffhostetler Apr 5, 2021
a27d773
http: optionally load libcurl lazily
dscho May 6, 2023
a1129a2
mingw: rely on MSYS2's metadata instead of hard-coding it
dscho Nov 21, 2025
b3bd69e
mingw: ensure valid CTYPE
dscho Feb 21, 2017
0a71d98
clink.pl: ignore no-stack-protector arg on MSVC=1 builds
jeffhostetler Apr 5, 2021
0663a80
http: support lazy-loading libcurl also on Windows
dscho May 7, 2023
baed826
survey: stub in new experimental 'git-survey' command
Apr 29, 2024
b67dc2e
setup: properly use "%(prefix)/" when in WSL
derrickstolee Apr 13, 2022
def6035
mingw: always define `ETC_*` for MSYS2 environments
dscho Nov 21, 2025
8460427
mingw: allow `git.exe` to be used instead of the "Git wrapper"
dscho Jan 31, 2020
0322187
clink.pl: move default linker options for MSVC=1 builds
jeffhostetler Apr 5, 2021
963ad46
http: when loading libcurl lazily, allow for multiple SSL backends
dscho May 7, 2023
b85acb0
survey: add command line opts to select references
Apr 29, 2024
851bac2
hash-object: add a >4GB/LLP64 test case using filtered input
PhilipOakley Dec 7, 2021
375ebc6
compat/mingw.c: do not warn when failing to get owner
derrickstolee Apr 13, 2022
22eb9a5
mingw: $env:TERM="xterm-256color" for newer OSes
rkitover Apr 12, 2022
8e69784
winansi: check result and Buffer before using Name
1480c1 May 28, 2022
3c6c944
Add config option `windows.appendAtomically`
sunzhuoshi Jan 15, 2022
5593190
mingw: change core.fsyncObjectFiles = 1 by default
dscho Sep 4, 2017
fd25a5a
MinGW: link as terminal server aware
rimrul Jul 10, 2022
7f7f065
Fix Windows version resources
Mortein Nov 2, 2022
6d30735
status: fix for old-style submodules with commondir
sceptical-coder Oct 28, 2022
2c88815
windows: skip linking `git-<command>` for built-ins
dscho Jan 27, 2023
147f2e5
max_tree_depth: lower it for clang builds in general on Windows
dscho Nov 21, 2025
0534896
mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system dire…
dscho Aug 25, 2020
a5084aa
cmake: install headless-git.
Berrysoft Mar 11, 2023
8ce79f6
git.rc: include winuser.h
rimrul Dec 2, 2023
2a04dd3
mingw: do load libcurl dynamically by default
dscho May 7, 2023
42079fd
Add a GitHub workflow to verify that Git/Scalar work in Nano Server
dscho Nov 2, 2022
741ee28
mingw: suggest `windows.appendAtomically` in more cases
dsl101 Jul 28, 2023
4eb0898
win32: use native ANSI sequence processing, if possible
dscho Nov 22, 2023
7b8c8d1
common-main.c: fflush stdout buffer upon exit
chengzhuo5 Apr 8, 2024
4aa247d
t5601/t7406(mingw): do run tests with symlink support
dscho Apr 9, 2024
bb448e2
win32: ensure that `localtime_r()` is declared even in i686 builds
dscho May 21, 2024
eab5d55
Fallback to AppData if XDG_CONFIG_HOME is unset
ariellourenco Jul 2, 2024
e0ddb5e
run-command: be helpful with Git LFS fails on Windows 7
dscho Jul 4, 2024
6f3caa7
revision: create mark_trees_uninteresting_dense()
derrickstolee Sep 6, 2024
8338dbd
ci: work around a problem with HTTP/2 vs libcurl v8.10.0
dscho Sep 24, 2024
6aeace2
Merge 'remote-hg-prerequisites' into HEAD
dscho Jun 8, 2018
bad1634
Merge branch 'drive-prefix'
dscho Jun 8, 2018
a5c93a0
Merge branch 'dont-clean-junctions'
dscho Jul 30, 2019
1819ae8
Merge branch 'msys2-python'
dscho May 31, 2019
b80d1ea
Update mimalloc to v2.2.7 (#6048)
dscho Jan 19, 2026
b2335f6
Merge pull request #2375 from assarbad/reintroduce-sideband-config
dscho Oct 30, 2019
0155595
Merge pull request #2488 from bmueller84/master
dscho Jan 22, 2020
4361004
Merge pull request #2501 from jeffhostetler/clink-debug-curl
dscho Jan 30, 2020
f3cbd71
survey: start pretty printing data in table form
derrickstolee Sep 1, 2024
5ff2101
Merge pull request #2504 from dscho/access-repo-via-junction
dscho Feb 1, 2020
f1d9ae6
survey: add object count summary
derrickstolee Sep 2, 2024
f0df7d6
Merge pull request #2535 from dscho/schannel-revoke-best-effort
dscho Mar 4, 2020
cceebb9
survey: summarize total sizes by object type
derrickstolee Sep 2, 2024
31de4ad
Merge pull request #2618 from dscho/avoid-d/f-conflict-in-vs/master
dscho May 9, 2020
fc1419e
survey: show progress during object walk
derrickstolee Sep 2, 2024
a7dda42
mingw: make sure `errno` is set correctly when socket operations fail
dscho Nov 14, 2019
ce94417
Merge 'add-p-many-files'
dscho Jun 8, 2018
be6effa
survey: add ability to track prioritized lists
derrickstolee Sep 2, 2024
a5bf699
compat/mingw: handle WSA errors in strerror
rimrul Dec 22, 2024
75c7cf3
t5563: verify that NTLM authentication works
dscho Nov 26, 2025
774c081
Merge pull request #2714 from lbonanomi/crlf-scissors
dscho Jul 3, 2020
d15fb72
survey: add report of "largest" paths
derrickstolee Sep 2, 2024
7c88bf4
compat/mingw: drop outdated comment
rimrul Dec 22, 2024
f9d2c37
http: disallow NTLM authentication by default
dscho Nov 26, 2025
9b6b43d
Merge pull request #2655 from jglathe/jg/t0014_trace_extra_info
dscho Oct 9, 2020
73c3831
survey: add --top=<N> option and config
derrickstolee Sep 23, 2024
3818b66
t0301: actually test credential-cache on Windows
rimrul Dec 29, 2024
3e2d2e5
http: warn if might have failed because of NTLM
dscho Nov 26, 2025
d28123e
Merge 'git-gui/js/intent-to-add'
dscho Oct 18, 2020
41f00d8
survey: clearly note the experimental nature in the output
dscho Jul 1, 2024
f8d4f95
credential-cache: handle ECONNREFUSED gracefully
rimrul Dec 22, 2024
56e9419
reftable: do make sure to use custom allocators
dscho Mar 6, 2025
7ca9a43
check-whitespace: avoid alerts about upstream commits
dscho Jun 3, 2025
970370e
t/t5571-prep-push-hook.sh: Add test with writing to stderr
t-b Jan 26, 2026
5b1148a
credential: advertise NTLM suppression and allow helpers to re-enable
dscho Feb 9, 2026
fde2592
dir: do not traverse mount points
maks244 Mar 30, 2026
372e922
win32: thread-utils: handle multi-socket systems
rimrul Feb 21, 2026
2cf49c7
Merge pull request #2351 from PhilipOakley/vcpkg-tip
dscho Oct 7, 2019
9495df2
Merge pull request #2915 from dennisameling/windows-arm64-support
dscho Dec 9, 2020
7f3f568
Merge pull request #3327 from dennisameling/fix-host-cpu
dscho Jul 19, 2021
8a39041
Merge pull request #3165 from dscho/increase-allowed-length-of-interp…
dscho Apr 3, 2021
bdb3ffa
Merge pull request #3220 from dscho/there-is-no-vs/master-anymore
dscho May 17, 2021
475f974
Merge pull request #3293 from pascalmuller/http-support-automatically…
dscho Jun 24, 2021
be5ea19
Merge pull request #3349 from vdye/feature/ci-subtree-tests
dscho Aug 10, 2021
58eeb0c
Merge pull request #3306 from PhilipOakley/vs-sln
dscho Oct 12, 2021
2ae8f7e
Merge pull request #3533 from PhilipOakley/hashliteral_t
dscho Dec 15, 2021
b72f447
Merge pull request #3791: Various fixes around `safe.directory`
derrickstolee Apr 13, 2022
a9238cf
Merge pull request #3751 from rkitover/native-term
dscho Apr 21, 2022
27d16c0
Merge pull request #3875 from 1480c1/wine/detect_msys_tty
dscho May 30, 2022
a92a3eb
Merge branch 'optionally-dont-append-atomically-on-windows'
dscho Jun 23, 2022
b4ae883
Merge branch 'fsync-object-files-always'
dscho Oct 11, 2018
66f780f
Merge pull request #3942 from rimrul/mingw-tsaware
dscho Jul 27, 2022
fb8fac9
Fix Windows version resources (#4092)
dscho Nov 3, 2022
09fc179
Fix global repository field not being cleared (#4083)
dscho Dec 20, 2022
d5062e7
Skip linking the "dashed" `git-<command>`s for built-ins (#4252)
dscho Jan 31, 2023
149bcee
Add full `mingw-w64-git` (i.e. regular MSYS2 ecosystem) support (#5971)
dscho Nov 25, 2025
a772fdd
Merge pull request #2506 from dscho/issue-2283
dscho Feb 11, 2020
68907ac
Merge pull request #2974 from derrickstolee/maintenance-and-headless
dscho Jan 11, 2021
ae7a329
ARM64: Embed manifest properly (#4718)
dscho Dec 7, 2023
2709f8c
Lazy load libcurl, allowing for an SSL/TLS backend-specific libcurl (…
dscho May 15, 2023
15419e3
Merge branch 'nano-server'
dscho Aug 7, 2023
e59e9f4
Additional error checks for issuing the windows.appendAtomically warn…
dscho Aug 7, 2023
dacf928
win32: use native ANSI sequence processing, if possible (#4700)
dscho Dec 2, 2023
de4fe9a
common-main.c: fflush stdout buffer when exit (#4901)
dscho Apr 12, 2024
eedb92a
Merge branch 'run-t5601-and-t7406-with-symlinks-on-windows-10'
dscho Jul 12, 2024
b47336e
Merge branch 'Fix-i686-build-with-GCC-v14'
dscho Jul 12, 2024
f0297c6
Merge branch 'Fallback-to-AppData-if-XDG-CONFIG-HOME-is-unset'
dscho Jul 12, 2024
8678452
Merge branch 'run-command-be-helpful-when-Git-LFS-fails-on-Windows-7'
dscho Jul 12, 2024
ef7502b
pack-objects: create new name-hash algorithm (#5157)
dscho Sep 24, 2024
ad04c57
Add path walk API and its use in 'git pack-objects' (#5171)
derrickstolee Sep 25, 2024
5720d89
Win32: make FILETIME conversion functions public
kblees Jul 6, 2013
b2eb02a
Win32: dirent.c: Move opendir down
kblees Sep 8, 2013
497225e
mingw: make the dirent implementation pluggable
kblees Sep 8, 2013
2905016
Win32: make the lstat implementation pluggable
kblees Sep 8, 2013
ce152f8
mingw: add infrastructure for read-only file system level caches
kblees Sep 8, 2013
9b6570d
mingw: add a cache below mingw's lstat and dirent implementations
kblees Oct 1, 2013
d0757e2
Add experimental 'git survey' builtin (#5174)
dscho Sep 26, 2024
4f7a62d
fscache: load directories only once
kblees Jun 24, 2014
6f47bd7
credential-cache: handle ECONNREFUSED gracefully (#5329)
dscho Jan 1, 2025
b2a2236
fscache: add key for GIT_TRACE_FSCACHE
jeffhostetler Jan 24, 2017
ba4fd84
Merge branch 'reftable-vs-custom-allocators'
dscho Jun 2, 2025
6754f33
fscache: remember not-found directories
jeffhostetler Dec 13, 2016
d9a296a
Merge branch 'check-whitespace-only-downstream'
dscho Jun 3, 2025
70a34a2
fscache: add a test for the dir-not-found optimization
dscho Jan 25, 2017
d603327
t/t5571-prep-push-hook.sh: Add test with writing to stderr (#6063)
dscho Jan 27, 2026
5c03c34
add: use preload-index and fscache for performance
jeffhostetler Nov 22, 2016
048a121
Merge branch 'disallow-ntlm-auth-by-default'
dscho Feb 12, 2026
b2b9b5a
dir.c: make add_excludes aware of fscache during status
jeffhostetler Nov 1, 2017
49168c2
Don't traverse mount points in `remove_dir_recurse()` (#6151)
dscho Mar 31, 2026
882a489
fscache: make fscache_enabled() public
jeffhostetler Dec 20, 2017
e68d2a5
Detect number of cores better on multi-socket systems (#6108)
dscho Apr 6, 2026
9e8f91f
dir.c: regression fix for add_excludes with fscache
jeffhostetler Dec 20, 2017
d5bb379
ci(macos): skip the `git p4` tests
dscho Nov 13, 2025
41fac62
Merge branch 'ready-for-upstream'
dscho Oct 11, 2018
096a097
fetch-pack.c: enable fscache for stats under .git/objects
Nov 22, 2017
9397bf6
ci(macos): skip the `git p4` tests (#5954)
dscho Nov 14, 2025
3754b9f
checkout.c: enable fscache for checkout again
Jan 30, 2018
9eea61f
Enable the filesystem cache (fscache) in refresh_index().
benpeart Sep 7, 2018
a09c3b3
mem_pool: add GIT_TRACE_MEMPOOL support
benpeart Oct 4, 2018
44f42ff
fscache: use FindFirstFileExW to avoid retrieving the short name
benpeart Oct 23, 2018
73e5320
fscache: fscache takes an initial size
benpeart Nov 2, 2018
6358055
fscache: add GIT_TEST_FSCACHE support
benpeart Oct 4, 2018
e6b9952
fscache: update fscache to be thread specific instead of global
benpeart Oct 4, 2018
3854786
fscache: add fscache hit statistics
benpeart Sep 25, 2018
3e6f371
fscache: teach fscache to use mempool
benpeart Nov 2, 2018
77ee225
unpack-trees: enable fscache for sparse-checkout
derrickstolee Jun 12, 2019
734f905
fscache: remember the reparse tag for each entry
dscho Dec 11, 2018
4caaf53
fscache: make fscache_enable() thread safe
benpeart Nov 16, 2018
076d840
status: disable and free fscache at the end of the status command
benpeart Nov 1, 2018
034ba37
Merge branch 'fscache'
dscho Nov 15, 2018
58640a6
fscache: implement an FSCache-aware is_mount_point()
dscho Dec 11, 2018
4e4aa8b
fscache: teach fscache to use NtQueryDirectoryFile
benpeart Nov 15, 2018
977a4b3
Merge pull request #1909 from benpeart/free-fscache-after-status-gfw
dscho Nov 5, 2018
64f9e80
clean: make use of FSCache
dscho Dec 11, 2018
592d02d
Merge remote-tracking branch 'benpeart/fscache-per-thread-gfw'
dscho Nov 16, 2018
0b314c1
Merge branch 'dont-clean-junctions-fscache'
dscho Jul 23, 2019
35f4984
pack-objects (mingw): demonstrate a segmentation fault with large deltas
vangdfang Jan 9, 2014
c746077
mingw: support long paths
kblees Jul 28, 2015
28a71f2
win32(long path support): leave drive-less absolute paths intact
dscho Sep 6, 2023
591eba1
compat/fsmonitor/fsm-*-win32: support long paths
jeffhostetler Mar 25, 2022
224aed7
clean: suggest using `core.longPaths` if paths are too long to remove
mathstuf Apr 22, 2022
1c6a97b
mingw: Support `git_terminal_prompt` with more terminals
kblees Mar 19, 2015
26013d4
compat/terminal.c: only use the Windows console if bash 'read -r' fails
kblees May 9, 2015
148bf6c
mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
dscho Feb 23, 2018
51b42cd
Win32: symlink: move phantom symlink creation to a separate function
piscisaureus Oct 26, 2018
11d4ef4
Introduce helper to create symlinks that knows about index_state
dscho Feb 11, 2019
ad7fe39
mingw: allow to specify the symlink type in .gitattributes
piscisaureus Oct 26, 2018
620715c
Win32: symlink: add test for `symlink` attribute
piscisaureus Oct 26, 2018
34e2735
mingw: explicitly specify with which cmd to prefix the cmdline
dscho Jul 20, 2017
7d2138d
mingw: when path_lookup() failed, try BusyBox
dscho Jul 20, 2017
33282b2
test-tool: learn to act as a drop-in replacement for `iconv`
dscho Jul 20, 2017
3f9601b
tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
dscho Jul 20, 2017
b2e3f5f
gitattributes: mark .png files as binary
dscho Oct 11, 2018
b77d857
tests: move test PNGs into t/lib-diff/
dscho Aug 5, 2017
cef0cec
tests: only override sort & find if there are usable ones in /usr/bin/
dscho Jul 17, 2017
276b0ea
index stage 3
Apr 14, 2026
cd9f73c
index stage 2
Apr 14, 2026
f38146e
index stage 1
Apr 14, 2026
88f2994
Failed rebase state
Apr 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*.pm text eol=lf diff=perl
*.py text eol=lf diff=python
*.bat text eol=crlf
*.png binary
CODE_OF_CONDUCT.md -whitespace
/Documentation/**/*.adoc text eol=lf whitespace=trail,space,incomplete
/command-list.txt text eol=lf
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,11 @@ jobs:
NO_PERL: 1
GIT_CONFIG_PARAMETERS: "'user.name=CI' 'user.email=ci@git'"
runs-on: windows-latest
strategy:
matrix:
arch: [x64, arm64]
concurrency:
group: vs-build-${{ github.ref }}
group: vs-build-${{ github.ref }}-${{ matrix.arch }}
cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
steps:
- uses: actions/checkout@v5
Expand All @@ -189,14 +192,14 @@ jobs:
uses: microsoft/setup-msbuild@v2
- name: copy dlls to root
shell: cmd
run: compat\vcbuild\vcpkg_copy_dlls.bat release
run: compat\vcbuild\vcpkg_copy_dlls.bat release ${{ matrix.arch }}-windows
- name: generate Visual Studio solution
shell: bash
run: |
cmake `pwd`/contrib/buildsystems/ -DCMAKE_PREFIX_PATH=`pwd`/compat/vcbuild/vcpkg/installed/x64-windows \
-DNO_GETTEXT=YesPlease -DPERL_TESTS=OFF -DPYTHON_TESTS=OFF -DCURL_NO_CURL_CMAKE=ON
cmake `pwd`/contrib/buildsystems/ -DCMAKE_PREFIX_PATH=`pwd`/compat/vcbuild/vcpkg/installed/${{ matrix.arch }}-windows \
-DNO_GETTEXT=YesPlease -DPERL_TESTS=OFF -DPYTHON_TESTS=OFF -DCURL_NO_CURL_CMAKE=ON -DCMAKE_GENERATOR_PLATFORM=${{ matrix.arch }} -DVCPKG_ARCH=${{ matrix.arch }}-windows -DHOST_CPU=${{ matrix.arch }}
- name: MSBuild
run: msbuild git.sln -property:Configuration=Release -property:Platform=x64 -maxCpuCount:4 -property:PlatformToolset=v142
run: msbuild git.sln -property:Configuration=Release -property:Platform=${{ matrix.arch }} -maxCpuCount:4 -property:PlatformToolset=v142
- name: bundle artifact tar
shell: bash
env:
Expand All @@ -210,7 +213,7 @@ jobs:
- name: upload tracked files and build artifacts
uses: actions/upload-artifact@v5
with:
name: vs-artifacts
name: vs-artifacts-${{ matrix.arch }}
path: artifacts
vs-test:
name: win+VS test
Expand All @@ -228,7 +231,7 @@ jobs:
- name: download tracked files and build artifacts
uses: actions/download-artifact@v6
with:
name: vs-artifacts
name: vs-artifacts-x64
path: ${{github.workspace}}
- name: extract tracked files and build artifacts
shell: bash
Expand Down
76 changes: 76 additions & 0 deletions .github/workflows/nano-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Windows Nano Server tests

on:
workflow_dispatch:

env:
DEVELOPER: 1

jobs:
test-nano-server:
runs-on: windows-2022
env:
WINDBG_DIR: "C:/Program Files (x86)/Windows Kits/10/Debuggers/x64"
IMAGE: mcr.microsoft.com/powershell:nanoserver-ltsc2022

steps:
- uses: actions/checkout@v5
- uses: git-for-windows/setup-git-for-windows-sdk@v1
- name: build Git
shell: bash
run: make -j15
- name: pull nanoserver image
shell: bash
run: docker pull $IMAGE
- name: run nano-server test
shell: bash
run: |
docker run \
--user "ContainerAdministrator" \
-v "$WINDBG_DIR:C:/dbg" \
-v "$(cygpath -aw /mingw64/bin):C:/mingw64-bin" \
-v "$(cygpath -aw .):C:/test" \
$IMAGE pwsh.exe -Command '
# Extend the PATH to include the `.dll` files in /mingw64/bin/
$env:PATH += ";C:\mingw64-bin"

# For each executable to test pick some no-operation set of
# flags/subcommands or something that should quickly result in an
# error with known exit code that is not a negative 32-bit
# number, and set the expected return code appropriately.
#
# Only test executables that could be expected to run in a UI
# less environment.
#
# ( Executable path, arguments, expected return code )
# also note space is required before close parenthesis (a
# powershell quirk when defining nested arrays like this)

$executables_to_test = @(
("C:\test\git.exe", "", 1 ),
("C:\test\scalar.exe", "version", 0 )
)

foreach ($executable in $executables_to_test)
{
Write-Output "Now testing $($executable[0])"
&$executable[0] $executable[1]
if ($LASTEXITCODE -ne $executable[2]) {
# if we failed, run the debugger to find out what function
# or DLL could not be found and then exit the script with
# failure The missing DLL or EXE will be referenced near
# the end of the output

# Set a flag to have the debugger show loader stub
# diagnostics. This requires running as administrator,
# otherwise the flag will be ignored.
C:\dbg\gflags -i $executable[0] +SLS

C:\dbg\cdb.exe -c "g" -c "q" $executable[0] $executable[1]

exit 1
}
}

exit 0
'
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@
/git-submodule
/git-submodule--helper
/git-subtree
/git-survey
/git-svn
/git-switch
/git-symbolic-ref
Expand Down Expand Up @@ -257,5 +258,6 @@ Release/
/git.VC.db
*.dSYM
/contrib/buildsystems/out
CMakeSettings.json
/contrib/libgit-rs/target
/contrib/libgit-sys/target
6 changes: 6 additions & 0 deletions Documentation/config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,8 @@ include::config/safe.adoc[]

include::config/sendemail.adoc[]

include::config/sendpack.adoc[]

include::config/sequencer.adoc[]

include::config/showbranch.adoc[]
Expand All @@ -587,6 +589,8 @@ include::config/status.adoc[]

include::config/submodule.adoc[]

include::config/survey.adoc[]

include::config/tag.adoc[]

include::config/tar.adoc[]
Expand All @@ -609,4 +613,6 @@ include::config/versionsort.adoc[]

include::config/web.adoc[]

include::config/windows.adoc[]

include::config/worktree.adoc[]
3 changes: 3 additions & 0 deletions Documentation/config/advice.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ all advice messages.
set their identity configuration.
mergeConflict::
Shown when various commands stop because of conflicts.
nameTooLong::
Advice shown if a filepath operation is attempted where the
path was too long.
nestedTag::
Shown when a user attempts to recursively tag a tag object.
pushAlreadyExists::
Expand Down
13 changes: 13 additions & 0 deletions Documentation/config/core.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,19 @@ relatively high IO latencies. When enabled, Git will do the
index comparison to the filesystem data in parallel, allowing
overlapping IO's. Defaults to true.

core.fscache::
Enable additional caching of file system data for some operations.
+
Git for Windows uses this to bulk-read and cache lstat data of entire
directories (instead of doing lstat file by file).

core.longpaths::
Enable long path (> 260) support for builtin commands in Git for
Windows. This is disabled by default, as long paths are not supported
by Windows Explorer, cmd.exe and the Git for Windows tool chain
(msys, bash, tcl, perl...). Only enable this if you know what you're
doing and are prepared to live with a few quirks.

core.unsetenvvars::
Windows-only: comma-separated list of environment variables'
names that need to be unset before spawning any other process.
Expand Down
22 changes: 17 additions & 5 deletions Documentation/config/http.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,20 @@ http.sslKeyType::
See also libcurl `CURLOPT_SSLKEYTYPE`. Can be overridden by the
`GIT_SSL_KEY_TYPE` environment variable.

http.allowNTLMAuth::
Whether or not to allow NTLM authentication. While very convenient to set
up, and therefore still used in many on-prem scenarios, NTLM is a weak
authentication method and therefore deprecated. Defaults to "false".

http.schannelCheckRevoke::
Used to enforce or disable certificate revocation checks in cURL
when http.sslBackend is set to "schannel". Defaults to `true` if
unset. Only necessary to disable this if Git consistently errors
and the message is about checking the revocation status of a
certificate. This option is ignored if cURL lacks support for
setting the relevant SSL option at runtime.
when http.sslBackend is set to "schannel" via "true" and "false",
respectively. Another accepted value is "best-effort" (the default)
in which case revocation checks are performed, but errors due to
revocation list distribution points that are offline are silently
ignored, as well as errors due to certificates missing revocation
list distribution points. This option is ignored if cURL lacks
support for setting the relevant SSL option at runtime.

http.schannelUseSSLCAInfo::
As of cURL v7.60.0, the Secure Channel backend can use the
Expand All @@ -247,6 +254,11 @@ http.schannelUseSSLCAInfo::
when the `schannel` backend was configured via `http.sslBackend`,
unless `http.schannelUseSSLCAInfo` overrides this behavior.

http.sslAutoClientCert::
As of cURL v7.77.0, the Secure Channel backend won't automatically
send client certificates from the Windows Certificate Store anymore.
To opt in to the old behavior, http.sslAutoClientCert can be set.

http.pinnedPubkey::
Public key of the https service. It may either be the filename of
a PEM or DER encoded public key file or a string starting with
Expand Down
5 changes: 5 additions & 0 deletions Documentation/config/sendpack.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sendpack.sideband::
Allows to disable the side-band-64k capability for send-pack even
when it is advertised by the server. Makes it possible to work
around a limitation in the git for windows implementation together
with the dump git protocol. Defaults to true.
14 changes: 14 additions & 0 deletions Documentation/config/survey.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
survey.*::
These variables adjust the default behavior of the `git survey`
command. The intention is that this command could be run in the
background with these options.
+
--
verbose::
This boolean value implies the `--[no-]verbose` option.
progress::
This boolean value implies the `--[no-]progress` option.
top::
This integer value implies `--top=<N>`, specifying the
number of entries in the detail tables.
--
4 changes: 4 additions & 0 deletions Documentation/config/windows.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
windows.appendAtomically::
By default, append atomic API is used on windows. But it works only with
local disk files, if you're working on a network file system, you should
set it false to turn it off.
83 changes: 83 additions & 0 deletions Documentation/git-survey.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
git-survey(1)
=============

NAME
----
git-survey - EXPERIMENTAL: Measure various repository dimensions of scale

SYNOPSIS
--------
[verse]
(EXPERIMENTAL!) 'git survey' <options>

DESCRIPTION
-----------

Survey the repository and measure various dimensions of scale.

As repositories grow to "monorepo" size, certain data shapes can cause
performance problems. `git-survey` attempts to measure and report on
known problem areas.

Ref Selection and Reachable Objects
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In this first analysis phase, `git survey` will iterate over the set of
requested branches, tags, and other refs and treewalk over all of the
reachable commits, trees, and blobs and generate various statistics.

OPTIONS
-------

--progress::
Show progress. This is automatically enabled when interactive.

Ref Selection
~~~~~~~~~~~~~

The following options control the set of refs that `git survey` will examine.
By default, `git survey` will look at tags, local branches, and remote refs.
If any of the following options are given, the default set is cleared and
only refs for the given options are added.

--all-refs::
Use all refs. This includes local branches, tags, remote refs,
notes, and stashes. This option overrides all of the following.

--branches::
Add local branches (`refs/heads/`) to the set.

--tags::
Add tags (`refs/tags/`) to the set.

--remotes::
Add remote branches (`refs/remote/`) to the set.

--detached::
Add HEAD to the set.

--other::
Add notes (`refs/notes/`) and stashes (`refs/stash/`) to the set.

OUTPUT
------

By default, `git survey` will print information about the repository in a
human-readable format that includes overviews and tables.

References Summary
~~~~~~~~~~~~~~~~~~

The references summary includes a count of each kind of reference,
including branches, remote refs, and tags (split by "all" and
"annotated").

Reachable Object Summary
~~~~~~~~~~~~~~~~~~~~~~~~

The reachable object summary shows the total number of each kind of Git
object, including tags, commits, trees, and blobs.

GIT
---
Part of the linkgit:git[1] suite
30 changes: 30 additions & 0 deletions Documentation/gitattributes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,36 @@ sign `$` upon checkout. Any byte sequence that begins with
with `$Id$` upon check-in.


`symlink`
^^^^^^^^^

On Windows, symbolic links have a type: a "file symlink" must point at
a file, and a "directory symlink" must point at a directory. If the
type of symlink does not match its target, it doesn't work.

Git does not record the type of symlink in the index or in a tree. On
checkout it'll guess the type, which only works if the target exists
at the time the symlink is created. This may often not be the case,
for example when the link points at a directory inside a submodule.

The `symlink` attribute allows you to explicitly set the type of symlink
to `file` or `dir`, so Git doesn't have to guess. If you have a set of
symlinks that point at other files, you can do:

------------------------
*.gif symlink=file
------------------------

To tell Git that a symlink points at a directory, use:

------------------------
tools_folder symlink=dir
------------------------

The `symlink` attribute is ignored on platforms other than Windows,
since they don't distinguish between different types of symlinks.


`filter`
^^^^^^^^

Expand Down
1 change: 1 addition & 0 deletions Documentation/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ manpages = {
'git-status.adoc' : 1,
'git-stripspace.adoc' : 1,
'git-submodule.adoc' : 1,
'git-survey.adoc' : 1,
'git-svn.adoc' : 1,
'git-switch.adoc' : 1,
'git-symbolic-ref.adoc' : 1,
Expand Down
Loading