Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
815 commits
Select commit Hold shift + click to select a range
23dbb89
t0014: fix indentation
jglathe Jun 2, 2020
477b99a
git-gui: accommodate for intent-to-add files
dscho Aug 12, 2020
b36b9fa
vcpkg_install: add comment regarding slow network connections
PhilipOakley Oct 6, 2019
4a80989
Add schannel to curl installation
dennisameling Dec 6, 2020
80d5755
cmake(): allow setting HOST_CPU for cross-compilation
dennisameling Jul 19, 2021
b3213b6
mingw: allow for longer paths in `parse_interpreter()`
dscho Apr 2, 2021
d8e0669
compat/vcbuild: document preferred way to build in Visual Studio
dscho May 17, 2021
18bf7ef
http: optionally send SSL client certificate
pascalmuller Jun 23, 2021
a3a10f2
ci: run `contrib/subtree` tests in CI builds
vdye Aug 5, 2021
0b82bc8
CMake: show Win32 and Generator_platform build-option values
PhilipOakley May 10, 2021
05f99d5
object-file.c: use size_t for header lengths
PhilipOakley Nov 12, 2021
ef24c9b
mingw: stop hard-coding `CC = gcc`
dscho Nov 23, 2025
f2b6e3b
mingw: drop the -D_USE_32BIT_TIME_T option
dscho Nov 21, 2025
498e517
hash algorithms: use size_t for section lengths
PhilipOakley Nov 12, 2021
c77b4a0
mingw: only use -Wl,--large-address-aware for 32-bit builds
dscho Nov 21, 2025
0a9f94f
hash-object --stdin: verify that it works with >4GB/LLP64
PhilipOakley Dec 6, 2021
05fa365
mingw: avoid over-specifying `--pic-executable`
dscho Nov 21, 2025
d8fe3c3
hash-object: add another >4GB/LLP64 test case
PhilipOakley Dec 6, 2021
c9fb0e8
setup: properly use "%(prefix)/" when in WSL
derrickstolee Apr 13, 2022
e9b1b71
mingw: set the prefix and HOST_CPU as per MSYS2's settings
dscho Nov 21, 2025
a2fcb40
hash-object: add a >4GB/LLP64 test case using filtered input
PhilipOakley Dec 7, 2021
264d52d
compat/mingw.c: do not warn when failing to get owner
derrickstolee Apr 13, 2022
47c6f68
mingw: $env:TERM="xterm-256color" for newer OSes
rkitover Apr 12, 2022
a78ec9f
winansi: check result and Buffer before using Name
1480c1 May 28, 2022
94c9507
Add config option `windows.appendAtomically`
sunzhuoshi Jan 15, 2022
1fdd0d3
mingw: change core.fsyncObjectFiles = 1 by default
dscho Sep 4, 2017
d827db3
MinGW: link as terminal server aware
rimrul Jul 10, 2022
5b71da5
Fix Windows version resources
Mortein Nov 2, 2022
64acc36
status: fix for old-style submodules with commondir
sceptical-coder Oct 28, 2022
7e69720
windows: skip linking `git-<command>` for built-ins
dscho Jan 27, 2023
510f7bf
Merge branch 'dscho-avoid-d-f-conflict-in-vs-master'
dscho Apr 13, 2021
918d768
clink.pl: fix libexpatd.lib link error when using MSVC
jeffhostetler Mar 30, 2021
515a11d
Makefile: clean up .ilk files when MSVC=1
jeffhostetler Apr 5, 2021
5aac754
vcbuild: add support for compiling Windows resource files
jeffhostetler Apr 5, 2021
3a86386
mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
dscho Nov 21, 2025
0f7b4fe
config.mak.uname: add git.rc to MSVC builds
jeffhostetler Apr 5, 2021
0270dbd
http: optionally load libcurl lazily
dscho May 6, 2023
5c59e1c
mingw: rely on MSYS2's metadata instead of hard-coding it
dscho Nov 21, 2025
8a1a808
mingw: ensure valid CTYPE
dscho Feb 21, 2017
ec245f7
clink.pl: ignore no-stack-protector arg on MSVC=1 builds
jeffhostetler Apr 5, 2021
83d7f0b
http: support lazy-loading libcurl also on Windows
dscho May 7, 2023
aed6dba
mingw: always define `ETC_*` for MSYS2 environments
dscho Nov 21, 2025
e53db48
mingw: allow `git.exe` to be used instead of the "Git wrapper"
dscho Jan 31, 2020
d35b1d9
clink.pl: move default linker options for MSVC=1 builds
jeffhostetler Apr 5, 2021
78345d8
http: when loading libcurl lazily, allow for multiple SSL backends
dscho May 7, 2023
daf52c6
max_tree_depth: lower it for clang builds in general on Windows
dscho Nov 21, 2025
ed6cea2
mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system dire…
dscho Aug 25, 2020
c3e6b22
cmake: install headless-git.
Berrysoft Mar 11, 2023
2b54064
git.rc: include winuser.h
rimrul Dec 2, 2023
7bd6954
mingw: do load libcurl dynamically by default
dscho May 7, 2023
8f7f0a6
Add a GitHub workflow to verify that Git/Scalar work in Nano Server
dscho Nov 2, 2022
ac15061
mingw: suggest `windows.appendAtomically` in more cases
dsl101 Jul 28, 2023
a8e7701
win32: use native ANSI sequence processing, if possible
dscho Nov 22, 2023
386459f
common-main.c: fflush stdout buffer upon exit
chengzhuo5 Apr 8, 2024
a3adc18
survey: stub in new experimental 'git-survey' command
Apr 29, 2024
70c50f5
survey: add command line opts to select references
Apr 29, 2024
a6269f9
survey: start pretty printing data in table form
derrickstolee Sep 1, 2024
6d33f4c
survey: add object count summary
derrickstolee Sep 2, 2024
5d882a1
survey: summarize total sizes by object type
derrickstolee Sep 2, 2024
7534450
survey: show progress during object walk
derrickstolee Sep 2, 2024
cde6104
mingw: make sure `errno` is set correctly when socket operations fail
dscho Nov 14, 2019
234bf21
survey: add ability to track prioritized lists
derrickstolee Sep 2, 2024
1b532f4
compat/mingw: handle WSA errors in strerror
rimrul Dec 22, 2024
d9de593
t5563: verify that NTLM authentication works
dscho Nov 26, 2025
22a2a07
survey: add report of "largest" paths
derrickstolee Sep 2, 2024
35b88e9
compat/mingw: drop outdated comment
rimrul Dec 22, 2024
77b8a95
http: disallow NTLM authentication by default
dscho Nov 26, 2025
c10d0c1
survey: add --top=<N> option and config
derrickstolee Sep 23, 2024
a381bb8
t0301: actually test credential-cache on Windows
rimrul Dec 29, 2024
5c85afd
http: warn if might have failed because of NTLM
dscho Nov 26, 2025
06c1f2e
t5601/t7406(mingw): do run tests with symlink support
dscho Apr 9, 2024
e46a1ba
win32: ensure that `localtime_r()` is declared even in i686 builds
dscho May 21, 2024
e035faf
Fallback to AppData if XDG_CONFIG_HOME is unset
ariellourenco Jul 2, 2024
00398b4
run-command: be helpful with Git LFS fails on Windows 7
dscho Jul 4, 2024
3efe890
revision: create mark_trees_uninteresting_dense()
derrickstolee Sep 6, 2024
f7c678a
survey: clearly note the experimental nature in the output
dscho Jul 1, 2024
d14a99f
credential-cache: handle ECONNREFUSED gracefully
rimrul Dec 22, 2024
07f8d2d
reftable: do make sure to use custom allocators
dscho Mar 6, 2025
02d0a84
check-whitespace: avoid alerts about upstream commits
dscho Jun 3, 2025
1b5dcfd
t/t5571-prep-push-hook.sh: Add test with writing to stderr
t-b Jan 26, 2026
0df2b9a
credential: advertise NTLM suppression and allow helpers to re-enable
dscho Feb 9, 2026
7479a3e
dir: do not traverse mount points
maks244 Mar 30, 2026
cf29cc4
Merge 'remote-hg-prerequisites' into HEAD
dscho Jun 8, 2018
95072fd
Merge branch 'drive-prefix'
dscho Jun 8, 2018
7dd33cc
mingw: introduce code to detect whether we're inside a Windows container
zcube Apr 23, 2018
7d19347
Win32: symlink: move phantom symlink creation to a separate function
piscisaureus Oct 26, 2018
9dd12a2
Merge branch 'msys2-python'
dscho May 31, 2019
f6a574b
mingw: Support `git_terminal_prompt` with more terminals
kblees Mar 19, 2015
76b8e46
mingw: when running in a Windows container, try to rename() harder
zcube Apr 23, 2018
309243a
Introduce helper to create symlinks that knows about index_state
dscho Feb 11, 2019
0aff198
Merge pull request #2375 from assarbad/reintroduce-sideband-config
dscho Oct 30, 2019
650cd87
compat/terminal.c: only use the Windows console if bash 'read -r' fails
kblees May 9, 2015
5d071e4
mingw: move the file_attr_to_st_mode() function definition
zcube Apr 23, 2018
121b261
mingw: allow to specify the symlink type in .gitattributes
piscisaureus Oct 26, 2018
c709e2d
clean: do not traverse mount points
dscho Dec 7, 2018
4cd7d4a
mingw: kill child processes in a gentler way
dscho May 17, 2017
90bbb99
Merge pull request #2488 from bmueller84/master
dscho Jan 22, 2020
3b36afe
win32: thread-utils: handle multi-socket systems
rimrul Feb 21, 2026
5a0eab5
t5563: add tests for http.emptyAuth with Negotiate
mjcheetham Apr 13, 2026
afbe174
entry: flush fscache after creating directories and writing files
tyrielv May 18, 2026
4f9aafc
ci(macos): skip the `git p4` tests
dscho Nov 13, 2025
990591b
mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
dscho Feb 23, 2018
fd04e89
mingw: Windows Docker volumes are *not* symbolic links
dscho Apr 23, 2018
8cb04b8
mingw: work around rename() failing on a read-only file
dsl101 Jul 28, 2023
1f7851d
Win32: symlink: add test for `symlink` attribute
piscisaureus Oct 26, 2018
86a9667
clean: remove mount points when possible
dscho Dec 11, 2018
9b32c74
mingw: optionally enable wsl compability file mode bits
swigger Jun 7, 2023
510a752
mingw: really handle SIGINT
dscho Apr 22, 2018
e254d1e
Merge pull request #2501 from jeffhostetler/clink-debug-curl
dscho Jan 30, 2020
999ecd7
Merge pull request #2504 from dscho/access-repo-via-junction
dscho Feb 1, 2020
83665d4
Merge pull request #2535 from dscho/schannel-revoke-best-effort
dscho Mar 4, 2020
49d4cbc
Merge pull request #2618 from dscho/avoid-d/f-conflict-in-vs/master
dscho May 9, 2020
fa5a4b0
Merge 'add-p-many-files'
dscho Jun 8, 2018
dd3c366
Merge pull request #2714 from lbonanomi/crlf-scissors
dscho Jul 3, 2020
3216813
Merge pull request #2655 from jglathe/jg/t0014_trace_extra_info
dscho Oct 9, 2020
29c457d
Merge 'git-gui/js/intent-to-add'
dscho Oct 18, 2020
b040c9b
Merge pull request #2351 from PhilipOakley/vcpkg-tip
dscho Oct 7, 2019
b77a85d
Merge pull request #2915 from dennisameling/windows-arm64-support
dscho Dec 9, 2020
60bffad
Merge pull request #3327 from dennisameling/fix-host-cpu
dscho Jul 19, 2021
c8b0456
Merge pull request #3165 from dscho/increase-allowed-length-of-interp…
dscho Apr 3, 2021
018acff
Merge pull request #3220 from dscho/there-is-no-vs/master-anymore
dscho May 17, 2021
32f8e60
Merge pull request #3293 from pascalmuller/http-support-automatically…
dscho Jun 24, 2021
31a192a
Merge pull request #3349 from vdye/feature/ci-subtree-tests
dscho Aug 10, 2021
0bdd16b
Merge pull request #3306 from PhilipOakley/vs-sln
dscho Oct 12, 2021
60c81f2
Merge pull request #3533 from PhilipOakley/hashliteral_t
dscho Dec 15, 2021
e6f80a4
Merge pull request #3791: Various fixes around `safe.directory`
derrickstolee Apr 13, 2022
901dcd7
Merge pull request #3751 from rkitover/native-term
dscho Apr 21, 2022
ca63622
Merge pull request #3875 from 1480c1/wine/detect_msys_tty
dscho May 30, 2022
109fcd4
Merge branch 'optionally-dont-append-atomically-on-windows'
dscho Jun 23, 2022
c1af0ea
Merge branch 'fsync-object-files-always'
dscho Oct 11, 2018
0fb118d
Merge pull request #3942 from rimrul/mingw-tsaware
dscho Jul 27, 2022
a470f80
Fix Windows version resources (#4092)
dscho Nov 3, 2022
98e48ed
Fix global repository field not being cleared (#4083)
dscho Dec 20, 2022
aadf759
Skip linking the "dashed" `git-<command>`s for built-ins (#4252)
dscho Jan 31, 2023
aeb7d49
Add full `mingw-w64-git` (i.e. regular MSYS2 ecosystem) support (#5971)
dscho Nov 25, 2025
2c3b75b
Merge pull request #2506 from dscho/issue-2283
dscho Feb 11, 2020
ad97468
Merge pull request #2974 from derrickstolee/maintenance-and-headless
dscho Jan 11, 2021
862cb53
ARM64: Embed manifest properly (#4718)
dscho Dec 7, 2023
3c57615
Lazy load libcurl, allowing for an SSL/TLS backend-specific libcurl (…
dscho May 15, 2023
b649a58
Merge branch 'nano-server'
dscho Aug 7, 2023
48afd0b
Additional error checks for issuing the windows.appendAtomically warn…
dscho Aug 7, 2023
1d6d704
win32: use native ANSI sequence processing, if possible (#4700)
dscho Dec 2, 2023
df67e51
common-main.c: fflush stdout buffer when exit (#4901)
dscho Apr 12, 2024
a18c760
Merge branch 'run-t5601-and-t7406-with-symlinks-on-windows-10'
dscho Jul 12, 2024
ea0ba7c
Merge branch 'Fix-i686-build-with-GCC-v14'
dscho Jul 12, 2024
e1ccffc
Merge branch 'Fallback-to-AppData-if-XDG-CONFIG-HOME-is-unset'
dscho Jul 12, 2024
291b4db
Merge branch 'run-command-be-helpful-when-Git-LFS-fails-on-Windows-7'
dscho Jul 12, 2024
a6544a3
Add path walk API and its use in 'git pack-objects' (#5171)
derrickstolee Sep 25, 2024
a17e624
Add experimental 'git survey' builtin (#5174)
dscho Sep 26, 2024
4b04fc0
credential-cache: handle ECONNREFUSED gracefully (#5329)
dscho Jan 1, 2025
afc3413
Merge branch 'reftable-vs-custom-allocators'
dscho Jun 2, 2025
7128208
Merge branch 'check-whitespace-only-downstream'
dscho Jun 3, 2025
96820f2
t/t5571-prep-push-hook.sh: Add test with writing to stderr (#6063)
dscho Jan 27, 2026
306b868
Merge branch 'disallow-ntlm-auth-by-default'
dscho Feb 12, 2026
65aab48
Don't traverse mount points in `remove_dir_recurse()` (#6151)
dscho Mar 31, 2026
4d4228d
Detect number of cores better on multi-socket systems (#6108)
dscho Apr 6, 2026
ec446cc
http: fix emptyAuth=auto for Negotiate/SPNEGO (#6170)
dscho Apr 14, 2026
cd29557
entry: flush fscache after creating directories and writing files (#6…
dscho Jun 8, 2026
986dbe8
ci(macos): skip the `git p4` tests (#5954)
dscho Nov 14, 2025
60d5e10
Merge branch 'msys2'
dscho Nov 15, 2018
fb81d3f
Merge 'docker-volumes-are-no-symlinks'
dscho Oct 12, 2018
f5716b2
mingw: try resetting the read-only bit if rename fails (#4527)
dscho Aug 7, 2023
7054af2
Merge pull request #1897 from piscisaureus/symlink-attr
dscho Oct 31, 2018
39293f4
Merge branch 'dont-clean-junctions'
dscho Jul 30, 2019
d00b2ea
Merge branch 'wsl-file-mode-bits'
dscho Aug 7, 2023
1fb347a
Merge pull request #1170 from dscho/mingw-kill-process
dscho Oct 11, 2018
7b0ce03
Win32: make FILETIME conversion functions public
kblees Jul 6, 2013
b93a793
Win32: dirent.c: Move opendir down
kblees Sep 8, 2013
7f98670
mingw: make the dirent implementation pluggable
kblees Sep 8, 2013
6135ebb
Win32: make the lstat implementation pluggable
kblees Sep 8, 2013
b3e49fe
mingw: add infrastructure for read-only file system level caches
kblees Sep 8, 2013
8ac805d
mingw: add a cache below mingw's lstat and dirent implementations
kblees Oct 1, 2013
0d24007
fscache: load directories only once
kblees Jun 24, 2014
3d6182c
fscache: add key for GIT_TRACE_FSCACHE
jeffhostetler Jan 24, 2017
a97f7eb
fscache: remember not-found directories
jeffhostetler Dec 13, 2016
ad9b7cb
fscache: add a test for the dir-not-found optimization
dscho Jan 25, 2017
f943e9b
add: use preload-index and fscache for performance
jeffhostetler Nov 22, 2016
ab4424a
dir.c: make add_excludes aware of fscache during status
jeffhostetler Nov 1, 2017
bce7309
fscache: make fscache_enabled() public
jeffhostetler Dec 20, 2017
38f4c08
dir.c: regression fix for add_excludes with fscache
jeffhostetler Dec 20, 2017
897e172
fetch-pack.c: enable fscache for stats under .git/objects
Nov 22, 2017
b68f959
checkout.c: enable fscache for checkout again
Jan 30, 2018
1f666f1
Enable the filesystem cache (fscache) in refresh_index().
benpeart Sep 7, 2018
801516b
git-gui--askyesno: fix funny text wrapping
dscho Sep 20, 2017
2fc0f7c
fscache: use FindFirstFileExW to avoid retrieving the short name
benpeart Oct 23, 2018
a0b58f1
git-gui--askyesno (mingw): use Git for Windows' icon, if available
dscho Sep 20, 2017
b7c9e95
Merge branch 'ready-for-upstream'
dscho Oct 11, 2018
62b124e
mem_pool: add GIT_TRACE_MEMPOOL support
benpeart Oct 4, 2018
28a1243
fscache: fscache takes an initial size
benpeart Nov 2, 2018
d510615
fscache: add GIT_TEST_FSCACHE support
benpeart Oct 4, 2018
81235f9
fscache: remember the reparse tag for each entry
dscho Dec 11, 2018
78b997c
fscache: update fscache to be thread specific instead of global
benpeart Oct 4, 2018
67dd293
fscache: add fscache hit statistics
benpeart Sep 25, 2018
c808928
fscache: Windows Docker volumes are *not* symbolic links
dscho Apr 23, 2018
386eca9
fscache: teach fscache to use mempool
benpeart Nov 2, 2018
0b705df
unpack-trees: enable fscache for sparse-checkout
derrickstolee Jun 12, 2019
644b753
fscache: optionally enable wsl compability file mode bits
swigger Jun 7, 2023
6c7defa
fscache: make fscache_enable() thread safe
benpeart Nov 16, 2018
ef018f7
status: disable and free fscache at the end of the status command
benpeart Nov 1, 2018
43258e3
Merge branch 'fscache'
dscho Nov 15, 2018
f345460
fscache: implement an FSCache-aware is_mount_point()
dscho Dec 11, 2018
6f5e01e
fscache: teach fscache to use NtQueryDirectoryFile
benpeart Nov 15, 2018
c8c0dd7
Merge pull request #1909 from benpeart/free-fscache-after-status-gfw
dscho Nov 5, 2018
0793877
clean: make use of FSCache
dscho Dec 11, 2018
c5ef2d9
Merge remote-tracking branch 'benpeart/fscache-per-thread-gfw'
dscho Nov 16, 2018
3eb2c46
Merge branch 'dont-clean-junctions-fscache'
dscho Jul 23, 2019
8000963
pack-objects (mingw): demonstrate a segmentation fault with large deltas
vangdfang Jan 9, 2014
18b6910
mingw: explicitly specify with which cmd to prefix the cmdline
dscho Jul 20, 2017
cbb87ed
mingw: support long paths
kblees Jul 28, 2015
483c136
mingw: when path_lookup() failed, try BusyBox
dscho Jul 20, 2017
1497b48
win32(long path support): leave drive-less absolute paths intact
dscho Sep 6, 2023
3b5c1e5
test-tool: learn to act as a drop-in replacement for `iconv`
dscho Jul 20, 2017
d98b306
compat/fsmonitor/fsm-*-win32: support long paths
jeffhostetler Mar 25, 2022
07252e7
tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
dscho Jul 20, 2017
a6d294b
clean: suggest using `core.longPaths` if paths are too long to remove
mathstuf Apr 22, 2022
9e6562d
gitattributes: mark .png files as binary
dscho Oct 11, 2018
1d8432b
tests: move test PNGs into t/lib-diff/
dscho Aug 5, 2017
62cd7f4
tests: only override sort & find if there are usable ones in /usr/bin/
dscho Jul 17, 2017
81610b3
tests: use the correct path separator with BusyBox
dscho Nov 19, 2018
80a012c
mingw: only use Bash-ism `builtin pwd -W` when available
dscho Jun 29, 2017
728c2bf
Describe Git for Windows' architecture
dscho Feb 13, 2023
d621b71
tests (mingw): remove Bash-specific pwd option
dscho Jun 30, 2017
7b5be19
Add an AGENTS.md file to help with AI-assisted debugging/development
dscho Jan 26, 2026
8420123
test-lib: add BUSYBOX prerequisite
dscho Jul 19, 2017
67ce55a
Modify the Code of Conduct for Git for Windows
dscho Oct 11, 2019
0b0a4bb
t5003: use binary file from t/lib-diff/
dscho Aug 5, 2017
029fc13
CONTRIBUTING.md: add guide for first-time contributors
derrickstolee Mar 1, 2018
63bee0d
t5532: workaround for BusyBox on Windows
dscho Jul 21, 2017
7a75b2f
README.md: Add a Windows-specific preamble
dscho Jan 10, 2014
8f0d350
t5605: special-case hardlink test for BusyBox-w32
dscho Jul 21, 2017
20da4a0
Add an issue template
shiftkey Feb 18, 2016
ad07a00
t5813: allow for $PWD to be a Windows path
dscho Jul 5, 2017
d127cc4
Add a GitHub workflow to monitor component updates
dscho Sep 29, 2020
9553e10
Modify the GitHub Pull Request template (to reflect Git for Windows)
Dec 22, 2017
e5c3311
Merge branch 'gitk-and-git-gui-patches'
dscho Oct 11, 2018
7f7d1d7
t9200: skip tests when $PWD contains a colon
dscho Jul 7, 2017
94223c1
Partially un-revert "editor: save and reset terminal after calling ED…
dscho Nov 25, 2021
9cc27f2
reset: reinstate support for the deprecated --stdin option
dscho Dec 10, 2019
62eb3ea
fsmonitor: reintroduce core.useBuiltinFSMonitor
vdye Apr 4, 2022
367f2b5
dependabot: help keeping GitHub Actions versions up to date
dscho Feb 6, 2024
29eb38c
SECURITY.md: document Git for Windows' policies
dscho Aug 23, 2019
f432147
Merge branch 'long-paths'
dscho Nov 15, 2018
ffc360a
Merge branch 'busybox-w32'
dscho Feb 7, 2019
8a56f0d
Merge branch 'un-revert-editor-save-and-reset'
dscho Jan 15, 2022
de616b3
Merge branch 'phase-out-reset-stdin'
dscho Jun 8, 2018
5c88b30
Merge branch 'deprecate-core.useBuiltinFSMonitor'
dscho Jan 24, 2023
ebfe1b4
Merge pull request #2837 from dscho/monitor-component-updates
dscho Oct 7, 2020
08500dd
Merge 'readme' into HEAD
dscho Jun 7, 2018
916bb18
Merge 'objects-larger-than-4gb-on-windows-pt2'
dscho Jun 12, 2026
7c13083
ci: only run the expensive tests in the Windows tests for now
dscho Jun 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
/git-for-each-ref
/git-for-each-repo
/git-format-patch
/git-format-rev
/git-fsck
/git-fsck-objects
/git-fsmonitor--daemon
Expand Down Expand Up @@ -183,6 +184,7 @@
/git-update-server-info
/git-upload-archive
/git-upload-pack
/git-url-parse
/git-var
/git-verify-commit
/git-verify-pack
Expand Down
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ test:osx:
stage: test
needs: [ ]
tags:
- saas-macos-medium-m1
- saas-macos-large-m2pro
variables:
TEST_OUTPUT_DIRECTORY: "/Volumes/RAMDisk"
before_script:
Expand All @@ -104,10 +104,10 @@ test:osx:
image: macos-15-xcode-16
CC: clang
- jobname: osx-reftable
image: macos-15-xcode-16
image: macos-26-xcode-26
CC: clang
- jobname: osx-meson
image: macos-15-xcode-16
image: macos-26-xcode-26
CC: clang
artifacts:
paths:
Expand Down
24 changes: 24 additions & 0 deletions Documentation/BreakingChanges.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,30 @@ would be significant, we may decide to defer this change to a subsequent minor
release. This evaluation will also take into account our own experience with
how painful it is to keep Rust an optional component.

* The default value of `safe.bareRepository` will change from `all` to
`explicit`. It is all too easy for an attacker to trick a user into cloning a
repository that contains an embedded bare repository with malicious hooks
configured. If the user enters that subdirectory and runs any Git command, Git
discovers the bare repository and the hooks fire. The user does not even need
to run a Git command explicitly: many shell prompts run `git status` in the
background to display branch and dirty state information, and `git status` in
turn may invoke the fsmonitor hook if so configured, making the user
vulnerable the moment they `cd` into the directory. The `safe.bareRepository`
configuration variable was introduced in 8959555cee (setup_git_directory():
add an owner check for the top-level directory, 2022-03-02) with a default of
`all` to preserve backwards compatibility.
+
Changing the default to `explicit` means that Git will refuse to work with bare
repositories that are discovered implicitly by walking up the directory tree.
Bare repositories specified explicitly via the `--git-dir` command-line option
or the `GIT_DIR` environment variable continue to work regardless of this
setting. Repositories that look like a `.git` directory, a worktree, or a
submodule directory are also unaffected.
+
Users who rely on implicit discovery of bare repositories can restore the
previous behavior by setting `safe.bareRepository=all` in their global or
system configuration.

=== Removals

* Support for grafting commits has long been superseded by git-replace(1).
Expand Down
6 changes: 6 additions & 0 deletions Documentation/CodingGuidelines
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,12 @@ For C programs:
char *dogs[] = ...;
walk_all_dogs(dogs);

- For file timestamps, do not use "st_mtim" (and other timestamp
members in "struct stat") unconditionally; not everybody is POSIX
(grep for USE_ST_TIMESPEC). If you only need a timestamp in whole
second resolution, "st_mtime" should work fine everywhere.


For Perl programs:

- Most of the C guidelines above apply.
Expand Down
29 changes: 29 additions & 0 deletions Documentation/RelNotes/2.54.1.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Git v2.54.1 Release Notes
=========================

This release is primarily to merge fixes accumulated on the 'master'
front to prepare for 2.55 release that are still relevant to 2.54.x
maintenance track.

Fixes since v2.54
-----------------

* Headers from glibc 2.43 when used with clang does not allow
disabling C11 language features, causing build failures..

* Revert a recent change that introduced a regression to help mksh users.

* Update various GitHub Actions versions.

* Avoid hitting the pathname limit for socks proxy socket during the
test.

* To help Windows 10 installations, avoid removing files whose
contents are still mmap()'ed.

* Stop using unmaintained custom allocator in Windows build which was
the last user of the code.

* Further update to the i18n alias support to avoid regressions.

Also contains minor documentation updates and code clean-ups.
Loading
Loading