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
a2967e8
t9350: point out that refs are not updated correctly
SRabbelier Jul 24, 2011
0f881b2
transport-helper: add trailing --
SRabbelier Aug 29, 2010
8ca610c
remote-helper: check helper status after import/export
SRabbelier Jul 23, 2011
0034361
grep: prevent `^$` false match at end of file
peff Jan 13, 2025
938381a
unix-socket: avoid leak when initialization fails
dscho Oct 30, 2024
bc9477d
Always auto-gc after calling a fast-import transport
dscho Apr 9, 2012
480b9c3
mingw: prevent regressions with "drive-less" absolute paths
dscho Apr 18, 2017
2114778
Merge branch 'fixes-from-the-git-mailing-list'
dscho Jan 22, 2025
c1d3384
win32/pthread: avoid name clashes with winpthread
dscho Oct 20, 2019
419b34b
hash-object: demonstrate a >4GB/LLP64 problem
PhilipOakley Oct 31, 2021
a1b9bf6
git-compat-util: avoid redeclaring _DEFAULT_SOURCE
dscho Aug 12, 2022
00f3987
vcbuild: install ARM64 dependencies when building ARM64 binaries
manbearian Feb 1, 2020
2a8c859
object-file.c: use size_t for header lengths
PhilipOakley Nov 12, 2021
f9e8612
Import the source code of mimalloc v2.2.7
dscho Jan 16, 2026
fc764ff
vcbuild: add an option to install individual 'features'
manbearian Feb 4, 2020
71de348
CMake: default Visual Studio generator has changed
PhilipOakley Jul 1, 2021
158b84f
hash algorithms: use size_t for section lengths
PhilipOakley Nov 12, 2021
f8c6001
mimalloc: adjust for building inside Git
dscho Jun 24, 2019
2ed6233
mingw: demonstrate a `git add` issue with NTFS junctions
dscho Jan 31, 2020
b6fda26
cmake: allow building for Windows/ARM64
dennisameling Dec 4, 2020
fe0c2f6
.gitignore: add Visual Studio CMakeSetting.json file
PhilipOakley Apr 24, 2021
c8582f9
hash-object --stdin: verify that it works with >4GB/LLP64
PhilipOakley Dec 6, 2021
b69f6a8
clean: do not traverse mount points
dscho Dec 7, 2018
516f22d
mimalloc: offer a build-time option to enable it
dscho Jun 24, 2019
2b2fc3a
strbuf_realpath(): use platform-dependent API if available
dscho Jan 31, 2020
f65aa63
t5505/t5516: allow running without `.git/branches/` in the templates
dscho May 9, 2020
15d888d
vcpkg_install: detect lack of Git
PhilipOakley Oct 6, 2019
dc63f93
ci(vs-build) also build Windows/ARM64 artifacts
dennisameling Nov 28, 2020
1145c49
subtree: update `contrib/subtree` `test` target
vdye Aug 5, 2021
ccc92e7
CMakeLists: add default "x64-windows" arch for Visual Studio
PhilipOakley Apr 22, 2021
9f53633
hash-object: add another >4GB/LLP64 test case
PhilipOakley Dec 6, 2021
310c4b1
setup: properly use "%(prefix)/" when in WSL
derrickstolee Apr 13, 2022
656382f
clean: remove mount points when possible
dscho Dec 11, 2018
691f4ce
mingw: include the Python parts in the build
dscho Feb 16, 2015
9ca5ec2
mingw: use mimalloc
dscho Jun 24, 2019
5de05b7
transport: optionally disable side-band-64k
t-b May 8, 2014
d06863a
mingw: fix fatal error working on mapped network drives on Windows
bmueller84 Jan 22, 2020
4d461f9
clink.pl: fix MSVC compile script to handle libcurl-d.lib
jeffhostetler Jan 30, 2020
5376801
mingw: implement a platform-specific `strbuf_realpath()`
dscho Jan 31, 2020
410e64f
http: use new "best effort" strategy for Secure Channel revoke checking
dscho Mar 4, 2020
acd66ff
t5505/t5516: fix white-space around redirectors
dscho May 9, 2020
f6d69fb
t3701: verify that we can add *lots* of files interactively
dscho Sep 12, 2015
953395f
commit: accept "scissors" with CR/LF line endings
lbonanomi Jun 24, 2020
fe5103b
t0014: fix indentation
jglathe Jun 2, 2020
b5b121a
git-gui: accommodate for intent-to-add files
dscho Aug 12, 2020
29dbcf6
vcpkg_install: add comment regarding slow network connections
PhilipOakley Oct 6, 2019
b2870e4
Add schannel to curl installation
dennisameling Dec 6, 2020
adbb8ae
cmake(): allow setting HOST_CPU for cross-compilation
dennisameling Jul 19, 2021
edbd6d4
mingw: allow for longer paths in `parse_interpreter()`
dscho Apr 2, 2021
77ae4bf
compat/vcbuild: document preferred way to build in Visual Studio
dscho May 17, 2021
b468606
http: optionally send SSL client certificate
pascalmuller Jun 23, 2021
5902fea
ci: run `contrib/subtree` tests in CI builds
vdye Aug 5, 2021
35bace3
CMake: show Win32 and Generator_platform build-option values
PhilipOakley May 10, 2021
0eba81f
hash-object: add a >4GB/LLP64 test case using filtered input
PhilipOakley Dec 7, 2021
87d4bc4
compat/mingw.c: do not warn when failing to get owner
derrickstolee Apr 13, 2022
14eb485
mingw: $env:TERM="xterm-256color" for newer OSes
rkitover Apr 12, 2022
11d25f9
winansi: check result and Buffer before using Name
1480c1 May 28, 2022
6089653
Add config option `windows.appendAtomically`
sunzhuoshi Jan 15, 2022
7298ce1
mingw: change core.fsyncObjectFiles = 1 by default
dscho Sep 4, 2017
d0fb7f7
survey: stub in new experimental 'git-survey' command
Apr 29, 2024
29ba689
mingw: stop hard-coding `CC = gcc`
dscho Nov 23, 2025
ce5f76b
survey: add command line opts to select references
Apr 29, 2024
353fe1a
mingw: drop the -D_USE_32BIT_TIME_T option
dscho Nov 21, 2025
fad7977
Merge branch 'dscho-avoid-d-f-conflict-in-vs-master'
dscho Apr 13, 2021
4ade019
survey: start pretty printing data in table form
derrickstolee Sep 1, 2024
3a1b1d4
mingw: only use -Wl,--large-address-aware for 32-bit builds
dscho Nov 21, 2025
e749013
clink.pl: fix libexpatd.lib link error when using MSVC
jeffhostetler Mar 30, 2021
debaa5d
survey: add object count summary
derrickstolee Sep 2, 2024
f6e64b9
mingw: avoid over-specifying `--pic-executable`
dscho Nov 21, 2025
13c6391
Makefile: clean up .ilk files when MSVC=1
jeffhostetler Apr 5, 2021
b06492c
survey: summarize total sizes by object type
derrickstolee Sep 2, 2024
8676227
mingw: set the prefix and HOST_CPU as per MSYS2's settings
dscho Nov 21, 2025
1e4a858
vcbuild: add support for compiling Windows resource files
jeffhostetler Apr 5, 2021
be93c09
survey: show progress during object walk
derrickstolee Sep 2, 2024
6479407
mingw: make sure `errno` is set correctly when socket operations fail
dscho Nov 14, 2019
a241f36
mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
dscho Nov 21, 2025
1c063f9
config.mak.uname: add git.rc to MSVC builds
jeffhostetler Apr 5, 2021
3e44add
http: optionally load libcurl lazily
dscho May 6, 2023
c87439f
survey: add ability to track prioritized lists
derrickstolee Sep 2, 2024
d9d73e6
compat/mingw: handle WSA errors in strerror
rimrul Dec 22, 2024
0d927b3
mingw: rely on MSYS2's metadata instead of hard-coding it
dscho Nov 21, 2025
b61c42d
mingw: ensure valid CTYPE
dscho Feb 21, 2017
c459e6f
clink.pl: ignore no-stack-protector arg on MSVC=1 builds
jeffhostetler Apr 5, 2021
de2bf89
http: support lazy-loading libcurl also on Windows
dscho May 7, 2023
327aa3f
survey: add report of "largest" paths
derrickstolee Sep 2, 2024
11a05bf
compat/mingw: drop outdated comment
rimrul Dec 22, 2024
82c9e9b
mingw: always define `ETC_*` for MSYS2 environments
dscho Nov 21, 2025
e8a445b
mingw: allow `git.exe` to be used instead of the "Git wrapper"
dscho Jan 31, 2020
8bbbddc
clink.pl: move default linker options for MSVC=1 builds
jeffhostetler Apr 5, 2021
e8490fd
http: when loading libcurl lazily, allow for multiple SSL backends
dscho May 7, 2023
f9ecf1e
survey: add --top=<N> option and config
derrickstolee Sep 23, 2024
69675b9
t0301: actually test credential-cache on Windows
rimrul Dec 29, 2024
170c6ce
MinGW: link as terminal server aware
rimrul Jul 10, 2022
8c9fe9f
Fix Windows version resources
Mortein Nov 2, 2022
6692eae
status: fix for old-style submodules with commondir
sceptical-coder Oct 28, 2022
0e06ee7
windows: skip linking `git-<command>` for built-ins
dscho Jan 27, 2023
550c864
max_tree_depth: lower it for clang builds in general on Windows
dscho Nov 21, 2025
63e4847
mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system dire…
dscho Aug 25, 2020
907c541
cmake: install headless-git.
Berrysoft Mar 11, 2023
54f6fea
git.rc: include winuser.h
rimrul Dec 2, 2023
588c4b1
mingw: do load libcurl dynamically by default
dscho May 7, 2023
334b456
Add a GitHub workflow to verify that Git/Scalar work in Nano Server
dscho Nov 2, 2022
7a51343
mingw: suggest `windows.appendAtomically` in more cases
dsl101 Jul 28, 2023
183a639
win32: use native ANSI sequence processing, if possible
dscho Nov 22, 2023
b88ea3d
common-main.c: fflush stdout buffer upon exit
chengzhuo5 Apr 8, 2024
33f0f34
t5601/t7406(mingw): do run tests with symlink support
dscho Apr 9, 2024
f037c94
win32: ensure that `localtime_r()` is declared even in i686 builds
dscho May 21, 2024
5329b89
Fallback to AppData if XDG_CONFIG_HOME is unset
ariellourenco Jul 2, 2024
8fc0faf
run-command: be helpful with Git LFS fails on Windows 7
dscho Jul 4, 2024
a973590
revision: create mark_trees_uninteresting_dense()
derrickstolee Sep 6, 2024
2c1c00b
survey: clearly note the experimental nature in the output
dscho Jul 1, 2024
3f8a923
credential-cache: handle ECONNREFUSED gracefully
rimrul Dec 22, 2024
9afc35f
reftable: do make sure to use custom allocators
dscho Mar 6, 2025
9e18e5a
ci: work around a problem with HTTP/2 vs libcurl v8.10.0
dscho Sep 24, 2024
f3b5852
Merge 'remote-hg-prerequisites' into HEAD
dscho Jun 8, 2018
e2e3e06
Merge branch 'drive-prefix'
dscho Jun 8, 2018
0a780c4
Merge branch 'dont-clean-junctions'
dscho Jul 30, 2019
699ed1f
Merge branch 'msys2-python'
dscho May 31, 2019
41621ae
Update mimalloc to v2.2.7 (#6048)
dscho Jan 19, 2026
425f4f4
Merge pull request #2375 from assarbad/reintroduce-sideband-config
dscho Oct 30, 2019
61aa545
Merge pull request #2488 from bmueller84/master
dscho Jan 22, 2020
8ce458d
Merge pull request #2501 from jeffhostetler/clink-debug-curl
dscho Jan 30, 2020
101dea2
Merge pull request #2504 from dscho/access-repo-via-junction
dscho Feb 1, 2020
b80b7f4
Merge pull request #2535 from dscho/schannel-revoke-best-effort
dscho Mar 4, 2020
2c60465
Merge pull request #2618 from dscho/avoid-d/f-conflict-in-vs/master
dscho May 9, 2020
f83f3ad
Merge 'add-p-many-files'
dscho Jun 8, 2018
23f4135
Merge pull request #2714 from lbonanomi/crlf-scissors
dscho Jul 3, 2020
3c76222
Merge pull request #2655 from jglathe/jg/t0014_trace_extra_info
dscho Oct 9, 2020
f6d0c23
Merge 'git-gui/js/intent-to-add'
dscho Oct 18, 2020
3f89289
Merge pull request #2351 from PhilipOakley/vcpkg-tip
dscho Oct 7, 2019
faa7118
Merge pull request #2915 from dennisameling/windows-arm64-support
dscho Dec 9, 2020
d0e6685
Merge pull request #3327 from dennisameling/fix-host-cpu
dscho Jul 19, 2021
8a5da39
Merge pull request #3165 from dscho/increase-allowed-length-of-interp…
dscho Apr 3, 2021
12c402a
Merge pull request #3220 from dscho/there-is-no-vs/master-anymore
dscho May 17, 2021
9ce1c0e
Merge pull request #3293 from pascalmuller/http-support-automatically…
dscho Jun 24, 2021
0ac5cf5
Merge pull request #3349 from vdye/feature/ci-subtree-tests
dscho Aug 10, 2021
9239c7f
t5563: verify that NTLM authentication works
dscho Nov 26, 2025
32be3e7
Merge pull request #3306 from PhilipOakley/vs-sln
dscho Oct 12, 2021
c9bc2a3
http: disallow NTLM authentication by default
dscho Nov 26, 2025
4e1d4cf
Merge pull request #3533 from PhilipOakley/hashliteral_t
dscho Dec 15, 2021
a12882e
http: warn if might have failed because of NTLM
dscho Nov 26, 2025
c5e5f25
Merge pull request #3791: Various fixes around `safe.directory`
derrickstolee Apr 13, 2022
f4e8e66
check-whitespace: avoid alerts about upstream commits
dscho Jun 3, 2025
1828e65
t/t5571-prep-push-hook.sh: Add test with writing to stderr
t-b Jan 26, 2026
f7a4b65
credential: advertise NTLM suppression and allow helpers to re-enable
dscho Feb 9, 2026
a4b24cb
dir: do not traverse mount points
maks244 Mar 30, 2026
e2120aa
win32: thread-utils: handle multi-socket systems
rimrul Feb 21, 2026
b54c8ae
Merge pull request #3751 from rkitover/native-term
dscho Apr 21, 2022
fc963d6
Merge pull request #3875 from 1480c1/wine/detect_msys_tty
dscho May 30, 2022
3ee708a
Merge branch 'optionally-dont-append-atomically-on-windows'
dscho Jun 23, 2022
c06a3b2
Merge branch 'fsync-object-files-always'
dscho Oct 11, 2018
abc4077
Merge pull request #3942 from rimrul/mingw-tsaware
dscho Jul 27, 2022
5db91e9
Fix Windows version resources (#4092)
dscho Nov 3, 2022
b7dc89d
Fix global repository field not being cleared (#4083)
dscho Dec 20, 2022
f473401
Skip linking the "dashed" `git-<command>`s for built-ins (#4252)
dscho Jan 31, 2023
6a4947e
Add full `mingw-w64-git` (i.e. regular MSYS2 ecosystem) support (#5971)
dscho Nov 25, 2025
d25bf99
Merge pull request #2506 from dscho/issue-2283
dscho Feb 11, 2020
f4a3c20
Merge pull request #2974 from derrickstolee/maintenance-and-headless
dscho Jan 11, 2021
a509355
ARM64: Embed manifest properly (#4718)
dscho Dec 7, 2023
211b55c
Lazy load libcurl, allowing for an SSL/TLS backend-specific libcurl (…
dscho May 15, 2023
bc938c9
Merge branch 'nano-server'
dscho Aug 7, 2023
e60a50e
Additional error checks for issuing the windows.appendAtomically warn…
dscho Aug 7, 2023
36f49da
win32: use native ANSI sequence processing, if possible (#4700)
dscho Dec 2, 2023
9ecb22b
common-main.c: fflush stdout buffer when exit (#4901)
dscho Apr 12, 2024
9804875
Merge branch 'run-t5601-and-t7406-with-symlinks-on-windows-10'
dscho Jul 12, 2024
dbbf1f8
Merge branch 'Fix-i686-build-with-GCC-v14'
dscho Jul 12, 2024
24ef6be
Merge branch 'Fallback-to-AppData-if-XDG-CONFIG-HOME-is-unset'
dscho Jul 12, 2024
013b26d
Merge branch 'run-command-be-helpful-when-Git-LFS-fails-on-Windows-7'
dscho Jul 12, 2024
9f55045
pack-objects: create new name-hash algorithm (#5157)
dscho Sep 24, 2024
b7af75b
Add path walk API and its use in 'git pack-objects' (#5171)
derrickstolee Sep 25, 2024
c856102
Add experimental 'git survey' builtin (#5174)
dscho Sep 26, 2024
58a8f95
credential-cache: handle ECONNREFUSED gracefully (#5329)
dscho Jan 1, 2025
e1eb7a9
Merge branch 'reftable-vs-custom-allocators'
dscho Jun 2, 2025
9388802
Merge branch 'check-whitespace-only-downstream'
dscho Jun 3, 2025
52ac78b
t/t5571-prep-push-hook.sh: Add test with writing to stderr (#6063)
dscho Jan 27, 2026
d6f06ce
Merge branch 'disallow-ntlm-auth-by-default'
dscho Feb 12, 2026
79edb4c
Don't traverse mount points in `remove_dir_recurse()` (#6151)
dscho Mar 31, 2026
77903f6
Detect number of cores better on multi-socket systems (#6108)
dscho Apr 6, 2026
1f9d668
ci(macos): skip the `git p4` tests
dscho Nov 13, 2025
660b48a
Merge branch 'ready-for-upstream'
dscho Oct 11, 2018
b42bd96
Win32: make FILETIME conversion functions public
kblees Jul 6, 2013
9e116cb
Win32: dirent.c: Move opendir down
kblees Sep 8, 2013
66f2dab
mingw: make the dirent implementation pluggable
kblees Sep 8, 2013
566d4bf
Win32: make the lstat implementation pluggable
kblees Sep 8, 2013
0c94135
mingw: add infrastructure for read-only file system level caches
kblees Sep 8, 2013
2eef092
mingw: add a cache below mingw's lstat and dirent implementations
kblees Oct 1, 2013
e52835f
fscache: load directories only once
kblees Jun 24, 2014
49f6bb7
fscache: add key for GIT_TRACE_FSCACHE
jeffhostetler Jan 24, 2017
d673462
fscache: remember not-found directories
jeffhostetler Dec 13, 2016
fc9c616
fscache: add a test for the dir-not-found optimization
dscho Jan 25, 2017
165ee0c
add: use preload-index and fscache for performance
jeffhostetler Nov 22, 2016
2fbe99a
dir.c: make add_excludes aware of fscache during status
jeffhostetler Nov 1, 2017
9933cbd
fscache: make fscache_enabled() public
jeffhostetler Dec 20, 2017
0319dc9
dir.c: regression fix for add_excludes with fscache
jeffhostetler Dec 20, 2017
a24b40e
fetch-pack.c: enable fscache for stats under .git/objects
Nov 22, 2017
6e6830b
checkout.c: enable fscache for checkout again
Jan 30, 2018
56e6e9f
Enable the filesystem cache (fscache) in refresh_index().
benpeart Sep 7, 2018
4cd2033
mem_pool: add GIT_TRACE_MEMPOOL support
benpeart Oct 4, 2018
0922c18
fscache: use FindFirstFileExW to avoid retrieving the short name
benpeart Oct 23, 2018
b9166f1
fscache: fscache takes an initial size
benpeart Nov 2, 2018
26a42cb
fscache: add GIT_TEST_FSCACHE support
benpeart Oct 4, 2018
750c4bc
fscache: update fscache to be thread specific instead of global
benpeart Oct 4, 2018
da02c31
fscache: add fscache hit statistics
benpeart Sep 25, 2018
570dfa9
fscache: teach fscache to use mempool
benpeart Nov 2, 2018
ed10858
unpack-trees: enable fscache for sparse-checkout
derrickstolee Jun 12, 2019
1252a34
ci(macos): skip the `git p4` tests (#5954)
dscho Nov 14, 2025
978b7b2
fscache: remember the reparse tag for each entry
dscho Dec 11, 2018
37e22bf
fscache: make fscache_enable() thread safe
benpeart Nov 16, 2018
cb14522
status: disable and free fscache at the end of the status command
benpeart Nov 1, 2018
6b5f5df
Merge branch 'fscache'
dscho Nov 15, 2018
c291cbd
fscache: implement an FSCache-aware is_mount_point()
dscho Dec 11, 2018
3048857
fscache: teach fscache to use NtQueryDirectoryFile
benpeart Nov 15, 2018
3c2d95a
Merge pull request #1909 from benpeart/free-fscache-after-status-gfw
dscho Nov 5, 2018
574921e
clean: make use of FSCache
dscho Dec 11, 2018
295f932
Merge remote-tracking branch 'benpeart/fscache-per-thread-gfw'
dscho Nov 16, 2018
26eb2bb
Merge branch 'dont-clean-junctions-fscache'
dscho Jul 23, 2019
116e305
pack-objects (mingw): demonstrate a segmentation fault with large deltas
vangdfang Jan 9, 2014
852536b
mingw: support long paths
kblees Jul 28, 2015
c1a17cc
win32(long path support): leave drive-less absolute paths intact
dscho Sep 6, 2023
b254566
compat/fsmonitor/fsm-*-win32: support long paths
jeffhostetler Mar 25, 2022
2f9954d
clean: suggest using `core.longPaths` if paths are too long to remove
mathstuf Apr 22, 2022
f31f34b
mingw: Support `git_terminal_prompt` with more terminals
kblees Mar 19, 2015
482fc02
compat/terminal.c: only use the Windows console if bash 'read -r' fails
kblees May 9, 2015
1342679
mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
dscho Feb 23, 2018
1b2ca5d
Win32: symlink: move phantom symlink creation to a separate function
piscisaureus Oct 26, 2018
3eb92b0
Introduce helper to create symlinks that knows about index_state
dscho Feb 11, 2019
aae754e
mingw: allow to specify the symlink type in .gitattributes
piscisaureus Oct 26, 2018
4543570
Win32: symlink: add test for `symlink` attribute
piscisaureus Oct 26, 2018
186d5aa
mingw: explicitly specify with which cmd to prefix the cmdline
dscho Jul 20, 2017
c7cb0b8
mingw: when path_lookup() failed, try BusyBox
dscho Jul 20, 2017
e241778
test-tool: learn to act as a drop-in replacement for `iconv`
dscho Jul 20, 2017
dcff796
tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
dscho Jul 20, 2017
63cc211
gitattributes: mark .png files as binary
dscho Oct 11, 2018
bd8cd01
tests: move test PNGs into t/lib-diff/
dscho Aug 5, 2017
a3461b3
tests: only override sort & find if there are usable ones in /usr/bin/
dscho Jul 17, 2017
1b54c7b
index stage 3
Apr 14, 2026
2eaee25
index stage 2
Apr 14, 2026
8815670
index stage 1
Apr 14, 2026
fcd3e53
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