Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
758 commits
Select commit Hold shift + click to select a range
3d4b5cb
Add config option `windows.appendAtomically`
sunzhuoshi Jan 15, 2022
4f94a73
mingw: change core.fsyncObjectFiles = 1 by default
dscho Sep 4, 2017
b9c0086
http: optionally load libcurl lazily
dscho May 6, 2023
3fe2d2c
MinGW: link as terminal server aware
rimrul Jul 10, 2022
a737025
Fix Windows version resources
Mortein Nov 2, 2022
3486fc6
status: fix for old-style submodules with commondir
sceptical-coder Oct 28, 2022
f72f60c
http: support lazy-loading libcurl also on Windows
dscho May 7, 2023
23a0ac0
http: when loading libcurl lazily, allow for multiple SSL backends
dscho May 7, 2023
234a3bd
mingw: do load libcurl dynamically by default
dscho May 7, 2023
8e20dc1
Add a GitHub workflow to verify that Git/Scalar work in Nano Server
dscho Nov 2, 2022
4130382
mingw: suggest `windows.appendAtomically` in more cases
dsl101 Jul 28, 2023
c8f0a92
win32: use native ANSI sequence processing, if possible
dscho Nov 22, 2023
d9a0f9d
common-main.c: fflush stdout buffer upon exit
chengzhuo5 Apr 8, 2024
ad8803a
t5601/t7406(mingw): do run tests with symlink support
dscho Apr 9, 2024
2734642
win32: ensure that `localtime_r()` is declared even in i686 builds
dscho May 21, 2024
9ae1397
survey: stub in new experimental 'git-survey' command
Apr 29, 2024
4e7453d
survey: add command line opts to select references
Apr 29, 2024
d787ed6
survey: start pretty printing data in table form
derrickstolee Sep 1, 2024
10df7ad
survey: add object count summary
derrickstolee Sep 2, 2024
0fb4cff
Fallback to AppData if XDG_CONFIG_HOME is unset
ariellourenco Jul 2, 2024
d2ae7c4
run-command: be helpful with Git LFS fails on Windows 7
dscho Jul 4, 2024
ea0c51e
revision: create mark_trees_uninteresting_dense()
derrickstolee Sep 6, 2024
ef1254b
ci: work around a problem with HTTP/2 vs libcurl v8.10.0
dscho Sep 24, 2024
7035055
survey: summarize total sizes by object type
derrickstolee Sep 2, 2024
36f1a8c
survey: show progress during object walk
derrickstolee Sep 2, 2024
c5c25d8
mingw: make sure `errno` is set correctly when socket operations fail
dscho Nov 14, 2019
1fc52bc
survey: add ability to track prioritized lists
derrickstolee Sep 2, 2024
795a4f7
compat/mingw: handle WSA errors in strerror
rimrul Dec 22, 2024
0917777
survey: add report of "largest" paths
derrickstolee Sep 2, 2024
11f07ee
compat/mingw: drop outdated comment
rimrul Dec 22, 2024
1945122
survey: add --top=<N> option and config
derrickstolee Sep 23, 2024
3ee518d
t0301: actually test credential-cache on Windows
rimrul Dec 29, 2024
851712a
survey: clearly note the experimental nature in the output
dscho Jul 1, 2024
58a61cd
credential-cache: handle ECONNREFUSED gracefully
rimrul Dec 22, 2024
170494e
reftable: do make sure to use custom allocators
dscho Mar 6, 2025
10a8284
check-whitespace: avoid alerts about upstream commits
dscho Jun 3, 2025
044330a
Merge 'remote-hg-prerequisites' into HEAD
dscho Jun 8, 2018
452dce8
Merge branch 'drive-prefix'
dscho Jun 8, 2018
f2a6830
Merge branch 'dont-clean-junctions'
dscho Jul 30, 2019
cc25bca
Merge branch 'msys2-python'
dscho May 31, 2019
991c5bb
Import the source code of mimalloc v2.2.6
rimrul Jan 10, 2026
0971b7f
mimalloc: adjust for building inside Git
dscho Jun 24, 2019
149dc78
mimalloc: offer a build-time option to enable it
dscho Jun 24, 2019
836a752
mingw: use mimalloc
dscho Jun 24, 2019
b9da4f8
object-file.c: use size_t for header lengths
PhilipOakley Nov 12, 2021
840b7e4
hash algorithms: use size_t for section lengths
PhilipOakley Nov 12, 2021
c8273e7
hash-object --stdin: verify that it works with >4GB/LLP64
PhilipOakley Dec 6, 2021
8f24466
hash-object: add another >4GB/LLP64 test case
PhilipOakley Dec 6, 2021
b8c422a
hash-object: add a >4GB/LLP64 test case using filtered input
PhilipOakley Dec 7, 2021
e9b7d36
windows: skip linking `git-<command>` for built-ins
dscho Jan 27, 2023
77f5f85
Merge branch 'mimalloc-v2.2.6'
dscho Sep 8, 2022
61cee86
Merge pull request #2375 from assarbad/reintroduce-sideband-config
dscho Oct 30, 2019
56cfb0e
Merge pull request #2449 from dscho/mingw-getcwd-and-symlinks
dscho Jan 3, 2020
819fe5a
Merge pull request #2488 from bmueller84/master
dscho Jan 22, 2020
d8d3c88
Merge pull request #2501 from jeffhostetler/clink-debug-curl
dscho Jan 30, 2020
4d5fb85
Merge pull request #2504 from dscho/access-repo-via-junction
dscho Feb 1, 2020
7766c21
mingw: stop hard-coding `CC = gcc`
dscho Nov 23, 2025
649d991
mingw: drop the -D_USE_32BIT_TIME_T option
dscho Nov 21, 2025
7f1f795
mingw: only use -Wl,--large-address-aware for 32-bit builds
dscho Nov 21, 2025
6a316da
mingw: avoid over-specifying `--pic-executable`
dscho Nov 21, 2025
3e55d27
mingw: set the prefix and HOST_CPU as per MSYS2's settings
dscho Nov 21, 2025
8b4d819
mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
dscho Nov 21, 2025
06a6b28
mingw: rely on MSYS2's metadata instead of hard-coding it
dscho Nov 21, 2025
a69ae8d
mingw: always define `ETC_*` for MSYS2 environments
dscho Nov 21, 2025
1129fe0
max_tree_depth: lower it for clang builds in general on Windows
dscho Nov 21, 2025
23a8c95
mingw: ensure valid CTYPE
dscho Feb 21, 2017
9c9e738
Merge pull request #2535 from dscho/schannel-revoke-best-effort
dscho Mar 4, 2020
a99d57b
Merge pull request #2618 from dscho/avoid-d/f-conflict-in-vs/master
dscho May 9, 2020
4fabb8d
Merge 'add-p-many-files'
dscho Jun 8, 2018
21d4e1d
Merge pull request #2714 from lbonanomi/crlf-scissors
dscho Jul 3, 2020
ff5d00c
Merge pull request #2655 from jglathe/jg/t0014_trace_extra_info
dscho Oct 9, 2020
20e2a0d
Merge 'git-gui/js/intent-to-add'
dscho Oct 18, 2020
56c69ac
Merge pull request #2351 from PhilipOakley/vcpkg-tip
dscho Oct 7, 2019
0f8ac6c
Merge pull request #2915 from dennisameling/windows-arm64-support
dscho Dec 9, 2020
b06a7b5
Merge pull request #3327 from dennisameling/fix-host-cpu
dscho Jul 19, 2021
fbc4a00
Merge pull request #3165 from dscho/increase-allowed-length-of-interp…
dscho Apr 3, 2021
24994d3
Merge pull request #3220 from dscho/there-is-no-vs/master-anymore
dscho May 17, 2021
cba702d
Merge pull request #3293 from pascalmuller/http-support-automatically…
dscho Jun 24, 2021
5b75e23
Merge pull request #3349 from vdye/feature/ci-subtree-tests
dscho Aug 10, 2021
d572f5e
Merge pull request #3306 from PhilipOakley/vs-sln
dscho Oct 12, 2021
d869645
Merge pull request #3417 from dscho/initialize-core.symlinks-earlier
dscho Oct 13, 2021
2f775f5
Merge pull request #3533 from PhilipOakley/hashliteral_t
dscho Dec 15, 2021
8268d2c
Merge pull request #3791: Various fixes around `safe.directory`
derrickstolee Apr 13, 2022
af8ccd1
Merge pull request #3751 from rkitover/native-term
dscho Apr 21, 2022
2cc0e4c
Merge pull request #3875 from 1480c1/wine/detect_msys_tty
dscho May 30, 2022
97bc430
Merge branch 'optionally-dont-append-atomically-on-windows'
dscho Jun 23, 2022
89c1e26
Merge branch 'fsync-object-files-always'
dscho Oct 11, 2018
a3ba365
Merge pull request #3942 from rimrul/mingw-tsaware
dscho Jul 27, 2022
3403f7f
Fix Windows version resources (#4092)
dscho Nov 3, 2022
d391594
Fix global repository field not being cleared (#4083)
dscho Dec 20, 2022
5ccb669
Skip linking the "dashed" `git-<command>`s for built-ins (#4252)
dscho Jan 31, 2023
9987a4d
Add full `mingw-w64-git` (i.e. regular MSYS2 ecosystem) support (#5971)
dscho Nov 25, 2025
939e919
mingw: allow `git.exe` to be used instead of the "Git wrapper"
dscho Jan 31, 2020
bf0b6b6
Merge branch 'dscho-avoid-d-f-conflict-in-vs-master'
dscho Apr 13, 2021
c9daf75
mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system dire…
dscho Aug 25, 2020
94f27cb
clink.pl: fix libexpatd.lib link error when using MSVC
jeffhostetler Mar 30, 2021
0e7e9b2
Makefile: clean up .ilk files when MSVC=1
jeffhostetler Apr 5, 2021
b905927
vcbuild: add support for compiling Windows resource files
jeffhostetler Apr 5, 2021
2e960e4
config.mak.uname: add git.rc to MSVC builds
jeffhostetler Apr 5, 2021
3d19409
clink.pl: ignore no-stack-protector arg on MSVC=1 builds
jeffhostetler Apr 5, 2021
6504869
clink.pl: move default linker options for MSVC=1 builds
jeffhostetler Apr 5, 2021
d4bc652
cmake: install headless-git.
Berrysoft Mar 11, 2023
4846187
git.rc: include winuser.h
rimrul Dec 2, 2023
ab1bdb8
Merge pull request #2506 from dscho/issue-2283
dscho Feb 11, 2020
31f1073
Merge pull request #2974 from derrickstolee/maintenance-and-headless
dscho Jan 11, 2021
0dbe057
ARM64: Embed manifest properly (#4718)
dscho Dec 7, 2023
66f07ce
Lazy load libcurl, allowing for an SSL/TLS backend-specific libcurl (…
dscho May 15, 2023
fff393d
Merge branch 'nano-server'
dscho Aug 7, 2023
cb7e022
Additional error checks for issuing the windows.appendAtomically warn…
dscho Aug 7, 2023
8069816
win32: use native ANSI sequence processing, if possible (#4700)
dscho Dec 2, 2023
7b5c7c1
common-main.c: fflush stdout buffer when exit (#4901)
dscho Apr 12, 2024
e10bd0f
Merge branch 'run-t5601-and-t7406-with-symlinks-on-windows-10'
dscho Jul 12, 2024
2e83bce
Merge branch 'Fix-i686-build-with-GCC-v14'
dscho Jul 12, 2024
93a9c65
Merge branch 'Fallback-to-AppData-if-XDG-CONFIG-HOME-is-unset'
dscho Jul 12, 2024
7d52ec0
Merge branch 'run-command-be-helpful-when-Git-LFS-fails-on-Windows-7'
dscho Jul 12, 2024
6bd0f42
pack-objects: create new name-hash algorithm (#5157)
dscho Sep 24, 2024
5be37de
Add path walk API and its use in 'git pack-objects' (#5171)
derrickstolee Sep 25, 2024
26730ce
Add experimental 'git survey' builtin (#5174)
dscho Sep 26, 2024
08aad58
credential-cache: handle ECONNREFUSED gracefully (#5329)
dscho Jan 1, 2025
1e3920b
Merge branch 'reftable-vs-custom-allocators'
dscho Jun 2, 2025
a194ed7
Merge branch 'check-whitespace-only-downstream'
dscho Jun 3, 2025
e1e39bf
git-svn: mark it as unsupported by the Git for Windows project
dscho Nov 3, 2025
a44c56a
Merge branch 'ready-for-upstream'
dscho Oct 11, 2018
f33769f
ci(macos): skip the `git p4` tests
dscho Nov 13, 2025
cb9d3d8
git-svn: mark it as unsupported by the Git for Windows project (#5923)
dscho Nov 4, 2025
c3c3ef6
ci(macos): skip the `git p4` tests (#5954)
dscho Nov 14, 2025
f153204
Win32: make FILETIME conversion functions public
kblees Jul 6, 2013
3ca6e76
Win32: dirent.c: Move opendir down
kblees Sep 8, 2013
1307818
mingw: make the dirent implementation pluggable
kblees Sep 8, 2013
78fc807
Win32: make the lstat implementation pluggable
kblees Sep 8, 2013
52937e3
mingw: add infrastructure for read-only file system level caches
kblees Sep 8, 2013
a983fd1
git-gui--askyesno: fix funny text wrapping
dscho Sep 20, 2017
d5219bf
mingw: add a cache below mingw's lstat and dirent implementations
kblees Oct 1, 2013
e43b297
git-gui--askyesno (mingw): use Git for Windows' icon, if available
dscho Sep 20, 2017
7841a15
fscache: load directories only once
kblees Jun 24, 2014
b385f04
Merge branch 'git-gui-askyesno'
dscho Jun 8, 2018
534b4d1
fscache: add key for GIT_TRACE_FSCACHE
jeffhostetler Jan 24, 2017
3aea2e5
fscache: remember not-found directories
jeffhostetler Dec 13, 2016
a063a3b
fscache: add a test for the dir-not-found optimization
dscho Jan 25, 2017
c6a1d46
add: use preload-index and fscache for performance
jeffhostetler Nov 22, 2016
101718f
dir.c: make add_excludes aware of fscache during status
jeffhostetler Nov 1, 2017
b36f530
fscache: make fscache_enabled() public
jeffhostetler Dec 20, 2017
c05a407
dir.c: regression fix for add_excludes with fscache
jeffhostetler Dec 20, 2017
bc0a705
fetch-pack.c: enable fscache for stats under .git/objects
Nov 22, 2017
4cf77f3
checkout.c: enable fscache for checkout again
Jan 30, 2018
857a0d5
Enable the filesystem cache (fscache) in refresh_index().
benpeart Sep 7, 2018
0555530
fscache: use FindFirstFileExW to avoid retrieving the short name
benpeart Oct 23, 2018
44c6b29
fscache: add GIT_TEST_FSCACHE support
benpeart Oct 4, 2018
6784e9e
fscache: add fscache hit statistics
benpeart Sep 25, 2018
6ae87a2
mem_pool: add GIT_TRACE_MEMPOOL support
benpeart Oct 4, 2018
965494e
fscache: fscache takes an initial size
benpeart Nov 2, 2018
aa87b16
fscache: update fscache to be thread specific instead of global
benpeart Oct 4, 2018
7e4634b
fscache: teach fscache to use mempool
benpeart Nov 2, 2018
6e866f7
fscache: remember the reparse tag for each entry
dscho Dec 11, 2018
5d3269c
fscache: make fscache_enable() thread safe
benpeart Nov 16, 2018
35652a3
unpack-trees: enable fscache for sparse-checkout
derrickstolee Jun 12, 2019
7daf7fa
status: disable and free fscache at the end of the status command
benpeart Nov 1, 2018
257ad8f
fscache: implement an FSCache-aware is_mount_point()
dscho Dec 11, 2018
778c05b
fscache: teach fscache to use NtQueryDirectoryFile
benpeart Nov 15, 2018
30a9fac
Merge branch 'fscache'
dscho Nov 15, 2018
609b130
Merge pull request #1909 from benpeart/free-fscache-after-status-gfw
dscho Nov 5, 2018
817abd6
clean: make use of FSCache
dscho Dec 11, 2018
a843eeb
Merge remote-tracking branch 'benpeart/fscache-per-thread-gfw'
dscho Nov 16, 2018
a1cafe6
Merge branch 'dont-clean-junctions-fscache'
dscho Jul 23, 2019
bc43c6e
pack-objects (mingw): demonstrate a segmentation fault with large deltas
vangdfang Jan 9, 2014
e0bb0fc
mingw: support long paths
kblees Jul 28, 2015
4df4c8b
Win32: fix 'lstat("dir/")' with long paths
kblees Jul 4, 2014
b8fb8c0
win32(long path support): leave drive-less absolute paths intact
dscho Sep 6, 2023
75c9a0d
mingw: Support `git_terminal_prompt` with more terminals
kblees Mar 19, 2015
5108b61
compat/fsmonitor/fsm-*-win32: support long paths
jeffhostetler Mar 25, 2022
48631e1
compat/terminal.c: only use the Windows console if bash 'read -r' fails
kblees May 9, 2015
d13aa68
clean: suggest using `core.longPaths` if paths are too long to remove
mathstuf Apr 22, 2022
c8a8772
strbuf_readlink: don't call readlink twice if hint is the exact link …
kblees May 11, 2015
c00f264
strbuf_readlink: support link targets that exceed PATH_MAX
kblees May 11, 2015
ac035ff
lockfile.c: use is_dir_sep() instead of hardcoded '/' checks
kblees May 11, 2015
6d8f233
Win32: don't call GetFileAttributes twice in mingw_lstat()
kblees May 12, 2015
737ad11
Win32: implement stat() with symlink support
kblees May 15, 2015
e64833d
Win32: remove separate do_lstat() function
kblees May 11, 2015
264325a
Win32: let mingw_lstat() error early upon problems with reparse points
kblees May 23, 2015
59c9e23
mingw: teach fscache and dirent about symlinks
kblees Jan 10, 2017
6b9ee97
Win32: lstat(): return adequate stat.st_size for symlinks
kblees May 15, 2015
61d130e
Win32: factor out retry logic
kblees May 19, 2015
6ed8853
mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
dscho Feb 23, 2018
a2de74c
Win32: change default of 'core.symlinks' to false
kblees May 23, 2015
a1d0f3f
Win32: add symlink-specific error codes
kblees May 15, 2015
371fbd9
Win32: mingw_unlink: support symlinks to directories
kblees May 23, 2015
5e1fa35
Win32: mingw_rename: support renaming symlinks
kblees May 19, 2015
c5c5a1b
Win32: mingw_chdir: change to symlink-resolved directory
kblees May 23, 2015
32fd784
Win32: implement readlink()
kblees May 23, 2015
85dc713
mingw: lstat: compute correct size for symlinks
billziss-gh May 28, 2020
5ea5a19
Win32: implement basic symlink() functionality (file symlinks only)
kblees May 23, 2015
64f0b61
Win32: symlink: add support for symlinks to directories
kblees May 23, 2015
ef80a1e
mingw: try to create symlinks without elevated permissions
dscho May 30, 2017
3979ab7
mingw: emulate stat() a little more faithfully
dscho Mar 2, 2020
5e432e7
mingw: introduce code to detect whether we're inside a Windows container
zcube Apr 23, 2018
3691e9e
mingw: special-case index entries for symlinks with buggy size
dscho Jun 4, 2020
ab106af
Win32: symlink: move phantom symlink creation to a separate function
piscisaureus Oct 26, 2018
ada6887
mingw: when running in a Windows container, try to rename() harder
zcube Apr 23, 2018
ca8467d
Introduce helper to create symlinks that knows about index_state
dscho Feb 11, 2019
da65298
mingw: explicitly specify with which cmd to prefix the cmdline
dscho Jul 20, 2017
73c20fa
mingw: move the file_attr_to_st_mode() function definition
zcube Apr 23, 2018
c9f4d0c
mingw: allow to specify the symlink type in .gitattributes
piscisaureus Oct 26, 2018
4c4ce15
mingw: when path_lookup() failed, try BusyBox
dscho Jul 20, 2017
845bfa7
mingw: Windows Docker volumes are *not* symbolic links
dscho Apr 23, 2018
0e9a2a2
mingw: work around rename() failing on a read-only file
dsl101 Jul 28, 2023
198b593
Win32: symlink: add test for `symlink` attribute
piscisaureus Oct 26, 2018
fc0a47f
test-tool: learn to act as a drop-in replacement for `iconv`
dscho Jul 20, 2017
bc8d94d
tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
dscho Jul 20, 2017
2f3b70f
gitattributes: mark .png files as binary
dscho Oct 11, 2018
4453543
tests: move test PNGs into t/lib-diff/
dscho Aug 5, 2017
fb2fc45
tests: only override sort & find if there are usable ones in /usr/bin/
dscho Jul 17, 2017
0d1d892
tests: use the correct path separator with BusyBox
dscho Nov 19, 2018
78d5677
mingw: only use Bash-ism `builtin pwd -W` when available
dscho Jun 29, 2017
a432140
tests (mingw): remove Bash-specific pwd option
dscho Jun 30, 2017
34654b2
test-lib: add BUSYBOX prerequisite
dscho Jul 19, 2017
5435150
t5003: use binary file from t/lib-diff/
dscho Aug 5, 2017
e78d797
t5532: workaround for BusyBox on Windows
dscho Jul 21, 2017
1c6cc4f
t5605: special-case hardlink test for BusyBox-w32
dscho Jul 21, 2017
cdefdda
t5813: allow for $PWD to be a Windows path
dscho Jul 5, 2017
3359767
mingw: kill child processes in a gentler way
dscho May 17, 2017
e0ca06c
t9200: skip tests when $PWD contains a colon
dscho Jul 7, 2017
45f857b
mingw: optionally enable wsl compability file mode bits
swigger Jun 7, 2023
93517b0
mingw: really handle SIGINT
dscho Apr 22, 2018
63c8ebd
Partially un-revert "editor: save and reset terminal after calling ED…
dscho Nov 25, 2021
1c0a7e7
Add a GitHub workflow to monitor component updates
dscho Sep 29, 2020
e084de9
reset: reinstate support for the deprecated --stdin option
dscho Dec 10, 2019
1904cea
fsmonitor: reintroduce core.useBuiltinFSMonitor
vdye Apr 4, 2022
e08b703
dependabot: help keeping GitHub Actions versions up to date
dscho Feb 6, 2024
23e9440
Describe Git for Windows' architecture [no ci]
dscho Feb 13, 2023
677de27
Modify the Code of Conduct for Git for Windows
dscho Oct 11, 2019
b2fe567
CONTRIBUTING.md: add guide for first-time contributors
derrickstolee Mar 1, 2018
21a1601
README.md: Add a Windows-specific preamble
dscho Jan 10, 2014
e944b97
Add an issue template
shiftkey Feb 18, 2016
1de126f
Modify the GitHub Pull Request template (to reflect Git for Windows)
Dec 22, 2017
db9e2a6
Merge branch 'gitk-and-git-gui-patches'
dscho Oct 11, 2018
c818d9e
SECURITY.md: document Git for Windows' policies
dscho Aug 23, 2019
294f3f7
Merge branch 'long-paths'
dscho Nov 15, 2018
e3b93e3
Merge branch 'msys2'
dscho Nov 15, 2018
a0b0990
Merge branch 'kblees/kb/symlinks'
dscho Nov 15, 2018
40143dc
Merge 'docker-volumes-are-no-symlinks'
dscho Oct 12, 2018
6fe1326
mingw: try resetting the read-only bit if rename fails (#4527)
dscho Aug 7, 2023
3fbacba
Merge pull request #1897 from piscisaureus/symlink-attr
dscho Oct 31, 2018
dbec105
Merge branch 'busybox-w32'
dscho Feb 7, 2019
81b2ad3
Merge branch 'wsl-file-mode-bits'
dscho Aug 7, 2023
65df644
Merge pull request #1170 from dscho/mingw-kill-process
dscho Oct 11, 2018
5d30914
Merge branch 'un-revert-editor-save-and-reset'
dscho Jan 15, 2022
b2ebbd3
Merge branch 'phase-out-reset-stdin'
dscho Jun 8, 2018
b7cecee
Merge branch 'deprecate-core.useBuiltinFSMonitor'
dscho Jan 24, 2023
1d68cc2
Merge pull request #2837 from dscho/monitor-component-updates
dscho Oct 7, 2020
402505f
Merge 'readme' into HEAD
dscho Jun 7, 2018
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
  •  
  •  
  •  
9 changes: 5 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
* whitespace=!indent,trail,space
*.[ch] whitespace=indent,trail,space diff=cpp
*.sh whitespace=indent,trail,space text eol=lf
* whitespace=trail,space
*.[ch] whitespace=indent,trail,space,incomplete diff=cpp
*.sh whitespace=indent,trail,space,incomplete text eol=lf
*.perl text eol=lf diff=perl
*.pl text eof=lf diff=perl
*.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
/Documentation/**/*.adoc text eol=lf whitespace=trail,space,incomplete
/command-list.txt text eol=lf
/GIT-VERSION-GEN text eol=lf
/mergetools/* text eol=lf
Expand All @@ -18,3 +18,4 @@ CODE_OF_CONDUCT.md -whitespace
/Documentation/gitk.adoc conflict-marker-size=32
/Documentation/user-manual.adoc conflict-marker-size=32
/t/t????-*.sh conflict-marker-size=32
/t/unit-tests/clar/test/expected/* whitespace=-blank-at-eof
2 changes: 1 addition & 1 deletion .github/workflows/l10n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
origin \
${{ github.ref }} \
$args
- uses: actions/setup-go@v5
- uses: actions/setup-go@v6
with:
go-version: '>=1.16'
cache: false
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,17 @@ jobs:
path: build
- name: Test
shell: pwsh
run: meson test -C build --no-rebuild --print-errorlogs --slice "$(1+${{ matrix.nr }})/10"
run: ci/run-test-slice-meson.sh build ${{matrix.nr}} 10
- name: print test failures
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
shell: bash
run: ci/print-test-failures.sh
- name: Upload failed tests' directories
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
uses: actions/upload-artifact@v4
with:
name: failed-tests-windows-meson-${{ matrix.nr }}
path: ${{env.FAILED_TEST_ARTIFACTS}}

regular:
name: ${{matrix.vector.jobname}} (${{matrix.vector.pool}})
Expand Down Expand Up @@ -436,7 +446,7 @@ jobs:
- run: ci/install-dependencies.sh
- run: useradd builder --create-home
- run: chown -R builder .
- run: chmod o+w $GITHUB_ENV && sudo --preserve-env --set-home --user=builder ci/run-build-and-tests.sh
- run: chmod a+w $GITHUB_ENV && sudo --preserve-env --set-home --user=builder ci/run-build-and-tests.sh
- name: print test failures
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
run: sudo --preserve-env --set-home --user=builder ci/print-test-failures.sh
Expand Down
4 changes: 2 additions & 2 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ Junio C Hamano <gitster@pobox.com> <junkio@twinsun.com>
Kaartic Sivaraam <kaartic.sivaraam@gmail.com> <kaarticsivaraam91196@gmail.com>
Karl Wiberg <kha@treskal.com> Karl Hasselström
Karl Wiberg <kha@treskal.com> <kha@yoghurt.hemma.treskal.com>
Karsten Blees <blees@dcon.de> <karsten.blees@dcon.de>
Karsten Blees <blees@dcon.de> <karsten.blees@gmail.com>
Karsten Blees <karsten.blees@gmail.com> <karsten.blees@dcon.de>
Karsten Blees <karsten.blees@gmail.com> <blees@dcon.de>
Kay Sievers <kay.sievers@vrfy.org> <kay.sievers@suse.de>
Kay Sievers <kay.sievers@vrfy.org> <kay@mam.(none)>
Kazuki Saitoh <ksaitoh560@gmail.com> kazuki saitoh <ksaitoh560@gmail.com>
Expand Down
2 changes: 2 additions & 0 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ MAN7_TXT += gitcli.adoc
MAN7_TXT += gitcore-tutorial.adoc
MAN7_TXT += gitcredentials.adoc
MAN7_TXT += gitcvs-migration.adoc
MAN7_TXT += gitdatamodel.adoc
MAN7_TXT += gitdiffcore.adoc
MAN7_TXT += giteveryday.adoc
MAN7_TXT += gitfaq.adoc
Expand Down Expand Up @@ -142,6 +143,7 @@ TECH_DOCS += technical/shallow
TECH_DOCS += technical/sparse-checkout
TECH_DOCS += technical/sparse-index
TECH_DOCS += technical/trivial-merge
TECH_DOCS += technical/unambiguous-types
TECH_DOCS += technical/unit-tests
SP_ARTICLES += $(TECH_DOCS)
SP_ARTICLES += technical/api-index
Expand Down
280 changes: 280 additions & 0 deletions Documentation/RelNotes/2.53.0.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,280 @@
Git v2.53 Release Notes
=======================

UI, Workflows & Features
------------------------

* "git maintenance" command learned "is-needed" subcommand to tell if
it is necessary to perform various maintenance tasks.

* "git replay" (experimental) learned to perform ref updates itself
in a transaction by default, instead of emitting where each refs
should point at and leaving the actual update to another command.

* "git blame" learns "--diff-algorithm=<algo>" option.

* "git repo info" learned "--all" option.

* Both "git apply" and "git diff" learn a new whitespace error class,
"incomplete-line".

* Add a new manual that describes the data model.

* "git fast-import" learns "--strip-if-invalid" option to drop
invalid cryptographic signature from objects.

* The use of "revision" (a connected set of commits) has been
clarified in the "git replay" documentation.

* A help message from "git branch" now mentions "git help" instead of
"man" when suggesting to read some documentation.

* "git repo struct" learned to take "-z" as a synonym to "--format=nul".

* More object database related information are shown in "git repo
structure" output.

* Improve the error message when a bad argument is given to the
`--onto` option of "git replay". Test coverage of "git replay" has
been improved.


Performance, Internal Implementation, Development Support etc.
--------------------------------------------------------------

* The list of packfiles used in a running Git process is moved from
the packed_git structure into the packfile store.

* Some ref backend storage can hold not just the object name of an
annotated tag, but the object name of the object the tag points at.
The code to handle this information has been streamlined.

* As "git diff --quiet" only cares about the existence of any
changes, disable rename/copy detection to skip more expensive
processing whose result will be discarded anyway.

* A part of code paths that deals with loose objects has been cleaned
up.

* "make strip" has been taught to strip "scalar" as well as "git".

* Dockerised jobs at the GitHub Actions CI have been taught to show
more details of failed tests.

* Code refactoring around object database sources.

* Halve the memory consumed by artificial filepairs created during
"git diff --find-copioes-harder", also making the operation run
faster.

* The "git_istream" abstraction has been revamped to make it easier
to interface with pluggable object database design.

* Rewrite the only use of "mktemp()" that is subject to TOCTOU race
and Stop using the insecure "mktemp()" function.
(merge 10bba537c4 rs/ban-mktemp later to maint).

* In-code comment update to clarify that single-letter options are
outside of the scope of command line completion script.
(merge dc8a00fafe jc/completion-no-single-letter-options later to maint).

* MEMZERO_ARRAY() helper is introduced to avoid clearing only the
first N bytes of an N-element array whose elements are larger than
a byte.

* "git diff-files -R --find-copies-harder" has been taught to use
the potential copy sources from the index correctly.

* Require C99 style flexible array member support from all platforms.

* The code path that enumerates promisor objects have been optimized
to skip pointlessly parsing blob objects.

* Prepare test suite for Git for Windows that supports symbolic
links.

* Use hook API to replace ad-hoc invocation of hook scripts with the
run_command() API.

* Import newer version of "clar", unit testing framework.
(merge 84071a6dea ps/clar-integers later to maint).


Fixes since v2.52
-----------------

* Ever since we added whitespace rules for this project, we misspelt
an entry, which has been corrected.
(merge 358e94dc70 jc/gitattributes-whitespace-no-indent-fix later to maint).

* The code to expand attribute macros has been rewritten to avoid
recursion to avoid running out of stack space in an uncontrolled
way.
(merge 42ed046866 jk/attr-macroexpand-wo-recursion later to maint).

* Adding a repository that uses a different hash function is a no-no,
but "git submodule add" did nt prevent it, which has been corrected.
(merge 6fe288bfbc bc/submodule-force-same-hash later to maint).

* An earlier check added to osx keychain credential helper to avoid
storing the credential itself supplied was overeager and rejected
credential material supplied by other helper backends that it would
have wanted to store, which has been corrected.
(merge 4580bcd235 kn/osxkeychain-idempotent-store-fix later to maint).

* The "git repo structure" subcommand tried to align its output but
mixed up byte count and display column width, which has been
corrected.
(merge 7a03a10a3a jx/repo-struct-utf8width-fix later to maint).

* Yet another corner case fix around renames in the "ort" merge
strategy.
(merge a562d90a35 en/ort-rename-another-fix later to maint).

* Test leakfix.
(merge 14b561e768 jk/test-mktemp-leakfix later to maint).

* Update a version of action used at the GitHub Actrions CI.
(merge cd99203f86 js/ci-github-setup-go-update later to maint).

* The "return errno = EFOO, -1" construct, which is heavily used in
compat/mingw.c and triggers warnings under "-Wcomma", has been
rewritten to avoid the warnings.
(merge af3919816f js/mingw-assign-comma-fix later to maint).

* Makefile based build have recently been updated to build a
libgit.a that also has reftable and xdiff objects; CMake based
build procedure has been updated to match.
(merge b0d5c88cca js/cmake-libgit-fix later to maint).

* Under-allocation fix.
(merge d22a488482 js/wincred-get-credential-alloc-fix later to maint).

* "git worktree list" attempts to show paths to worktrees while
aligning them, but miscounted display columns for the paths when
non-ASCII characters were involved, which has been corrected.
(merge 08dfa59835 pw/worktree-list-display-width-fix later to maint).

* "Windows+meson" job at the GitHub Actions CI was hard to debug, as
it did not show and save failed test artifacts, which has been
corrected.
(merge 17bd1108ea jk/ci-windows-meson-test-fix later to maint).

* Emulation code clean-up.
(merge 2367c6bcd6 gf/win32-pthread-cond-wait-err later to maint).

* Various issues detected by Asan have been corrected.
(merge a031b6181a jk/asan-bonanza later to maint).

* "git config get --path" segfaulted on an ":(optional)path" that
does not exist, which has been corrected.
(merge 0bd16856ff jc/optional-path later to maint).

* The "--committer-date-is-author-date" option of "git am/rebase" is
a misguided one. The documentation is updated to discourage its
use.
(merge fbf3d0669f kh/doc-committer-date-is-author-date later to maint).

* The option help text given by "git config unset -h" described
the "--all" option to "replace", not "unset", multiple variables,
which has been corrected.
(merge 18bf67b753 rs/config-unset-opthelp-fix later to maint).

* The error message given by "git config set", when the variable
being updated has more than one values defined, used old style "git
config" syntax with an incorrect option in its hint, both of which
have been corrected.
(merge df963f0df4 rs/config-set-multi-error-message-fix later to maint).

* "git replay" forgot to omit the "gpgsig-sha256" extended header
from the resulting commit the same way it omits "gpgsig", which has
been corrected.
(merge 9f3a115087 pw/replay-exclude-gpgsig-fix later to maint).

* A few tests have been updated to work under the shell compatible
mode of zsh.
(merge a92f243a94 bc/zsh-testsuite later to maint).

* The way patience diff finds LCS has been optimized.
(merge c7e3b8085b yc/xdiff-patience-optim later to maint).

* Recent optimization to "last-modified" command introduced use of
uninitialized block of memory, which has been corrected.
(merge fe4e60759b tc/last-modified-active-paths-optimization later to maint).

* "git last-modified" used to mishandle "--" to mark the beginning of
pathspec, which has been corrected.
(merge 05491b90ce js/last-modified-with-sparse-checkouts later to maint).

* Emulation code clean-up.
(merge 42aa7603aa gf/win32-pthread-cond-init later to maint).

* "git submodule add" to add a submodule under <name> segfaulted,
when a submodule.<name>.something is already in .gitmodules file
without defining where its submodule.<name>.path is, which has been
corrected.
(merge dd8e8c786e jc/submodule-add later to maint).

* "git fetch" that involves fetching tags, when a tag being fetched
needs to overwrite existing one, failed to fetch other tags, which
has been corrected.
(merge b7b17ec8a6 kn/fix-fetch-backfill-tag-with-batched-ref-updates later to maint).

* Document "rev-list --filter-provided-objects" better.
(merge 6d8dc99478 jt/doc-rev-list-filter-provided-objects later to maint).

* Even when there is no changes in the packfile and no need to
recompute bitmaps, "git repack" recomputed and updated the MIDX
file, which has been corrected.
(merge 6ce9d558ce ps/repack-avoid-noop-midx-rewrite later to maint).

* Update HTTP tests to adjust for changes in curl 8.18.0
(merge 17f4b01da7 jk/test-curl-updates later to maint).

* Workaround the "iconv" shipped as part of macOS, which is broken
handling stateful ISO/IEC 2022 encoded strings.
(merge cee341e9dd rs/macos-iconv-workaround later to maint).

* Running "git diff" with "--name-only" and other options that allows
us not to look at the blob contents, while objects that are lazily
fetched from a promisor remote, caused use-after-free, which has
been corrected.

* The ort merge machinery hit an assertion failure in a history with
criss-cross merges renamed a directory and a non-directory, which
has been corrected.
(merge 979ee83e8a en/ort-recursive-d-f-conflict-fix later to maint).

* Diagnose invalid bundle-URI that lack the URI entry, instead of
crashing.
(merge 7796c14a1a sb/bundle-uri-without-uri later to maint).

* Mailmap update for Karsten
(merge e97678c4ef js/mailmap-karsten-blees later to maint).

* Other code cleanup, docfix, build fix, etc.
(merge 46207a54cc qj/doc-http-bad-want-response later to maint).
(merge df90eccd93 kh/doc-commit-extra-references later to maint).
(merge f18aa68861 rs/xmkstemp-simplify later to maint).
(merge fddba8f737 ja/doc-synopsis-style later to maint).
(merge 22ce0cb639 en/xdiff-cleanup-2 later to maint).
(merge 8ef7355a8f je/doc-pull later to maint).
(merge 48176f953f jc/capability-leak later to maint).
(merge 8cbbdc92f7 kh/doc-pre-commit-fix later to maint).
(merge d4bc39a4d9 mh/doc-config-gui-gcwarning later to maint).
(merge 41d425008a kh/doc-send-email-paragraph-fix later to maint).
(merge d4b732899e jc/macports-darwinports later to maint).
(merge bab391761d kj/pull-options-decl-cleanup later to maint).
(merge 007b8994d4 rs/t4014-git-version-string-fix later to maint).
(merge 4ce170c522 ds/doc-scalar-config later to maint).
(merge a0c813951a jc/doc-commit-signoff-config later to maint).
(merge 8ee262985a ja/doc-misc-fixes later to maint).
(merge 1722c2244b mh/doc-core-attributesfile later to maint).
(merge c469ca26c5 dk/ci-rust-fix later to maint).
(merge 12f0be0857 gf/clear-path-cache-cleanup later to maint).
(merge 949df6ed6b js/test-func-comment-fix later to maint).
(merge 93f894c001 bc/checkout-error-message-fix later to maint).
(merge abf05d856f rs/show-branch-prio-queue later to maint).
(merge 06188ea5f3 rs/parse-config-expiry-simplify later to maint).
(merge 861dbb1586 dd/t5403-modernise later to maint).
(merge acffc5e9e5 ja/doc-synopsis-style-more later to maint).
9 changes: 5 additions & 4 deletions Documentation/config/core.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -492,10 +492,9 @@ core.askPass::
command-line argument and write the password on its STDOUT.

core.attributesFile::
In addition to `.gitattributes` (per-directory) and
`.git/info/attributes`, Git looks into this file for attributes
(see linkgit:gitattributes[5]). Path expansions are made the same
way as for `core.excludesFile`. Its default value is
Specifies the pathname to the file that contains attributes (see
linkgit:gitattributes[5]), in addition to `.gitattributes` (per-directory)
and `.git/info/attributes`. Its default value is
`$XDG_CONFIG_HOME/git/attributes`. If `$XDG_CONFIG_HOME` is either not
set or empty, `$HOME/.config/git/attributes` is used instead.

Expand Down Expand Up @@ -629,6 +628,8 @@ core.whitespace::
part of the line terminator, i.e. with it, `trailing-space`
does not trigger if the character before such a carriage-return
is not a whitespace (not enabled by default).
* `incomplete-line` treats the last line of a file that is missing the
newline at the end as an error (not enabled by default).
* `tabwidth=<n>` tells how many character positions a tab occupies; this
is relevant for `indent-with-non-tab` and when Git fixes `tab-in-indent`
errors. The default tab width is 8. Allowed values are 1 to 63.
Expand Down
Loading
Loading