Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
352 commits
Select commit Hold shift + click to select a range
e94d827
vcbuild: install ARM64 dependencies when building ARM64 binaries
manbearian Feb 1, 2020
065aaec
mingw: implement a platform-specific `strbuf_realpath()`
dscho Jan 31, 2020
69135d8
http: use new "best effort" strategy for Secure Channel revoke checking
dscho Mar 4, 2020
0924bbd
t3701: verify that we can add *lots* of files interactively
dscho Sep 12, 2015
d00df93
commit: accept "scissors" with CR/LF line endings
lbonanomi Jun 24, 2020
26563b2
t0014: fix indentation
jglathe Jun 2, 2020
63e838f
git-gui: accommodate for intent-to-add files
dscho Aug 12, 2020
ea8a6b7
vcpkg_install: add comment regarding slow network connections
PhilipOakley Oct 6, 2019
db0e354
t5505/t5516: fix white-space around redirectors
dscho May 9, 2020
c3c19be
vcbuild: add an option to install individual 'features'
manbearian Feb 4, 2020
88a65bf
CMake: default Visual Studio generator has changed
PhilipOakley Jul 1, 2021
1c0fe1a
hash-object: demonstrate a >4GB/LLP64 problem
PhilipOakley Oct 31, 2021
7262616
cmake: allow building for Windows/ARM64
dennisameling Dec 4, 2020
ee8cdf0
.gitignore: add Visual Studio CMakeSetting.json file
PhilipOakley Apr 24, 2021
da87446
object-file.c: use size_t for header lengths
PhilipOakley Nov 12, 2021
8bea01b
ci(vs-build) also build Windows/ARM64 artifacts
dennisameling Nov 28, 2020
6057555
subtree: update `contrib/subtree` `test` target
vdye Aug 5, 2021
24849e3
CMakeLists: add default "x64-windows" arch for Visual Studio
PhilipOakley Apr 22, 2021
d5fab9b
hash algorithms: use size_t for section lengths
PhilipOakley Nov 12, 2021
18aa03f
Add schannel to curl installation
dennisameling Dec 6, 2020
702dc26
cmake(): allow setting HOST_CPU for cross-compilation
dennisameling Jul 19, 2021
f154867
mingw: allow for longer paths in `parse_interpreter()`
dscho Apr 2, 2021
92b17b1
compat/vcbuild: document preferred way to build in Visual Studio
dscho May 17, 2021
6d4c9d6
http: optionally send SSL client certificate
pascalmuller Jun 23, 2021
757a2c9
ci: run `contrib/subtree` tests in CI builds
vdye Aug 5, 2021
23246b4
CMake: show Win32 and Generator_platform build-option values
PhilipOakley May 10, 2021
28101c6
hash-object --stdin: verify that it works with >4GB/LLP64
PhilipOakley Dec 6, 2021
770dec4
hash-object: add another >4GB/LLP64 test case
PhilipOakley Dec 6, 2021
dbcd712
setup: properly use "%(prefix)/" when in WSL
derrickstolee Apr 13, 2022
9ea1060
hash-object: add a >4GB/LLP64 test case using filtered input
PhilipOakley Dec 7, 2021
d8f746f
compat/mingw.c: do not warn when failing to get owner
derrickstolee Apr 13, 2022
cb452cf
mingw: $env:TERM="xterm-256color" for newer OSes
rkitover Apr 12, 2022
53be802
winansi: check result and Buffer before using Name
1480c1 May 28, 2022
10f0986
Add config option `windows.appendAtomically`
sunzhuoshi Jan 15, 2022
6a8a5a9
mingw: change core.fsyncObjectFiles = 1 by default
dscho Sep 4, 2017
4f2721c
MinGW: link as terminal server aware
rimrul Jul 10, 2022
4337ef0
Fix Windows version resources
Mortein Nov 2, 2022
906ddd0
status: fix for old-style submodules with commondir
sceptical-coder Oct 28, 2022
dd3b541
mingw: stop hard-coding `CC = gcc`
dscho Nov 23, 2025
6855ef0
mingw: drop the -D_USE_32BIT_TIME_T option
dscho Nov 21, 2025
fcae0f8
mingw: only use -Wl,--large-address-aware for 32-bit builds
dscho Nov 21, 2025
fb3404d
mingw: avoid over-specifying `--pic-executable`
dscho Nov 21, 2025
3471074
mingw: set the prefix and HOST_CPU as per MSYS2's settings
dscho Nov 21, 2025
75886a3
mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
dscho Nov 21, 2025
71c1841
mingw: rely on MSYS2's metadata instead of hard-coding it
dscho Nov 21, 2025
d1f0a5b
mingw: always define `ETC_*` for MSYS2 environments
dscho Nov 21, 2025
55d1066
windows: skip linking `git-<command>` for built-ins
dscho Jan 27, 2023
e23ad91
max_tree_depth: lower it for clang builds in general on Windows
dscho Nov 21, 2025
7af555c
http: optionally load libcurl lazily
dscho May 6, 2023
5ef2a8d
http: support lazy-loading libcurl also on Windows
dscho May 7, 2023
dd918bd
http: when loading libcurl lazily, allow for multiple SSL backends
dscho May 7, 2023
9e5b795
mingw: do load libcurl dynamically by default
dscho May 7, 2023
11ef03e
Add a GitHub workflow to verify that Git/Scalar work in Nano Server
dscho Nov 2, 2022
0a76992
mingw: suggest `windows.appendAtomically` in more cases
dsl101 Jul 28, 2023
650a165
win32: use native ANSI sequence processing, if possible
dscho Nov 22, 2023
9da49ca
common-main.c: fflush stdout buffer upon exit
chengzhuo5 Apr 8, 2024
025e9a8
t5601/t7406(mingw): do run tests with symlink support
dscho Apr 9, 2024
e4e770c
win32: ensure that `localtime_r()` is declared even in i686 builds
dscho May 21, 2024
3e9b12f
Fallback to AppData if XDG_CONFIG_HOME is unset
ariellourenco Jul 2, 2024
70b9ce9
run-command: be helpful with Git LFS fails on Windows 7
dscho Jul 4, 2024
ad2b49e
revision: create mark_trees_uninteresting_dense()
derrickstolee Sep 6, 2024
7238dd9
ci: work around a problem with HTTP/2 vs libcurl v8.10.0
dscho Sep 24, 2024
c99f450
survey: stub in new experimental 'git-survey' command
Apr 29, 2024
ac99a8f
survey: add command line opts to select references
Apr 29, 2024
949cf92
survey: start pretty printing data in table form
derrickstolee Sep 1, 2024
1743754
survey: add object count summary
derrickstolee Sep 2, 2024
03f77f8
survey: summarize total sizes by object type
derrickstolee Sep 2, 2024
7879885
survey: show progress during object walk
derrickstolee Sep 2, 2024
c797e5a
mingw: make sure `errno` is set correctly when socket operations fail
dscho Nov 14, 2019
3dcc8da
survey: add ability to track prioritized lists
derrickstolee Sep 2, 2024
6358efd
compat/mingw: handle WSA errors in strerror
rimrul Dec 22, 2024
338e9b9
survey: add report of "largest" paths
derrickstolee Sep 2, 2024
79c8bcc
compat/mingw: drop outdated comment
rimrul Dec 22, 2024
07beb8f
survey: add --top=<N> option and config
derrickstolee Sep 23, 2024
3ce045c
t0301: actually test credential-cache on Windows
rimrul Dec 29, 2024
e04c273
survey: clearly note the experimental nature in the output
dscho Jul 1, 2024
fdc5dd8
credential-cache: handle ECONNREFUSED gracefully
rimrul Dec 22, 2024
169bba6
Merge 'remote-hg-prerequisites' into HEAD
dscho Jun 8, 2018
6dec875
Merge branch 'drive-prefix'
dscho Jun 8, 2018
ea9d3c5
Merge branch 'dont-clean-junctions'
dscho Jul 30, 2019
f922e6d
Merge branch 'msys2-python'
dscho May 31, 2019
8866755
Update mimalloc to v2.2.7 (#6048)
dscho Jan 19, 2026
67cb9f6
Merge pull request #2375 from assarbad/reintroduce-sideband-config
dscho Oct 30, 2019
c2454dd
Merge pull request #2488 from bmueller84/master
dscho Jan 22, 2020
746fc5e
reftable: do make sure to use custom allocators
dscho Mar 6, 2025
e1a6400
check-whitespace: avoid alerts about upstream commits
dscho Jun 3, 2025
8a4340d
Merge pull request #2501 from jeffhostetler/clink-debug-curl
dscho Jan 30, 2020
f3a7f9c
Merge pull request #2504 from dscho/access-repo-via-junction
dscho Feb 1, 2020
fdaf080
Merge pull request #2535 from dscho/schannel-revoke-best-effort
dscho Mar 4, 2020
d048f44
Merge pull request #2618 from dscho/avoid-d/f-conflict-in-vs/master
dscho May 9, 2020
3eb5d18
Merge 'add-p-many-files'
dscho Jun 8, 2018
daee3f4
Merge pull request #2714 from lbonanomi/crlf-scissors
dscho Jul 3, 2020
d1be88d
Merge pull request #2655 from jglathe/jg/t0014_trace_extra_info
dscho Oct 9, 2020
0b1660c
Merge 'git-gui/js/intent-to-add'
dscho Oct 18, 2020
238ea87
Merge pull request #2351 from PhilipOakley/vcpkg-tip
dscho Oct 7, 2019
85d16b1
Merge pull request #2915 from dennisameling/windows-arm64-support
dscho Dec 9, 2020
a13ee5c
Merge pull request #3327 from dennisameling/fix-host-cpu
dscho Jul 19, 2021
5eeb594
Merge pull request #3165 from dscho/increase-allowed-length-of-interp…
dscho Apr 3, 2021
d486ed7
Merge pull request #3220 from dscho/there-is-no-vs/master-anymore
dscho May 17, 2021
70cc441
Merge pull request #3293 from pascalmuller/http-support-automatically…
dscho Jun 24, 2021
98234fc
Merge pull request #3349 from vdye/feature/ci-subtree-tests
dscho Aug 10, 2021
c870336
Merge pull request #3306 from PhilipOakley/vs-sln
dscho Oct 12, 2021
b6b0d41
Merge pull request #3533 from PhilipOakley/hashliteral_t
dscho Dec 15, 2021
9a70cad
Merge pull request #3791: Various fixes around `safe.directory`
derrickstolee Apr 13, 2022
6a8807a
Merge pull request #3751 from rkitover/native-term
dscho Apr 21, 2022
bd97b7a
Merge pull request #3875 from 1480c1/wine/detect_msys_tty
dscho May 30, 2022
b9e732d
Merge branch 'optionally-dont-append-atomically-on-windows'
dscho Jun 23, 2022
28e5687
Merge branch 'fsync-object-files-always'
dscho Oct 11, 2018
7fd7a49
Merge pull request #3942 from rimrul/mingw-tsaware
dscho Jul 27, 2022
5db2326
Fix Windows version resources (#4092)
dscho Nov 3, 2022
6217166
Fix global repository field not being cleared (#4083)
dscho Dec 20, 2022
7a2d2d4
Skip linking the "dashed" `git-<command>`s for built-ins (#4252)
dscho Jan 31, 2023
23b1b38
Add full `mingw-w64-git` (i.e. regular MSYS2 ecosystem) support (#5971)
dscho Nov 25, 2025
541d54b
t/t5571-prep-push-hook.sh: Add test with writing to stderr
t-b Jan 26, 2026
b53fe0e
mingw: ensure valid CTYPE
dscho Feb 21, 2017
8e2d9a9
mingw: allow `git.exe` to be used instead of the "Git wrapper"
dscho Jan 31, 2020
e6ec40e
Merge branch 'dscho-avoid-d-f-conflict-in-vs-master'
dscho Apr 13, 2021
b37402a
clink.pl: fix libexpatd.lib link error when using MSVC
jeffhostetler Mar 30, 2021
eb66711
Makefile: clean up .ilk files when MSVC=1
jeffhostetler Apr 5, 2021
26af834
vcbuild: add support for compiling Windows resource files
jeffhostetler Apr 5, 2021
4d1cc40
config.mak.uname: add git.rc to MSVC builds
jeffhostetler Apr 5, 2021
4a2e42a
clink.pl: ignore no-stack-protector arg on MSVC=1 builds
jeffhostetler Apr 5, 2021
a127f48
clink.pl: move default linker options for MSVC=1 builds
jeffhostetler Apr 5, 2021
9a0a9c1
mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system dire…
dscho Aug 25, 2020
2910ae0
cmake: install headless-git.
Berrysoft Mar 11, 2023
97118b0
git.rc: include winuser.h
rimrul Dec 2, 2023
c7751e1
Merge pull request #2506 from dscho/issue-2283
dscho Feb 11, 2020
cc7bb71
Merge pull request #2974 from derrickstolee/maintenance-and-headless
dscho Jan 11, 2021
43a5b95
ARM64: Embed manifest properly (#4718)
dscho Dec 7, 2023
687ad90
Lazy load libcurl, allowing for an SSL/TLS backend-specific libcurl (…
dscho May 15, 2023
118aa29
Merge branch 'nano-server'
dscho Aug 7, 2023
9962298
Additional error checks for issuing the windows.appendAtomically warn…
dscho Aug 7, 2023
a214fc9
win32: use native ANSI sequence processing, if possible (#4700)
dscho Dec 2, 2023
53e182a
common-main.c: fflush stdout buffer when exit (#4901)
dscho Apr 12, 2024
7a1e554
Merge branch 'run-t5601-and-t7406-with-symlinks-on-windows-10'
dscho Jul 12, 2024
d483502
Merge branch 'Fix-i686-build-with-GCC-v14'
dscho Jul 12, 2024
6cb30d8
Merge branch 'Fallback-to-AppData-if-XDG-CONFIG-HOME-is-unset'
dscho Jul 12, 2024
25929d0
Merge branch 'run-command-be-helpful-when-Git-LFS-fails-on-Windows-7'
dscho Jul 12, 2024
10b1259
pack-objects: create new name-hash algorithm (#5157)
dscho Sep 24, 2024
da40b4a
Add path walk API and its use in 'git pack-objects' (#5171)
derrickstolee Sep 25, 2024
f3c163f
Add experimental 'git survey' builtin (#5174)
dscho Sep 26, 2024
60e32e7
credential-cache: handle ECONNREFUSED gracefully (#5329)
dscho Jan 1, 2025
7af34d5
Merge branch 'reftable-vs-custom-allocators'
dscho Jun 2, 2025
65299ee
Merge branch 'check-whitespace-only-downstream'
dscho Jun 3, 2025
f53e6de
t/t5571-prep-push-hook.sh: Add test with writing to stderr (#6063)
dscho Jan 27, 2026
91dcc05
Win32: make FILETIME conversion functions public
kblees Jul 6, 2013
73c6e63
Win32: dirent.c: Move opendir down
kblees Sep 8, 2013
c65ad57
mingw: make the dirent implementation pluggable
kblees Sep 8, 2013
cb36770
Win32: make the lstat implementation pluggable
kblees Sep 8, 2013
5ded7b7
mingw: add infrastructure for read-only file system level caches
kblees Sep 8, 2013
bf9f0e7
mingw: add a cache below mingw's lstat and dirent implementations
kblees Oct 1, 2013
fb4c6a5
fscache: load directories only once
kblees Jun 24, 2014
d3105b4
fscache: add key for GIT_TRACE_FSCACHE
jeffhostetler Jan 24, 2017
4650e13
fscache: remember not-found directories
jeffhostetler Dec 13, 2016
bba3243
fscache: add a test for the dir-not-found optimization
dscho Jan 25, 2017
89545a1
add: use preload-index and fscache for performance
jeffhostetler Nov 22, 2016
89d3cb2
dir.c: make add_excludes aware of fscache during status
jeffhostetler Nov 1, 2017
dd81725
fscache: make fscache_enabled() public
jeffhostetler Dec 20, 2017
0bad704
git-gui--askyesno: fix funny text wrapping
dscho Sep 20, 2017
a01bd81
git-svn: mark it as unsupported by the Git for Windows project
dscho Nov 3, 2025
33b49c5
Merge branch 'ready-for-upstream'
dscho Oct 11, 2018
d74b0b0
dir.c: regression fix for add_excludes with fscache
jeffhostetler Dec 20, 2017
31ddaed
git-gui--askyesno (mingw): use Git for Windows' icon, if available
dscho Sep 20, 2017
76c3bf3
ci(macos): skip the `git p4` tests
dscho Nov 13, 2025
4367c0b
git-svn: mark it as unsupported by the Git for Windows project (#5923)
dscho Nov 4, 2025
147e663
fetch-pack.c: enable fscache for stats under .git/objects
Nov 22, 2017
ad28b5c
Merge branch 'git-gui-askyesno'
dscho Jun 8, 2018
9e0e180
ci(macos): skip the `git p4` tests (#5954)
dscho Nov 14, 2025
38e3b0b
checkout.c: enable fscache for checkout again
Jan 30, 2018
9c26251
Enable the filesystem cache (fscache) in refresh_index().
benpeart Sep 7, 2018
3dd272a
mem_pool: add GIT_TRACE_MEMPOOL support
benpeart Oct 4, 2018
1064175
fscache: use FindFirstFileExW to avoid retrieving the short name
benpeart Oct 23, 2018
86df8be
fscache: fscache takes an initial size
benpeart Nov 2, 2018
8f3d874
fscache: add GIT_TEST_FSCACHE support
benpeart Oct 4, 2018
7ba4643
fscache: update fscache to be thread specific instead of global
benpeart Oct 4, 2018
ed9e62e
fscache: add fscache hit statistics
benpeart Sep 25, 2018
7588ad5
fscache: teach fscache to use mempool
benpeart Nov 2, 2018
16a1f18
unpack-trees: enable fscache for sparse-checkout
derrickstolee Jun 12, 2019
91ce9a8
fscache: remember the reparse tag for each entry
dscho Dec 11, 2018
260041f
fscache: make fscache_enable() thread safe
benpeart Nov 16, 2018
a919310
status: disable and free fscache at the end of the status command
benpeart Nov 1, 2018
9ec49aa
Merge branch 'fscache'
dscho Nov 15, 2018
a08c6ea
fscache: implement an FSCache-aware is_mount_point()
dscho Dec 11, 2018
4aa340b
fscache: teach fscache to use NtQueryDirectoryFile
benpeart Nov 15, 2018
34aae90
Merge pull request #1909 from benpeart/free-fscache-after-status-gfw
dscho Nov 5, 2018
691bc35
clean: make use of FSCache
dscho Dec 11, 2018
09c1ab4
Merge remote-tracking branch 'benpeart/fscache-per-thread-gfw'
dscho Nov 16, 2018
ff04e9b
Merge branch 'dont-clean-junctions-fscache'
dscho Jul 23, 2019
519b619
pack-objects (mingw): demonstrate a segmentation fault with large deltas
vangdfang Jan 9, 2014
0b0dc0f
mingw: support long paths
kblees Jul 28, 2015
2b15f83
win32(long path support): leave drive-less absolute paths intact
dscho Sep 6, 2023
7bb8f5a
mingw: Support `git_terminal_prompt` with more terminals
kblees Mar 19, 2015
c25c3ab
compat/fsmonitor/fsm-*-win32: support long paths
jeffhostetler Mar 25, 2022
4b6c17c
compat/terminal.c: only use the Windows console if bash 'read -r' fails
kblees May 9, 2015
6d5896b
clean: suggest using `core.longPaths` if paths are too long to remove
mathstuf Apr 22, 2022
4081616
mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
dscho Feb 23, 2018
f24db03
mingw: introduce code to detect whether we're inside a Windows container
zcube Apr 23, 2018
1a6bf77
Win32: symlink: move phantom symlink creation to a separate function
piscisaureus Oct 26, 2018
379ec9d
mingw: when running in a Windows container, try to rename() harder
zcube Apr 23, 2018
0960f32
Introduce helper to create symlinks that knows about index_state
dscho Feb 11, 2019
5dcce1a
mingw: move the file_attr_to_st_mode() function definition
zcube Apr 23, 2018
12ea88b
mingw: allow to specify the symlink type in .gitattributes
piscisaureus Oct 26, 2018
baea4cf
mingw: Windows Docker volumes are *not* symbolic links
dscho Apr 23, 2018
cee92a6
mingw: work around rename() failing on a read-only file
dsl101 Jul 28, 2023
dd6f4f6
mingw: explicitly specify with which cmd to prefix the cmdline
dscho Jul 20, 2017
119a7bd
mingw: when path_lookup() failed, try BusyBox
dscho Jul 20, 2017
5fff04d
test-tool: learn to act as a drop-in replacement for `iconv`
dscho Jul 20, 2017
713de61
tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
dscho Jul 20, 2017
83ce344
gitattributes: mark .png files as binary
dscho Oct 11, 2018
7a10947
tests: move test PNGs into t/lib-diff/
dscho Aug 5, 2017
50e21b0
tests: only override sort & find if there are usable ones in /usr/bin/
dscho Jul 17, 2017
ab77ebf
tests: use the correct path separator with BusyBox
dscho Nov 19, 2018
6cd8117
mingw: only use Bash-ism `builtin pwd -W` when available
dscho Jun 29, 2017
495bf8e
tests (mingw): remove Bash-specific pwd option
dscho Jun 30, 2017
61b0aea
test-lib: add BUSYBOX prerequisite
dscho Jul 19, 2017
b29f110
t5003: use binary file from t/lib-diff/
dscho Aug 5, 2017
bffa16e
t5532: workaround for BusyBox on Windows
dscho Jul 21, 2017
f1c208d
t5605: special-case hardlink test for BusyBox-w32
dscho Jul 21, 2017
19fc9e7
t5813: allow for $PWD to be a Windows path
dscho Jul 5, 2017
948a285
mingw: kill child processes in a gentler way
dscho May 17, 2017
c7ac570
Win32: symlink: add test for `symlink` attribute
piscisaureus Oct 26, 2018
4161847
t9200: skip tests when $PWD contains a colon
dscho Jul 7, 2017
49c3f4b
mingw: optionally enable wsl compability file mode bits
swigger Jun 7, 2023
5c2a5a3
mingw: really handle SIGINT
dscho Apr 22, 2018
cb06418
Partially un-revert "editor: save and reset terminal after calling ED…
dscho Nov 25, 2021
4ac142d
reset: reinstate support for the deprecated --stdin option
dscho Dec 10, 2019
cff360f
Merge branch 'gitk-and-git-gui-patches'
dscho Oct 11, 2018
b961f12
Merge branch 'long-paths'
dscho Nov 15, 2018
2972e4e
Merge branch 'msys2'
dscho Nov 15, 2018
2b23277
Describe Git for Windows' architecture [no ci]
dscho Feb 13, 2023
891ba58
Merge 'docker-volumes-are-no-symlinks'
dscho Oct 12, 2018
8721a8b
Modify the Code of Conduct for Git for Windows
dscho Oct 11, 2019
5ee11b6
mingw: try resetting the read-only bit if rename fails (#4527)
dscho Aug 7, 2023
0a7316b
CONTRIBUTING.md: add guide for first-time contributors
derrickstolee Mar 1, 2018
75ab930
Merge pull request #1897 from piscisaureus/symlink-attr
dscho Oct 31, 2018
9928623
README.md: Add a Windows-specific preamble
dscho Jan 10, 2014
cc6638d
Merge branch 'busybox-w32'
dscho Feb 7, 2019
fa4ba97
Add an issue template
shiftkey Feb 18, 2016
921085e
Merge branch 'wsl-file-mode-bits'
dscho Aug 7, 2023
58c2623
Add a GitHub workflow to monitor component updates
dscho Sep 29, 2020
14a252e
Modify the GitHub Pull Request template (to reflect Git for Windows)
Dec 22, 2017
0239e4a
Merge pull request #1170 from dscho/mingw-kill-process
dscho Oct 11, 2018
aadd41a
fsmonitor: reintroduce core.useBuiltinFSMonitor
vdye Apr 4, 2022
9e50816
dependabot: help keeping GitHub Actions versions up to date
dscho Feb 6, 2024
6fda530
SECURITY.md: document Git for Windows' policies
dscho Aug 23, 2019
b77992d
Merge branch 'un-revert-editor-save-and-reset'
dscho Jan 15, 2022
d5f1dfd
Merge branch 'phase-out-reset-stdin'
dscho Jun 8, 2018
9b08647
Merge branch 'deprecate-core.useBuiltinFSMonitor'
dscho Jan 24, 2023
8b56f08
Merge pull request #2837 from dscho/monitor-component-updates
dscho Oct 7, 2020
3832dd2
Merge 'readme' into HEAD
dscho Jun 7, 2018
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
5 changes: 5 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ Jason Riedy <ejr@eecs.berkeley.edu> <ejr@cs.berkeley.edu>
Jay Soffian <jaysoffian@gmail.com> <jaysoffian+git@gmail.com>
Jean-Noël Avila <jn.avila@free.fr> Jean-Noel Avila
Jean-Noël Avila <jn.avila@free.fr> Jean-Noël AVILA
Jean-Noël Avila <jn.avila@free.fr> Jean-Noel Avila <jean-noel.avila@scantech.fr>
Jean-Noël Avila <jn.avila@free.fr> Jean-Noël AVILA <avila.jn@gmail.com>
Jean-Noël Avila <jn.avila@free.fr> Jean-Noël Avila via GitGitGadget <gitgitgadget@gmail.com>
Jeff King <peff@peff.net> <peff@github.com>
Jeff Muizelaar <jmuizelaar@mozilla.com> <jeff@infidigm.net>
Jens Axboe <axboe@kernel.dk> <axboe@suse.de>
Expand Down Expand Up @@ -226,6 +229,8 @@ Philip Jägenstedt <philip@foolip.org> <philip.jagenstedt@gmail.com>
Philip Oakley <philipoakley@iee.email> <philipoakley@iee.org> # secondary <philipoakley@dunelm.org.uk>
Philipp A. Hartmann <pah@qo.cx> <ph@sorgh.de>
Philippe Bruhat <book@cpan.org>
Phillip Wood <phillip.wood@dunelm.org.uk> <phillip.wood123@gmail.com>
Phillip Wood <phillip.wood@dunelm.org.uk> <phillip.wood@talktalk.net>
Ralf Thielow <ralf.thielow@gmail.com> <ralf.thielow@googlemail.com>
Ramsay Jones <ramsay@ramsayjones.plus.com> <ramsay@ramsay1.demon.co.uk>
Ramkumar Ramachandra <r@artagnon.com> <artagnon@gmail.com>
Expand Down
33 changes: 28 additions & 5 deletions Documentation/RelNotes/2.53.0.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@ UI, Workflows & Features
`--onto` option of "git replay". Test coverage of "git replay" has
been improved.

* The split command in "git subtree" (in contrib/) has been taught to
deal better with rebased history.

* The iconv library on macOS fails to correctly handle stateful
ISO/IEC 2022 encoded strings. Work it around instead of replacing
it wholesale from homebrew.
ISO/IEC 2022:1994 encoded strings. Work it around instead of
replacing it wholesale from homebrew.

* Upstream symbolic link support on Windows from Git-for-Windows.


Performance, Internal Implementation, Development Support etc.
Expand Down Expand Up @@ -110,6 +109,21 @@ Performance, Internal Implementation, Development Support etc.

* Further preparation to upstream symbolic link support on Windows.

* Remove implicit reliance on the_repository global in the APIs
around tree objects and make it explicit which repository to work
in.

* "git bugreport" and "git version --build-options" learned to
include use of 'gettext' feature, to make it easier to diagnose
problems around l10n.

* Dscho observed that SVN tests are taking too much time in CI leak
checking tasks, but most time is spent not in our code but in libsvn
code (which happen to be written in Perl), whose leaks have little
value to discover for us. Skip SVN, P4, and CVS tests in the leak
checking tasks.
(merge 047bd7dfe3 js/ci-leak-skip-svn later to maint).


Fixes since v2.52
-----------------
Expand Down Expand Up @@ -280,6 +294,12 @@ Fixes since v2.52
terminating newline, which has been corrected.
(merge a8227ae8d5 kt/http-backend-errors later to maint).

* "git repack --geometric" did not work with promisor packs, which
has been corrected.

* The logic that avoids reusing MIDX files with a wrong checksum was
broken, which has been corrected.

* 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).
Expand Down Expand Up @@ -311,3 +331,6 @@ Fixes since v2.52
(merge 3f051fc9c9 kh/doc-patch-id later to maint).
(merge 555c8464e5 je/doc-reset later to maint).
(merge 220f888d7e ps/t1410-cleanup later to maint).
(merge 5814b04c02 ps/config-doc-get-urlmatch-fix later to maint).
(merge 5ae594f30b sb/doc-update-ref-markup-fix later to maint).
(merge bc8556d066 ty/t1005-test-path-is-helpers later to maint).
2 changes: 1 addition & 1 deletion Documentation/git-config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ recommended to migrate to the new syntax.
Replaced by `git config get --all --show-names --regexp <name-regexp>`.

--get-urlmatch <name> <URL>::
Replaced by `git config get --all --show-names --url=<URL> <name>`.
Replaced by `git config get --url=<URL> <name>`.

--get-color <name> [<default>]::
Replaced by `git config get --type=color [--default=<default>] <name>`.
Expand Down
1 change: 1 addition & 0 deletions Documentation/git-replay.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ The default mode can be configured via the `replay.refAction` configuration vari
range should have a single tip, so that it's clear to which tip the
advanced <branch> should point.

:git-replay: 1
include::rev-list-options.adoc[]

[[output]]
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-update-ref.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ verify::
Verify <ref> against <old-oid> but do not change it. If
<old-oid> is zero or missing, the ref must not exist.

symref-create:
symref-create::
Create symbolic ref <ref> with <new-target> after verifying that
it does not exist.

Expand Down
3 changes: 2 additions & 1 deletion Documentation/lint-gitlink.perl
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ sub report {
@ARGV = $to_check;
while (<>) {
my $line = $_;
next if $line =~ /^\s*(ifn?def|endif)::/;
while ($line =~ m/(.{,8})((git[-a-z]+|scalar)\[(\d)*\])/g) {
my $pos = pos $line;
my ($macro, $target, $page, $section) = ($1, $2, $3, $4);
if ( $macro ne "linkgit:" && $macro !~ "ifn?def::" && $macro ne "endif::" ) {
if ( $macro ne "linkgit:" ) {
report($pos, $line, $target, "linkgit: macro expected");
}
}
Expand Down
4 changes: 2 additions & 2 deletions Documentation/rev-list-options.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@ endif::git-rev-list[]
Overrides a previous `--no-walk`.
endif::git-shortlog[]

ifndef::git-shortlog[]
ifndef::git-shortlog,git-replay[]
Commit Formatting
~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -1265,4 +1265,4 @@ ifdef::git-rev-list[]
counts and print the count for equivalent commits separated
by a tab.
endif::git-rev-list[]
endif::git-shortlog[]
endif::git-shortlog,git-replay[]
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.53.0-rc0
DEF_VER=v2.53.0-rc2

LF='
'
Expand Down
2 changes: 1 addition & 1 deletion add-interactive.c
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ static int run_revert(struct add_i_state *s, const struct pathspec *ps,
if (is_initial)
oidcpy(&oid, s->r->hash_algo->empty_tree);
else {
tree = parse_tree_indirect(&oid);
tree = repo_parse_tree_indirect(s->r, &oid);
if (!tree) {
res = error(_("Could not parse HEAD^{tree}"));
goto finish_revert;
Expand Down
2 changes: 1 addition & 1 deletion archive.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ static void parse_treeish_arg(const char **argv,
if (ar_args->mtime_option)
archive_time = approxidate(ar_args->mtime_option);

tree = parse_tree_indirect(&oid);
tree = repo_parse_tree_indirect(the_repository, &oid);
if (!tree)
die(_("not a tree object: %s"), oid_to_hex(&oid));

Expand Down
2 changes: 1 addition & 1 deletion bloom.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ static void init_truncated_large_filter(struct bloom_filter *filter,

static int has_entries_with_high_bit(struct repository *r, struct tree *t)
{
if (parse_tree(t))
if (repo_parse_tree(r, t))
return 1;

if (!(t->object.flags & VISITED)) {
Expand Down
10 changes: 5 additions & 5 deletions builtin/am.c
Original file line number Diff line number Diff line change
Expand Up @@ -1998,7 +1998,7 @@ static int fast_forward_to(struct tree *head, struct tree *remote, int reset)
struct unpack_trees_options opts;
struct tree_desc t[2];

if (parse_tree(head) || parse_tree(remote))
if (repo_parse_tree(the_repository, head) || repo_parse_tree(the_repository, remote))
return -1;

repo_hold_locked_index(the_repository, &lock_file, LOCK_DIE_ON_ERROR);
Expand Down Expand Up @@ -2038,7 +2038,7 @@ static int merge_tree(struct tree *tree)
struct unpack_trees_options opts;
struct tree_desc t[1];

if (parse_tree(tree))
if (repo_parse_tree(the_repository, tree))
return -1;

repo_hold_locked_index(the_repository, &lock_file, LOCK_DIE_ON_ERROR);
Expand Down Expand Up @@ -2071,11 +2071,11 @@ static int clean_index(const struct object_id *head, const struct object_id *rem
struct tree *head_tree, *remote_tree, *index_tree;
struct object_id index;

head_tree = parse_tree_indirect(head);
head_tree = repo_parse_tree_indirect(the_repository, head);
if (!head_tree)
return error(_("Could not parse object '%s'."), oid_to_hex(head));

remote_tree = parse_tree_indirect(remote);
remote_tree = repo_parse_tree_indirect(the_repository, remote);
if (!remote_tree)
return error(_("Could not parse object '%s'."), oid_to_hex(remote));

Expand All @@ -2089,7 +2089,7 @@ static int clean_index(const struct object_id *head, const struct object_id *rem
0, NULL))
return -1;

index_tree = parse_tree_indirect(&index);
index_tree = repo_parse_tree_indirect(the_repository, &index);
if (!index_tree)
return error(_("Could not parse object '%s'."), oid_to_hex(&index));

Expand Down
12 changes: 7 additions & 5 deletions builtin/checkout.c
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ static int reset_tree(struct tree *tree, const struct checkout_opts *o,
init_checkout_metadata(&opts.meta, info->refname,
info->commit ? &info->commit->object.oid : null_oid(the_hash_algo),
NULL);
if (parse_tree(tree) < 0)
if (repo_parse_tree(the_repository, tree) < 0)
return 128;
init_tree_desc(&tree_desc, &tree->object.oid, tree->buffer, tree->size);
switch (unpack_trees(1, &tree_desc, &opts)) {
Expand Down Expand Up @@ -805,7 +805,8 @@ static int merge_working_tree(const struct checkout_opts *opts,
if (opts->new_orphan_branch && opts->orphan_from_empty_tree) {
if (new_branch_info->commit)
BUG("'switch --orphan' should never accept a commit as starting point");
new_tree = parse_tree_indirect(the_hash_algo->empty_tree);
new_tree = repo_parse_tree_indirect(the_repository,
the_hash_algo->empty_tree);
if (!new_tree)
BUG("unable to read empty tree");
} else {
Expand Down Expand Up @@ -843,14 +844,15 @@ static int merge_working_tree(const struct checkout_opts *opts,
old_commit_oid = old_branch_info->commit ?
&old_branch_info->commit->object.oid :
the_hash_algo->empty_tree;
tree = parse_tree_indirect(old_commit_oid);
tree = repo_parse_tree_indirect(the_repository,
old_commit_oid);
if (!tree)
die(_("unable to parse commit %s"),
oid_to_hex(old_commit_oid));

init_tree_desc(&trees[0], &tree->object.oid,
tree->buffer, tree->size);
if (parse_tree(new_tree) < 0)
if (repo_parse_tree(the_repository, new_tree) < 0)
die(NULL);
tree = new_tree;
init_tree_desc(&trees[1], &tree->object.oid,
Expand Down Expand Up @@ -1280,7 +1282,7 @@ static void setup_new_branch_info_and_source_tree(
new_branch_info->commit = lookup_commit_reference_gently(the_repository, rev, 1);
if (!new_branch_info->commit) {
/* not a commit */
*source_tree = parse_tree_indirect(rev);
*source_tree = repo_parse_tree_indirect(the_repository, rev);
if (!*source_tree)
die(_("unable to read tree (%s)"), oid_to_hex(rev));
} else {
Expand Down
4 changes: 2 additions & 2 deletions builtin/clone.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,10 +680,10 @@ static int checkout(int submodule_progress, int filter_submodules,
opts.dst_index = the_repository->index;
init_checkout_metadata(&opts.meta, head, &oid, NULL);

tree = parse_tree_indirect(&oid);
tree = repo_parse_tree_indirect(the_repository, &oid);
if (!tree)
die(_("unable to parse commit %s"), oid_to_hex(&oid));
if (parse_tree(tree) < 0)
if (repo_parse_tree(the_repository, tree) < 0)
exit(128);
init_tree_desc(&t, &tree->object.oid, tree->buffer, tree->size);
if (unpack_trees(1, &t, &opts) < 0)
Expand Down
5 changes: 3 additions & 2 deletions builtin/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,11 @@ static void create_base_index(const struct commit *current_head)
opts.dst_index = the_repository->index;

opts.fn = oneway_merge;
tree = parse_tree_indirect(&current_head->object.oid);
tree = repo_parse_tree_indirect(the_repository,
&current_head->object.oid);
if (!tree)
die(_("failed to unpack HEAD tree object"));
if (parse_tree(tree) < 0)
if (repo_parse_tree(the_repository, tree) < 0)
exit(128);
init_tree_desc(&t, &tree->object.oid, tree->buffer, tree->size);
if (unpack_trees(1, &t, &opts))
Expand Down
2 changes: 1 addition & 1 deletion builtin/diff-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static int stdin_diff_trees(struct tree *tree1, const char *p)
if (!isspace(*p++) || parse_oid_hex(p, &oid, &p) || *p)
return error("Need exactly two trees, separated by a space");
tree2 = lookup_tree(the_repository, &oid);
if (!tree2 || parse_tree(tree2))
if (!tree2 || repo_parse_tree(the_repository, tree2))
return -1;
printf("%s %s\n", oid_to_hex(&tree1->object.oid),
oid_to_hex(&tree2->object.oid));
Expand Down
2 changes: 1 addition & 1 deletion builtin/ls-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ int cmd_ls_tree(int argc,
for (i = 0; i < options.pathspec.nr; i++)
options.pathspec.items[i].nowildcard_len = options.pathspec.items[i].len;
options.pathspec.has_wildcard = 0;
tree = parse_tree_indirect(&oid);
tree = repo_parse_tree_indirect(the_repository, &oid);
if (!tree)
die("not a tree object");
/*
Expand Down
9 changes: 6 additions & 3 deletions builtin/merge-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -447,17 +447,20 @@ static int real_merge(struct merge_tree_options *o,

if (repo_get_oid_treeish(the_repository, merge_base, &base_oid))
die(_("could not parse as tree '%s'"), merge_base);
base_tree = parse_tree_indirect(&base_oid);
base_tree = repo_parse_tree_indirect(the_repository,
&base_oid);
if (!base_tree)
die(_("unable to read tree (%s)"), oid_to_hex(&base_oid));
if (repo_get_oid_treeish(the_repository, branch1, &head_oid))
die(_("could not parse as tree '%s'"), branch1);
parent1_tree = parse_tree_indirect(&head_oid);
parent1_tree = repo_parse_tree_indirect(the_repository,
&head_oid);
if (!parent1_tree)
die(_("unable to read tree (%s)"), oid_to_hex(&head_oid));
if (repo_get_oid_treeish(the_repository, branch2, &merge_oid))
die(_("could not parse as tree '%s'"), branch2);
parent2_tree = parse_tree_indirect(&merge_oid);
parent2_tree = repo_parse_tree_indirect(the_repository,
&merge_oid);
if (!parent2_tree)
die(_("unable to read tree (%s)"), oid_to_hex(&merge_oid));

Expand Down
8 changes: 4 additions & 4 deletions builtin/merge.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,19 +756,19 @@ static int read_tree_trivial(struct object_id *common, struct object_id *head,
opts.trivial_merges_only = 1;
opts.merge = 1;
opts.preserve_ignored = 0; /* FIXME: !overwrite_ignore */
trees[nr_trees] = parse_tree_indirect(common);
trees[nr_trees] = repo_parse_tree_indirect(the_repository, common);
if (!trees[nr_trees++])
return -1;
trees[nr_trees] = parse_tree_indirect(head);
trees[nr_trees] = repo_parse_tree_indirect(the_repository, head);
if (!trees[nr_trees++])
return -1;
trees[nr_trees] = parse_tree_indirect(one);
trees[nr_trees] = repo_parse_tree_indirect(the_repository, one);
if (!trees[nr_trees++])
return -1;
opts.fn = threeway_merge;
cache_tree_free(&the_repository->index->cache_tree);
for (i = 0; i < nr_trees; i++) {
parse_tree(trees[i]);
repo_parse_tree(the_repository, trees[i]);
init_tree_desc(t+i, &trees[i]->object.oid,
trees[i]->buffer, trees[i]->size);
}
Expand Down
14 changes: 11 additions & 3 deletions builtin/pack-objects.c
Original file line number Diff line number Diff line change
Expand Up @@ -3863,8 +3863,11 @@ static void read_packs_list_from_stdin(struct rev_info *revs)
repo_for_each_pack(the_repository, p) {
const char *pack_name = pack_basename(p);

if ((item = string_list_lookup(&include_packs, pack_name)))
if ((item = string_list_lookup(&include_packs, pack_name))) {
if (exclude_promisor_objects && p->pack_promisor)
die(_("packfile %s is a promisor but --exclude-promisor-objects was given"), p->pack_name);
item->util = p;
}
if ((item = string_list_lookup(&exclude_packs, pack_name)))
item->util = p;
}
Expand Down Expand Up @@ -3942,6 +3945,7 @@ static void read_stdin_packs(enum stdin_packs_mode mode, int rev_list_unpacked)
revs.tree_objects = 1;
revs.tag_objects = 1;
revs.ignore_missing_links = 1;
revs.exclude_promisor_objects = exclude_promisor_objects;

/* avoids adding objects in excluded packs */
ignore_packed_keep_in_core = 1;
Expand Down Expand Up @@ -5098,9 +5102,13 @@ int cmd_pack_objects(int argc,
exclude_promisor_objects_best_effort,
"--exclude-promisor-objects-best-effort");
if (exclude_promisor_objects) {
use_internal_rev_list = 1;
fetch_if_missing = 0;
strvec_push(&rp, "--exclude-promisor-objects");

/* --stdin-packs handles promisor objects separately. */
if (!stdin_packs) {
use_internal_rev_list = 1;
strvec_push(&rp, "--exclude-promisor-objects");
}
} else if (exclude_promisor_objects_best_effort) {
use_internal_rev_list = 1;
fetch_if_missing = 0;
Expand Down
Loading
Loading