Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
438 commits
Select commit Hold shift + click to select a range
94309ac
survey: add --top=<N> option and config
derrickstolee Sep 23, 2024
a6c8b80
mingw: do load libcurl dynamically by default
dscho May 7, 2023
2a0fc30
Add a GitHub workflow to verify that Git/Scalar work in Nano Server
dscho Nov 2, 2022
e3bf9fa
mingw: suggest `windows.appendAtomically` in more cases
dsl101 Jul 28, 2023
a3e2688
win32: use native ANSI sequence processing, if possible
dscho Nov 22, 2023
f33c7ee
common-main.c: fflush stdout buffer upon exit
chengzhuo5 Apr 8, 2024
2dd37dd
t5601/t7406(mingw): do run tests with symlink support
dscho Apr 9, 2024
e402090
Fallback to AppData if XDG_CONFIG_HOME is unset
ariellourenco Jul 2, 2024
0579db0
revision: create mark_trees_uninteresting_dense()
derrickstolee Sep 6, 2024
6799845
mingw: make sure `errno` is set correctly when socket operations fail
dscho Nov 14, 2019
7f92921
compat/mingw: handle WSA errors in strerror
rimrul Dec 22, 2024
af474ff
t5563: verify that NTLM authentication works
dscho Nov 26, 2025
036020c
compat/mingw: drop outdated comment
rimrul Dec 22, 2024
fba06e2
http: disallow NTLM authentication by default
dscho Nov 26, 2025
2aa7722
t0301: actually test credential-cache on Windows
rimrul Dec 29, 2024
d06273b
http: warn if might have failed because of NTLM
dscho Nov 26, 2025
a38c1ba
survey: clearly note the experimental nature in the output
dscho Jul 1, 2024
4afef9d
credential-cache: handle ECONNREFUSED gracefully
rimrul Dec 22, 2024
4f80422
reftable: do make sure to use custom allocators
dscho Mar 6, 2025
ca57818
check-whitespace: avoid alerts about upstream commits
dscho Jun 3, 2025
2017cd0
t/t5571-prep-push-hook.sh: Add test with writing to stderr
t-b Jan 26, 2026
febbabf
credential: advertise NTLM suppression and allow helpers to re-enable
dscho Feb 9, 2026
3b701aa
dir: do not traverse mount points
maks244 Mar 30, 2026
aea2858
win32: thread-utils: handle multi-socket systems
rimrul Feb 21, 2026
f29e89e
t5563: add tests for http.emptyAuth with Negotiate
mjcheetham Apr 13, 2026
e2e75ee
entry: flush fscache after creating directories and writing files
tyrielv May 18, 2026
702162c
ci(macos): skip the `git p4` tests
dscho Nov 13, 2025
87020bd
diff: stop truncating the deflated-binary-diff size on Windows
dscho Jun 5, 2026
3e08cb8
convert: widen gather_convert_stats() helpers to size_t
dscho Jun 5, 2026
6bdca9f
read-cache: stop truncating index blob sizes on Windows
dscho Jun 5, 2026
569e285
xdiff-interface: widen buffer_is_binary() size parameter to size_t
dscho Jun 5, 2026
315dc44
mingw: introduce code to detect whether we're inside a Windows container
zcube Apr 23, 2018
10066e1
Win32: symlink: move phantom symlink creation to a separate function
piscisaureus Oct 26, 2018
6a59761
combine-diff: stop truncating combined-diff blob sizes on Windows
dscho Jun 5, 2026
730b882
mingw: Support `git_terminal_prompt` with more terminals
kblees Mar 19, 2015
e4c50ba
mingw: when running in a Windows container, try to rename() harder
zcube Apr 23, 2018
2476d27
Introduce helper to create symlinks that knows about index_state
dscho Feb 11, 2019
61073ba
diff: widen textconv_object() size out-param to size_t
dscho Jun 5, 2026
5a12a29
compat/terminal.c: only use the Windows console if bash 'read -r' fails
kblees May 9, 2015
a1432ff
mingw: move the file_attr_to_st_mode() function definition
zcube Apr 23, 2018
460d669
mingw: allow to specify the symlink type in .gitattributes
piscisaureus Oct 26, 2018
dfc18a4
clean: do not traverse mount points
dscho Dec 7, 2018
886f3a6
pack-bitmap: stop truncating blob sizes used by --filter=blob:limit
dscho Jun 5, 2026
a745e1a
diffcore: widen struct diff_filespec.size to size_t
dscho Jun 5, 2026
3931834
mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
dscho Feb 23, 2018
1492afb
mingw: Windows Docker volumes are *not* symbolic links
dscho Apr 23, 2018
99e9402
mingw: work around rename() failing on a read-only file
dsl101 Jul 28, 2023
8d8772d
Win32: symlink: add test for `symlink` attribute
piscisaureus Oct 26, 2018
3a34271
clean: remove mount points when possible
dscho Dec 11, 2018
9787498
mingw: optionally enable wsl compability file mode bits
swigger Jun 7, 2023
bc66e69
Refuse to follow invalid paths in `.git` files
csware May 28, 2026
6e36bd4
tree-walk: drop link_len cast in get_tree_entry_follow_symlinks()
dscho Jun 5, 2026
cb02f7e
tree-walk: widen init_tree_desc() and init_tree_desc_gently() to size_t
dscho Jun 5, 2026
6922e12
Merge branch 'size-t/pack-objects-delta'
dscho Jun 7, 2026
e3bf662
pack-objects: drop the two tree-walk casts in the preferred-base path
dscho Jun 5, 2026
03e15e7
Merge branch 'size-t/pack-bitmap'
dscho Jun 7, 2026
83f1174
tree: widen struct tree.size and parse_tree_buffer() to size_t
dscho Jun 5, 2026
877d131
Merge branch 'size-t/diff'
dscho Jun 7, 2026
85ba3dc
commit: widen the commit-buffer API to size_t
dscho Jun 5, 2026
5e3c9e4
Merge branch 'size-t/tree'
dscho Jun 7, 2026
0e2bdb4
blame: widen find_line_starts() len parameter to size_t
dscho Jun 5, 2026
5453fea
Merge branch 'size-t/commit'
dscho Jun 7, 2026
311bfc4
grep: widen struct grep_source.size and grep_buffer() to size_t
dscho Jun 5, 2026
2cc230a
Merge branch 'size-t/blame'
dscho Jun 7, 2026
5277a7d
fast-export: drop the export_blob() size cast and widen anonymize_blob()
dscho Jun 5, 2026
4a9d0dd
Merge branch 'size-t/grep'
dscho Jun 7, 2026
65e68af
repo: drop the inflated-size cast in count_objects()
dscho Jun 5, 2026
663bbac
unpack-objects: widen the size-passing infrastructure to size_t
dscho Jun 5, 2026
658957b
Merge branch 'topic/size-t' into size-t-followups
dscho Jun 22, 2026
5321d03
pack-objects: drop cast_size_t_to_ulong shims in get_delta()
dscho Jun 5, 2026
33f006c
pack-objects: drop cast_size_t_to_ulong shims in try_delta()
dscho Jun 5, 2026
5f203b9
pack-objects: drop the last size shim in write_no_reuse_object()
dscho Jun 5, 2026
72ba09c
blame: widen struct blame_scoreboard.final_buf_size to size_t
dscho Jun 5, 2026
f65db05
Merge branch 'size-t/fast-export'
dscho Jun 7, 2026
675c04b
fast-import: drop the six size casts in the object-read paths
dscho Jun 5, 2026
bb39d1a
Merge branch 'size-t/repo'
dscho Jun 7, 2026
83a745e
t/helper/test-pack-deltas: drop the delta_size cast in write_ref_delta()
dscho Jun 5, 2026
b16f5da
Merge branch 'size-t/unpack-objects'
dscho Jun 7, 2026
50c6878
Merge branch 'bump-ci-actions/checkout-from-6-to-7'
dscho Jun 23, 2026
09dc308
Drop the `cast_size_t_to_ulong()` helper
dscho Jun 22, 2026
41ead0b
Merge branch 'topic/size-t' (size_t evacuation, upstream-bound)
dscho Jun 7, 2026
dc0679f
Merge 'remote-hg-prerequisites' into HEAD
dscho Jun 8, 2018
e8d0f85
Merge branch 'topic/size-t-followups' (size_t followups depending on …
dscho Jun 7, 2026
dc35b32
coverity: skip building with Rust, for now
dscho Jun 23, 2026
884134e
Merge branch 'drive-prefix'
dscho Jun 8, 2018
c6610ec
Merge pull request #2375 from assarbad/reintroduce-sideband-config
dscho Oct 30, 2019
8a16fef
Merge pull request #2488 from bmueller84/master
dscho Jan 22, 2020
79c949e
Merge pull request #2501 from jeffhostetler/clink-debug-curl
dscho Jan 30, 2020
1fbaf54
Merge pull request #2504 from dscho/access-repo-via-junction
dscho Feb 1, 2020
f26d73d
Merge pull request #2535 from dscho/schannel-revoke-best-effort
dscho Mar 4, 2020
9c9b182
Merge pull request #2618 from dscho/avoid-d/f-conflict-in-vs/master
dscho May 9, 2020
d835c53
Merge 'add-p-many-files'
dscho Jun 8, 2018
d705779
Merge pull request #2714 from lbonanomi/crlf-scissors
dscho Jul 3, 2020
e9bb1d6
Merge pull request #2655 from jglathe/jg/t0014_trace_extra_info
dscho Oct 9, 2020
8b6a18a
Merge 'git-gui/js/intent-to-add'
dscho Oct 18, 2020
b5c7b10
Merge pull request #2351 from PhilipOakley/vcpkg-tip
dscho Oct 7, 2019
b95f861
Merge pull request #2915 from dennisameling/windows-arm64-support
dscho Dec 9, 2020
f8b8e87
Merge pull request #3327 from dennisameling/fix-host-cpu
dscho Jul 19, 2021
2c5be13
Merge pull request #3165 from dscho/increase-allowed-length-of-interp…
dscho Apr 3, 2021
247ab42
Merge pull request #3220 from dscho/there-is-no-vs/master-anymore
dscho May 17, 2021
d40e09e
Merge pull request #3293 from pascalmuller/http-support-automatically…
dscho Jun 24, 2021
08f817f
Merge pull request #3349 from vdye/feature/ci-subtree-tests
dscho Aug 10, 2021
49f95b3
Merge pull request #3306 from PhilipOakley/vs-sln
dscho Oct 12, 2021
6165eea
Merge pull request #3533 from PhilipOakley/hashliteral_t
dscho Dec 15, 2021
ee8514a
Merge pull request #3791: Various fixes around `safe.directory`
derrickstolee Apr 13, 2022
e4d31b2
Merge pull request #3751 from rkitover/native-term
dscho Apr 21, 2022
f52c9a6
Merge pull request #3875 from 1480c1/wine/detect_msys_tty
dscho May 30, 2022
f6f23d7
Merge branch 'optionally-dont-append-atomically-on-windows'
dscho Jun 23, 2022
e0ae2c5
Merge branch 'fsync-object-files-always'
dscho Oct 11, 2018
d937548
Merge pull request #3942 from rimrul/mingw-tsaware
dscho Jul 27, 2022
3879200
Fix Windows version resources (#4092)
dscho Nov 3, 2022
bf0fed1
Fix global repository field not being cleared (#4083)
dscho Dec 20, 2022
79eb136
Add full `mingw-w64-git` (i.e. regular MSYS2 ecosystem) support (#5971)
dscho Nov 25, 2025
6fcfb4a
Merge pull request #2506 from dscho/issue-2283
dscho Feb 11, 2020
3f412a6
Merge pull request #2974 from derrickstolee/maintenance-and-headless
dscho Jan 11, 2021
f5639a1
ARM64: Embed manifest properly (#4718)
dscho Dec 7, 2023
427a48c
Lazy load libcurl, allowing for an SSL/TLS backend-specific libcurl (…
dscho May 15, 2023
d60f52f
Merge branch 'nano-server'
dscho Aug 7, 2023
b4067de
Additional error checks for issuing the windows.appendAtomically warn…
dscho Aug 7, 2023
81a27eb
win32: use native ANSI sequence processing, if possible (#4700)
dscho Dec 2, 2023
376ae35
common-main.c: fflush stdout buffer when exit (#4901)
dscho Apr 12, 2024
f681811
Merge branch 'run-t5601-and-t7406-with-symlinks-on-windows-10'
dscho Jul 12, 2024
8baa7fe
Merge branch 'Fallback-to-AppData-if-XDG-CONFIG-HOME-is-unset'
dscho Jul 12, 2024
61ca5e1
Add path walk API and its use in 'git pack-objects' (#5171)
derrickstolee Sep 25, 2024
eaec52f
Add experimental 'git survey' builtin (#5174)
dscho Sep 26, 2024
1447c50
credential-cache: handle ECONNREFUSED gracefully (#5329)
dscho Jan 1, 2025
0d10ad6
Merge branch 'reftable-vs-custom-allocators'
dscho Jun 2, 2025
ba2a13c
Merge branch 'check-whitespace-only-downstream'
dscho Jun 3, 2025
1c28348
t/t5571-prep-push-hook.sh: Add test with writing to stderr (#6063)
dscho Jan 27, 2026
2b97a9b
Merge branch 'disallow-ntlm-auth-by-default'
dscho Feb 12, 2026
2354796
Don't traverse mount points in `remove_dir_recurse()` (#6151)
dscho Mar 31, 2026
42e29ca
Detect number of cores better on multi-socket systems (#6108)
dscho Apr 6, 2026
ff58331
http: fix emptyAuth=auto for Negotiate/SPNEGO (#6170)
dscho Apr 14, 2026
457c725
entry: flush fscache after creating directories and writing files (#6…
dscho Jun 8, 2026
e703d62
ci(macos): skip the `git p4` tests (#5954)
dscho Nov 14, 2025
496b607
Merge branch 'msys2'
dscho Nov 15, 2018
816f044
Merge 'docker-volumes-are-no-symlinks'
dscho Oct 12, 2018
6f6f34f
mingw: try resetting the read-only bit if rename fails (#4527)
dscho Aug 7, 2023
8d58199
Merge pull request #1897 from piscisaureus/symlink-attr
dscho Oct 31, 2018
c45789d
Merge branch 'dont-clean-junctions'
dscho Jul 30, 2019
8f1c212
Merge branch 'wsl-file-mode-bits'
dscho Aug 7, 2023
1baf373
Merge branch 'validate-dotgit'
dscho Jun 23, 2026
cb8fc0e
Continue improving support for 4GB+ packs/clones/objects (#6289)
dscho Jun 23, 2026
71d41ab
Merge branch 'skip-rust-in-the-coverity-builds'
dscho Jun 23, 2026
b17549d
Merge branch 'ready-for-upstream'
dscho Oct 11, 2018
049c002
Win32: make FILETIME conversion functions public
kblees Jul 6, 2013
b03e5d5
Win32: dirent.c: Move opendir down
kblees Sep 8, 2013
3a14b18
mingw: make the dirent implementation pluggable
kblees Sep 8, 2013
068cea9
Win32: make the lstat implementation pluggable
kblees Sep 8, 2013
dedcced
mingw: add infrastructure for read-only file system level caches
kblees Sep 8, 2013
1747e4e
mingw: add a cache below mingw's lstat and dirent implementations
kblees Oct 1, 2013
95fbf1a
fscache: load directories only once
kblees Jun 24, 2014
00c0a77
fscache: add key for GIT_TRACE_FSCACHE
jeffhostetler Jan 24, 2017
67dd5ad
fscache: remember not-found directories
jeffhostetler Dec 13, 2016
6a1c52c
fscache: add a test for the dir-not-found optimization
dscho Jan 25, 2017
6e49c48
add: use preload-index and fscache for performance
jeffhostetler Nov 22, 2016
ad0ef00
dir.c: make add_excludes aware of fscache during status
jeffhostetler Nov 1, 2017
e4d8335
fscache: make fscache_enabled() public
jeffhostetler Dec 20, 2017
2bb973d
dir.c: regression fix for add_excludes with fscache
jeffhostetler Dec 20, 2017
e0fa286
fetch-pack.c: enable fscache for stats under .git/objects
Nov 22, 2017
b72bb53
checkout.c: enable fscache for checkout again
Jan 30, 2018
344bba4
mem_pool: add GIT_TRACE_MEMPOOL support
benpeart Oct 4, 2018
93e8021
Enable the filesystem cache (fscache) in refresh_index().
benpeart Sep 7, 2018
f31d9f4
fscache: fscache takes an initial size
benpeart Nov 2, 2018
6f5fa12
fscache: use FindFirstFileExW to avoid retrieving the short name
benpeart Oct 23, 2018
1848982
fscache: update fscache to be thread specific instead of global
benpeart Oct 4, 2018
f621f94
fscache: add GIT_TEST_FSCACHE support
benpeart Oct 4, 2018
01227b5
fscache: teach fscache to use mempool
benpeart Nov 2, 2018
d0f69bb
fscache: add fscache hit statistics
benpeart Sep 25, 2018
8f45216
fscache: make fscache_enable() thread safe
benpeart Nov 16, 2018
aa5decf
git-gui--askyesno: fix funny text wrapping
dscho Sep 20, 2017
63dc7c7
unpack-trees: enable fscache for sparse-checkout
derrickstolee Jun 12, 2019
8c52147
status: disable and free fscache at the end of the status command
benpeart Nov 1, 2018
8925b91
fscache: teach fscache to use NtQueryDirectoryFile
benpeart Nov 15, 2018
ab2931c
git-gui--askyesno (mingw): use Git for Windows' icon, if available
dscho Sep 20, 2017
7b7da94
fscache: remember the reparse tag for each entry
dscho Dec 11, 2018
3e774e2
fscache: Windows Docker volumes are *not* symbolic links
dscho Apr 23, 2018
6749f92
fscache: optionally enable wsl compability file mode bits
swigger Jun 7, 2023
c56fc5b
Merge branch 'fscache'
dscho Nov 15, 2018
1539298
compat/poll: do not collect more handles than the wait supports
tyrielv Sep 1, 2026
19bd15d
fscache: implement an FSCache-aware is_mount_point()
dscho Dec 11, 2018
8cb3f26
Merge pull request #1909 from benpeart/free-fscache-after-status-gfw
dscho Nov 5, 2018
9661f9f
parallel-checkout: limit worker count to what poll() can wait on
tyrielv Sep 1, 2026
c579e9d
clean: make use of FSCache
dscho Dec 11, 2018
b25eeec
Merge remote-tracking branch 'benpeart/fscache-per-thread-gfw'
dscho Nov 16, 2018
3e36718
run-command: limit concurrent children to what poll() can wait on
tyrielv Sep 1, 2026
6b70efd
Merge branch 'dont-clean-junctions-fscache'
dscho Jul 23, 2019
6b83a3e
parallel-checkout: fix stack buffer overflow in Windows poll() with m…
dscho Sep 10, 2026
79ce8ad
pack-objects (mingw): demonstrate a segmentation fault with large deltas
vangdfang Jan 9, 2014
628d259
mingw: support long paths
kblees Jul 28, 2015
4212838
win32(long path support): leave drive-less absolute paths intact
dscho Sep 6, 2023
706c4a8
mingw: explicitly specify with which cmd to prefix the cmdline
dscho Jul 20, 2017
5228e53
mingw: when path_lookup() failed, try BusyBox
dscho Jul 20, 2017
f187b3d
test-tool: learn to act as a drop-in replacement for `iconv`
dscho Jul 20, 2017
5fd8e3c
tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
dscho Jul 20, 2017
09950ae
gitattributes: mark .png files as binary
dscho Oct 11, 2018
9825f87
tests: move test PNGs into t/lib-diff/
dscho Aug 5, 2017
1515650
tests: only override sort & find if there are usable ones in /usr/bin/
dscho Jul 17, 2017
227932d
tests: use the correct path separator with BusyBox
dscho Nov 19, 2018
f225e23
mingw: only use Bash-ism `builtin pwd -W` when available
dscho Jun 29, 2017
4533660
tests (mingw): remove Bash-specific pwd option
dscho Jun 30, 2017
75adc21
test-lib: add BUSYBOX prerequisite
dscho Jul 19, 2017
4b6c43d
t5003: use binary file from t/lib-diff/
dscho Aug 5, 2017
b2b8ff8
t5532: workaround for BusyBox on Windows
dscho Jul 21, 2017
82efda6
t5605: special-case hardlink test for BusyBox-w32
dscho Jul 21, 2017
cbd1932
compat/fsmonitor/fsm-*-win32: support long paths
jeffhostetler Mar 25, 2022
c784721
t5813: allow for $PWD to be a Windows path
dscho Jul 5, 2017
e2116de
clean: suggest using `core.longPaths` if paths are too long to remove
mathstuf Apr 22, 2022
b741dfa
t9200: skip tests when $PWD contains a colon
dscho Jul 7, 2017
7d53bf2
Partially un-revert "editor: save and reset terminal after calling ED…
dscho Nov 25, 2021
1f2bf4a
Add a GitHub workflow to monitor component updates
dscho Sep 29, 2020
8fd6c76
reset: reinstate support for the deprecated --stdin option
dscho Dec 10, 2019
fb77a27
fsmonitor: reintroduce core.useBuiltinFSMonitor
vdye Apr 4, 2022
b459b83
Describe Git for Windows' architecture
dscho Feb 13, 2023
ab83bc1
Add an AGENTS.md file to help with AI-assisted debugging/development
dscho Jan 26, 2026
df5b552
Modify the Code of Conduct for Git for Windows
dscho Oct 11, 2019
c84f374
CONTRIBUTING.md: add guide for first-time contributors
derrickstolee Mar 1, 2018
7b76f21
README.md: Add a Windows-specific preamble
dscho Jan 10, 2014
693fc30
Merge branch 'gitk-and-git-gui-patches'
dscho Oct 11, 2018
ce8640e
Add an issue template
shiftkey Feb 18, 2016
e27ca80
Merge branch 'long-paths'
dscho Nov 15, 2018
ae6ae62
Modify the GitHub Pull Request template (to reflect Git for Windows)
Dec 22, 2017
ec97a1b
Merge branch 'busybox-w32'
dscho Feb 7, 2019
c6a0a27
SECURITY.md: document Git for Windows' policies
dscho Aug 23, 2019
527ac48
Merge branch 'un-revert-editor-save-and-reset'
dscho Jan 15, 2022
107b4a2
dependabot: help keeping GitHub Actions versions up to date
dscho Feb 6, 2024
7bf8c9c
ci: only run the expensive tests in the Windows tests for now
dscho Jun 12, 2026
55c1c90
repo: split annotated tags out from total tag count in structure
dscho Jun 5, 2026
d8b024a
repo: filter the structure scope via --ref-filter=<pattern>
dscho Jun 5, 2026
c3a125f
repo: report top-N paths by count, disk, and inflated size in structure
dscho Jun 5, 2026
700430e
Merge branch 'phase-out-reset-stdin'
dscho Jun 8, 2018
9813912
t1901: cover the --top option of `git repo structure`
dscho Jun 5, 2026
0fbc616
Merge branch 'deprecate-core.useBuiltinFSMonitor'
dscho Jan 24, 2023
ff71a9e
repo: read the `--top` default from `repo.structure.top`
dscho Jun 5, 2026
3ad7429
mingw: handle staging 4GB+ files correctly
dscho Jul 30, 2026
b4fe3fd
Merge pull request #2837 from dscho/monitor-component-updates
dscho Oct 7, 2020
44ad347
git-survey: announce the upcoming pivot into `git repo structure`
dscho Jun 5, 2026
a867bca
build(deps): bump actions/cache from 5 to 6
dependabot[bot] Jun 29, 2026
2eb1516
mingw: support unpacking loose 4GB+ objects
dscho Jul 30, 2026
c2f3c12
Merge 'readme' into HEAD
dscho Jun 7, 2018
f817e4e
survey: turn into a thin shim over `git repo structure`
dscho Jun 5, 2026
df2b1ed
build(deps): bump actions/cache from 5 to 6 (#6303)
dscho Jul 1, 2026
3e9d097
t: add an expensive test to verify that 4GB+ blobs can be staged/read
dscho Jul 30, 2026
8c04941
bundle-uri: refuse advertised URIs by protocol
dscho Jun 26, 2026
8edbcb6
Turn `git survey` into a deprecated shim over `git repo structure` (#…
dscho Jul 8, 2026
889707a
git-for-windows: prepare for 2.55.0(5)
mjcheetham Aug 20, 2026
d3367bb
object-file: use size_t for object size in check_object_signature()
i80487 Sep 15, 2026
8730046
Merge tag 'v2.55.0.windows.4'
dscho Aug 11, 2026
6803ff4
Merge tag 'v2.55.0.windows.5'
mjcheetham Aug 21, 2026
c731bc9
Support loose 4GB+ objects (#6353)
dscho Aug 31, 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
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,30 @@ jobs:
steps:
- uses: actions/checkout@v7
- uses: git-for-windows/setup-git-for-windows-sdk@v2
- name: Install GCC-compatible Rust target
shell: bash
run: |
# The hosted Windows runners ship a rustup-managed Rust whose
# default toolchain targets the MSVC ABI. That produces a
# `gitcore.lib` which the MinGW GCC used by the rest of the
# build cannot link. Install the precompiled `std` for a
# GCC-compatible target triple matching the MSYS2 subsystem;
# the Makefile selects the same triple via $(MSYSTEM) and
# passes it to `cargo build --target`.
case "$MSYSTEM" in
CLANGARM64) target=aarch64-pc-windows-gnullvm ;;
CLANG64) target=x86_64-pc-windows-gnullvm ;;
CLANG32) target=i686-pc-windows-gnullvm ;;
UCRT64) target=x86_64-pc-windows-gnu ;;
MINGW64) target=x86_64-pc-windows-gnu ;;
MINGW32) target=i686-pc-windows-gnu ;;
*) echo "::error::Unsupported MSYSTEM: $MSYSTEM"; exit 1 ;;
esac &&
rustup target add "$target" &&

# Ensure that cargo.exe is found even with the minimal SDK's restricted PATH
CARGO="$(type -p cargo.exe)" &&
echo "export PATH=\$PATH:${CARGO%/cargo.exe}" >>/etc/profile
- name: build
shell: bash
env:
Expand Down
102 changes: 102 additions & 0 deletions Documentation/RelNotes/2.56.0.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,21 @@ UI, Workflows & Features
drop merge commits and linearize the replayed history, mimicking 'git
rebase --no-rebase-merges'.

* The documentation for 'git cherry-pick' has been updated to clarify
that the '--no-commit' option intentionally skips setting the
'CHERRY_PICK_HEAD' ref. A test has also been added to ensure this
behavior holds even when the operation stops for conflicts.

* The 'git imap-send' command has been taught to take the '--draft'
option to mark uploaded messages as drafts, which helps some email
clients render them properly for editing and sending.

* The git rev-list command has been augmented with a '--missing-only'
option that filters the output to only show missing objects,
stripping the leading '?' character and suppressing present objects,
which is useful when used in combination with '--missing=print' or
'--missing=print-info'.


Performance, Internal Implementation, Development Support etc.
--------------------------------------------------------------
Expand Down Expand Up @@ -512,6 +527,44 @@ Performance, Internal Implementation, Development Support etc.
during a concurrent geometric repack, and 'git replay' has been
fixed to not segfault when reading such missing objects.

* A collection of patches from Git for Windows has been upstreamed,
mostly focusing on simplifying and robustifying build configurations
for MinGW/MSYS2, dropping obsolete compatibility options, and allowing
the main 'git.exe' to be used directly without the extra wrapper
process on Windows.

* The process of downloading packfile URIs in protocol v2 has been
instrumented with a Trace2 region. This visibility allows tracking
the cumulative time spent downloading external packs and the number
of advertised URIs without emitting a separate event per pack.

* CGI helper scripts used by HTTP-related test scripts have been updated
to use atomic filesystem operations, preventing race conditions when
Apache handles concurrent requests.

* "git maintenance" triggered "rerere gc" in unappropriate times and
interfered with "git rebase" etc. too much. The conditions "rerere
gc" gets triggered have been tweaked.

* Windows build switches from MINGW64 to URCR64 runtime starting Git
2.56.0; switch the cmake based build at the same time.

* The mechanism to register in-memory alternate object sources has
been removed, as submodule object databases are now accessed
natively via their own repository structures. This simplifies
object database management and prepares the codebase for migrating
alternate tracking into the files backend.

* The consistency checks for the object database (fsck) have been
decoupled from the generic builtin implementation and moved into the
backend-specific object source layers, making them pluggable for
different object storage formats.

* When cross-compiling with Cargo, the output artifact is placed in a
target-specific subdirectory, which causes the build system to fail
to locate it. The build system has been updated to respect the
'CARGO_BUILD_TARGET' environment variable.


Fixes since v2.55
-----------------
Expand Down Expand Up @@ -804,6 +857,55 @@ Fixes since v2.55
trailing slashes.
(merge 2e8a9d94b0 rs/worktree-add-basename-fixes later to maint).

* The CI job for Debian 11 has been updated to use Debian 12, as the
former is now out of the LTS period.
(merge 00fa850235 jk/ci-bump-debian-to-12 later to maint).

* The CI script to install dependencies for the documentation build
has been updated to install asciidoctor directly via the system
package manager instead of pinning to an older version via gem.
Additionally, an obsolete variable used for retired Azure Pipelines
environments has been removed.

* Teach 'am', 'revert', and 'rebase' that running 'commit --amend' or a
partial 'commit <paths>' makes no sense during operations that stop
and return control to the user to resolve conflicts left in the
working tree, just like 'cherry-pick' and 'merge' do.
(merge cc499d40e5 en/no-amend-during-conflicts later to maint).

* The error path in 'git submodule--helper' has been updated to plug a
memory leak when a repository handle could not be obtained,
leveraging an updated idempotent repo_clear().
(merge 2c03739705 jk/submodule-error-leak later to maint).

* Two members in "struct pathspec_item" were of type "char *", but
nobody updated the string through these pointers. They have been
made "const char *" instead.
(merge 88d06b1c91 jc/pathspec-match-const later to maint).

* The gitdatamodel documentation page has been linked from a handful
of key documentaiton pages.
(merge ec602484bd kh/doc-datamodel later to maint).

* Running "git history" in a corrupt repository can (unsurprisingly)
segfault when a necessary tree object is not found.
(merge 76621488e8 jc/history-missing-tree-errorfix later to maint).

* The development helper script to lint gitlink references in the
documentation has been updated to avoid a newer Perl regular
expression syntax that breaks on older Perl versions.
(merge 8a631963a9 ta/lint-gitlink-older-perl-fix later to maint).

* The autostash fallback in 'git checkout -m' has been refined to only
retry when there are local changes. Additionally, a blank line now
visually separates autostash conflict advice from the subsequent
branch-switch message.
(merge 2ba77ea828 hn/checkout-m-autostash-refine later to maint).

* The memory leak caused by not unusing the commit buffer returned by
repo_logmsg_reencode() during the rewording operation in 'git
history' has been plugged.

* Other code cleanup, docfix, build fix, etc.
(merge 026636128f ss/submittingpatches-typofix later to maint).
(merge d2af22cc21 jc/rerere-doc-typofix later to maint).
Expand Down
9 changes: 5 additions & 4 deletions Documentation/config/maintenance.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ The possible strategies are:
This repacking strategy is a full replacement for the `gc` strategy and is
recommended for large repositories. This is the default strategy for manual
maintenance.
+
* `incremental`: This setting optimizes for performing small maintenance
activities that do not delete any data. This does not schedule the `gc`
task, but runs the `prefetch` and `commit-graph` tasks hourly, the
Expand Down Expand Up @@ -121,10 +122,10 @@ maintenance.rerere-gc.auto::
This integer config option controls how often the `rerere-gc` task
should be run as part of `git maintenance run --auto`. If zero, then
the `rerere-gc` task will not run with the `--auto` option. A negative
value will force the task to run every time. Otherwise, any positive
value implies the command will run when the "rr-cache" directory exists
and has at least one entry, regardless of whether it is stale or not.
This heuristic may be refined in the future. The default value is 1.
value will force the task to run every time. Otherwise, a positive
value implies the command should run when the estimated number of stale
entries that would be pruned is greater than or equal to the configured
value. The default value is 512.

maintenance.worktree-prune.auto::
This integer config option controls how often the `worktree-prune` task
Expand Down
8 changes: 7 additions & 1 deletion Documentation/git-cherry-pick.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ happens:
1. The current branch and `HEAD` pointer stay at the last commit
successfully made.
2. The `CHERRY_PICK_HEAD` ref is set to point at the commit that
introduced the change that is difficult to apply.
introduced the change that is difficult to apply, unless the
`--no-commit` option was given.
3. Paths in which the change applied cleanly are updated both
in the index file and in your working tree.
4. For conflicting paths, the index file records up to three
Expand Down Expand Up @@ -101,6 +102,11 @@ OPTIONS
+
This is useful when cherry-picking more than one commits'
effect to your index in a row.
+
This option does not record `CHERRY_PICK_HEAD`, so a plain `git commit`
afterwards records you as the author. That is by design: what you are
building is your own work, which you keep changing before committing,
rather than a reproduction of the original commit.

-s::
--signoff::
Expand Down
9 changes: 8 additions & 1 deletion Documentation/git-imap-send.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ git-imap-send - Send a collection of patches from stdin to an IMAP folder
SYNOPSIS
--------
[synopsis]
git imap-send [-v] [-q] [--[no-]curl] [(--folder|-f) <folder>]
git imap-send [-v] [-q] [--[no-]curl] [--[no-]draft] [(--folder|-f) <folder>]
git imap-send --list


Expand Down Expand Up @@ -55,6 +55,13 @@ OPTIONS
using libcurl. Ignored if Git was built with the NO_OPENSSL option
set.

`--draft`::
`--no-draft`::
Mark uploaded messages with the IMAP `\Draft` flag. The default is `--no-draft`.
+
With libcurl, `--draft` requires version 8.13.0 or later.
Older libcurl still uploads the message but cannot set the flag.

`--list`::
Run the IMAP LIST command to output a list of all the folders present.

Expand Down
9 changes: 9 additions & 0 deletions Documentation/git-stash.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,15 @@ include::includes/cmd-config-section-all.adoc[]
:git-stash: 1
include::config/stash.adoc[]

EXIT STATUS
-----------
The `git stash` subcommands exit with status 0 on success. The
subcommands that apply a stash entry, i.e. `apply`, `pop` and `branch`,
exit with status 1 when applying the stash entry resulted in conflicts,
in which case the stash entry is left in place, and with a non-zero
status other than 1 when they fail for other reasons.
SEE ALSO
--------
Expand Down
12 changes: 8 additions & 4 deletions Documentation/git.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ and full access to internals.
See linkgit:gittutorial[7] to get started, then see
linkgit:giteveryday[7] for a useful minimum set of
commands. The link:user-manual.html[Git User's Manual] has a more
in-depth introduction.
in-depth introduction. See linkgit:gitdatamodel[7] if you want to
learn about the data model and important terminology.

After you mastered the basic concepts, you can come back to this
page to learn what commands Git offers. You can learn more about
Expand Down Expand Up @@ -469,7 +470,9 @@ Higher level SCMs may provide and manage additional information in the

Terminology
-----------
Please see linkgit:gitglossary[7].
Please see linkgit:gitglossary[7]. See linkgit:gitdatamodel[7] for a
discussion of the core data model, which includes important terminology
used throughout the documentation.


Environment Variables
Expand Down Expand Up @@ -1199,8 +1202,9 @@ SEE ALSO
--------
linkgit:gittutorial[7], linkgit:gittutorial-2[7],
linkgit:giteveryday[7], linkgit:gitcvs-migration[7],
linkgit:gitglossary[7], linkgit:gitcore-tutorial[7],
linkgit:gitcli[7], link:user-manual.html[The Git User's Manual],
linkgit:gitglossary[7], linkgit:gitdatamodel[7],
linkgit:gitcore-tutorial[7], linkgit:gitcli[7],
link:user-manual.html[The Git User's Manual],
linkgit:gitworkflows[7]

GIT
Expand Down
4 changes: 4 additions & 0 deletions Documentation/gitdatamodel.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ $ git reflog main --date=iso --no-decorate
4ccb6d7 main@{2025-09-29 15:16:48 -0400}: commit (initial): Initial commit
----

SEE ALSO
--------
linkgit:gitglossary[7]

GIT
---
Part of the linkgit:git[1] suite
1 change: 1 addition & 0 deletions Documentation/gitglossary.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ include::glossary-content.adoc[]

SEE ALSO
--------
linkgit:gitdatamodel[7],
linkgit:gittutorial[7],
linkgit:gittutorial-2[7],
linkgit:gitcvs-migration[7],
Expand Down
13 changes: 10 additions & 3 deletions Documentation/glossary-content.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ for a more flexible and robust system to do the same thing.
as objects. The index is a stored version of your
<<def_working_tree,working tree>>. Truth be told, it can also contain a second, and even
a third version of a working tree, which are used
when <<def_merge,merging>>.
when <<def_merge,merging>>. See "THE INDEX" in
linkgit:gitdatamodel[7] for details.

[[def_index_entry]]index entry::
The information regarding a particular file, stored in the
Expand Down Expand Up @@ -290,7 +291,8 @@ This commit is referred to as a "merge commit", or sometimes just a
[[def_object]]object::
The unit of storage in Git. It is uniquely identified by the
<<def_SHA1,SHA-1>> of its contents. Consequently, an
object cannot be changed.
object cannot be changed. See "OBJECTS" in
linkgit:gitdatamodel[7] for details.

[[def_object_database]]object database::
Stores a set of "objects", and an individual <<def_object,object>> is
Expand Down Expand Up @@ -587,12 +589,17 @@ extended in the future:
Different subhierarchies are used for different purposes. For example,
the `refs/heads/` hierarchy is used to represent local branches whereas
the `refs/tags/` hierarchy is used to represent local tags..
+
See also "REFERENCES" in linkgit:gitdatamodel[7].

[[def_reflog]]reflog::
A reflog shows the local "history" of a ref. In other words,
it can tell you what the 3rd last revision in _this_ repository
was, and what was the current state in _this_ repository,
yesterday 9:14pm. See linkgit:git-reflog[1] for details.
yesterday 9:14pm.
+
See "REFLOGS" in linkgit:gitdatamodel[7] for a short explanation of the
format. See linkgit:git-reflog[1] for details.

[[def_refspec]]refspec::
A "refspec" is used by <<def_fetch,fetch>> and
Expand Down
2 changes: 1 addition & 1 deletion Documentation/lint-gitlink.perl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ sub report {
while (<>) {
my $line = $_;
next if $line =~ /^\s*(ifn?def|endif)::/;
while ($line =~ m/(.{,8})((git[-a-z]+|scalar)\[(\d)*\])/g) {
while ($line =~ m/(.{0,8})((git[-a-z]+|scalar)\[(\d)*\])/g) {
my $pos = pos $line;
my ($macro, $target, $page, $section) = ($1, $2, $3, $4);
if ( $macro ne "linkgit:" ) {
Expand Down
13 changes: 13 additions & 0 deletions Documentation/rev-list-options.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,19 @@ If some tips passed to the traversal are missing, they will be
considered as missing too, and the traversal will ignore them. In case
we cannot get their Object ID though, an error will be raised.

`--missing-only`::
When used together with `--missing=print` or `--missing=print-info`,
suppress all output for present objects and print only the missing
ones. The selected `--missing=` format is preserved (so
`--missing=print-info` still emits `path=` / `type=` fields), but the
leading ``?'' prefix used by the non-`-z` forms is omitted. This is
useful for scripting, as a simpler and faster alternative to
post-processing the output of `--missing=print`.
+
This option is incompatible with `--count` and `--disk-usage`.
It is an error to use `--missing-only` without `--missing=print` or
`--missing=print-info`.

`--exclude-promisor-objects`::
(For internal use only.) Prefilter object traversal at
promisor boundary. This is used with partial clone. This is
Expand Down
2 changes: 1 addition & 1 deletion GIT-VERSION-GEN
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

DEF_VER=v2.56.0-rc0
DEF_VER=v2.56.0-rc1

LF='
'
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ RUST_LIB_NAME = gitcore.lib
else
RUST_LIB_NAME = libgitcore.a
endif
RUST_LIB = target/$(RUST_BUILD_CONFIG)/$(RUST_LIB_NAME)
RUST_LIB = target$(if $(CARGO_BUILD_TARGET),/$(CARGO_BUILD_TARGET))/$(RUST_BUILD_CONFIG)/$(RUST_LIB_NAME)
endif

GITLIBS = common-main.o $(LIB_FILE)
Expand Down
Loading
Loading