Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase to v2.48.0 rc1 #5337

Merged
merged 513 commits into from
Dec 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
513 commits
Select commit Hold shift + click to select a range
7fb1ae5
Merge branch 'safe-PATH-lookup-in-gitk-on-Windows'
dscho Jan 21, 2023
34b04ff
Merge 'remote-hg-prerequisites' into HEAD
dscho Jun 8, 2018
e73893e
Merge branch 'drive-prefix'
dscho Jun 8, 2018
fe4d145
run-command: be helpful with Git LFS fails on Windows 7
dscho Jul 4, 2024
06e0112
clean: do not traverse mount points
dscho Dec 7, 2018
7dbe561
clean: remove mount points when possible
dscho Dec 11, 2018
da9b725
Merge branch 'dont-clean-junctions'
dscho Jul 30, 2019
d7df245
Merge branch 'msys2-python'
dscho May 31, 2019
cd7cf56
Merge branch 'mimalloc-v2.0.9'
dscho Sep 8, 2022
beb5609
Merge pull request #2375 from assarbad/reintroduce-sideband-config
dscho Oct 30, 2019
da29bce
Merge pull request #2405 from dscho/mingw-setsockopt
dscho Nov 25, 2019
d541c52
Merge pull request #2449 from dscho/mingw-getcwd-and-symlinks
dscho Jan 3, 2020
a9a0c48
Merge pull request #2488 from bmueller84/master
dscho Jan 22, 2020
870c8d6
Merge pull request #2501 from jeffhostetler/clink-debug-curl
dscho Jan 30, 2020
f8cd560
Merge pull request #2504 from dscho/access-repo-via-junction
dscho Feb 1, 2020
7cb2536
Merge pull request #2506 from dscho/issue-2283
dscho Feb 11, 2020
de511d7
Merge pull request #2535 from dscho/schannel-revoke-best-effort
dscho Mar 4, 2020
6407120
Merge pull request #2618 from dscho/avoid-d/f-conflict-in-vs/master
dscho May 9, 2020
88a8e24
Merge 'add-p-many-files'
dscho Jun 8, 2018
f2157d4
Merge pull request #2730 from dscho/crlf-aware-git-add-i
dscho Jul 2, 2020
f1a1373
Merge pull request #2714 from lbonanomi/crlf-scissors
dscho Jul 3, 2020
4fe1db9
Merge pull request #2655 from jglathe/jg/t0014_trace_extra_info
dscho Oct 9, 2020
e9200cf
Merge 'git-gui/js/intent-to-add'
dscho Oct 18, 2020
6c3c708
Merge pull request #2974 from derrickstolee/maintenance-and-headless
dscho Jan 11, 2021
c8a4dc5
cmake: install headless-git. (#4338)
dscho Mar 13, 2023
f6a54f1
Merge pull request #2351 from PhilipOakley/vcpkg-tip
dscho Oct 7, 2019
ccbec2f
Merge pull request #2915 from dennisameling/windows-arm64-support
dscho Dec 9, 2020
0ed7af2
Merge pull request #3327 from dennisameling/fix-host-cpu
dscho Jul 19, 2021
e623cef
Merge pull request #3165 from dscho/increase-allowed-length-of-interp…
dscho Apr 3, 2021
86b931d
Merge pull request #3220 from dscho/there-is-no-vs/master-anymore
dscho May 17, 2021
6173157
Merge pull request #3293 from pascalmuller/http-support-automatically…
dscho Jun 24, 2021
6fcd144
Merge pull request #3349 from vdye/feature/ci-subtree-tests
dscho Aug 10, 2021
1c14759
Merge pull request #3306 from PhilipOakley/vs-sln
dscho Oct 12, 2021
76e1342
Merge pull request #3417 from dscho/initialize-core.symlinks-earlier
dscho Oct 13, 2021
5da2991
Merge pull request #3533 from PhilipOakley/hashliteral_t
dscho Dec 15, 2021
fc26435
Merge pull request #3791: Various fixes around `safe.directory`
derrickstolee Apr 13, 2022
7b204a8
Merge pull request #3751 from rkitover/native-term
dscho Apr 21, 2022
990b30e
Merge pull request #3875 from 1480c1/wine/detect_msys_tty
dscho May 30, 2022
c38e4c7
Merge branch 'optionally-dont-append-atomically-on-windows'
dscho Jun 23, 2022
cbbfd77
Merge branch 'fsync-object-files-always'
dscho Oct 11, 2018
13fd784
Merge branch 'ci-fixes'
dscho Feb 11, 2021
b4bbe84
Merge pull request #3942 from rimrul/mingw-tsaware
dscho Jul 27, 2022
aa15e39
Fix Windows version resources (#4092)
dscho Nov 3, 2022
04375b7
Merge branch 'builtin-swap-functions'
dscho Nov 23, 2022
96ce6dc
Add support for CLANGARM64 target (#3916)
dscho Oct 28, 2022
79dbf24
Fix global repository field not being cleared (#4083)
dscho Dec 20, 2022
49e222c
Skip linking the "dashed" `git-<command>`s for built-ins (#4252)
dscho Jan 31, 2023
7a3b0bf
Git GUI: fix Repository>Explore Working Copy (#4357)
dscho Mar 21, 2023
1d1d34c
Lazy load libcurl, allowing for an SSL/TLS backend-specific libcurl (…
dscho May 15, 2023
780a638
Merge branch 'nano-server'
dscho Aug 7, 2023
97d6a3d
Additional error checks for issuing the windows.appendAtomically warn…
dscho Aug 7, 2023
bee92c6
win32: use native ANSI sequence processing, if possible (#4700)
dscho Dec 2, 2023
f6ea06b
ARM64: Embed manifest properly (#4718)
dscho Dec 7, 2023
8e8746f
common-main.c: fflush stdout buffer when exit (#4901)
dscho Apr 12, 2024
8a03762
Merge branch 'run-t5601-and-t7406-with-symlinks-on-windows-10'
dscho Jul 12, 2024
a3bc5a7
Merge branch 'Fix-i686-build-with-GCC-v14'
dscho Jul 12, 2024
9058dbf
Merge branch 'Fallback-to-AppData-if-XDG-CONFIG-HOME-is-unset'
dscho Jul 12, 2024
02d8f68
Merge branch 'run-command-be-helpful-when-Git-LFS-fails-on-Windows-7'
dscho Jul 12, 2024
c18eec2
test-tool: add helper for name-hash values
derrickstolee Sep 9, 2024
717d2ea
path-walk: introduce an object walk by path
derrickstolee Aug 29, 2024
5712852
t6601: add helper for testing path-walk API
derrickstolee Sep 18, 2024
5ca70e2
path-walk: allow consumer to specify object types
derrickstolee Sep 1, 2024
ea9bfb1
path-walk: allow visiting tags
derrickstolee Sep 9, 2024
22bf55a
revision: create mark_trees_uninteresting_dense()
derrickstolee Sep 6, 2024
d3c8e10
repack/pack-objects: mark `--full-name-hash` as experimental
dscho Sep 24, 2024
c828be5
path-walk: add prune_all_uninteresting option
derrickstolee Sep 4, 2024
4ba7825
pack-objects: extract should_attempt_deltas()
derrickstolee Sep 24, 2024
631e5ae
pack-objects: add --path-walk option
derrickstolee Sep 5, 2024
668d2c6
pack-objects: introduce GIT_TEST_PACK_PATH_WALK
derrickstolee Sep 6, 2024
c08b741
repack: add --path-walk option
derrickstolee Sep 5, 2024
bcc2998
pack-objects: enable --path-walk via config
derrickstolee Sep 5, 2024
b66f206
scalar: enable path-walk during push via config
derrickstolee Sep 5, 2024
fc1b841
pack-objects: refactor path-walk delta phase
derrickstolee Sep 18, 2024
ed57923
backfill: add builtin boilerplate
derrickstolee Jun 7, 2024
8fa78d4
backfill: basic functionality and tests
derrickstolee Sep 1, 2024
6bbef15
backfill: add --batch-size=<n> option
derrickstolee Sep 1, 2024
cdcc117
backfill: add --sparse option
derrickstolee Sep 1, 2024
00d5b70
pack-objects: thread the path-based compression
derrickstolee Sep 18, 2024
82591fb
path-walk API: avoid adding a root tree more than once
dscho Oct 7, 2024
247d737
survey: stub in new experimental 'git-survey' command
Apr 29, 2024
1b0e485
survey: add command line opts to select references
Apr 29, 2024
dcde0e1
survey: start pretty printing data in table form
derrickstolee Sep 1, 2024
ae8bf20
survey: add object count summary
derrickstolee Sep 2, 2024
0ccd24d
backfill: assume --sparse when sparse-checkout is enabled
derrickstolee Sep 1, 2024
e91880a
survey: summarize total sizes by object type
derrickstolee Sep 2, 2024
e3a0eb1
backfill: mark it as experimental
dscho Sep 26, 2024
8039e13
survey: show progress during object walk
derrickstolee Sep 2, 2024
4c6ca70
survey: add ability to track prioritized lists
derrickstolee Sep 2, 2024
b0605a4
survey: add report of "largest" paths
derrickstolee Sep 2, 2024
daeb926
survey: add --top=<N> option and config
derrickstolee Sep 23, 2024
937327e
survey: clearly note the experimental nature in the output
dscho Jul 1, 2024
43f7f13
path-walk: improve path-walk speed with many tags
derrickstolee Oct 9, 2024
57102a0
pack-objects: create new name-hash algorithm (#5157)
dscho Sep 24, 2024
fe9bb49
Add path walk API and its use in 'git pack-objects' (#5171)
derrickstolee Sep 25, 2024
6361ad9
path-walk API: avoid adding a root tree more than once (#5195)
dscho Oct 8, 2024
8261a96
Introduce 'git backfill' to get missing blobs in a partial clone (#5172)
dscho Sep 26, 2024
0a2409f
Add experimental 'git survey' builtin (#5174)
dscho Sep 26, 2024
2653087
path-walk: improve path-walk speed with many tags (#5205)
dscho Oct 11, 2024
7437408
Win32: make FILETIME conversion functions public
kblees Jul 6, 2013
c467349
Win32: dirent.c: Move opendir down
kblees Sep 8, 2013
c1a73bc
mingw: make the dirent implementation pluggable
kblees Sep 8, 2013
8f716ae
Win32: make the lstat implementation pluggable
kblees Sep 8, 2013
84375a7
mingw: add infrastructure for read-only file system level caches
kblees Sep 8, 2013
1ff2275
mingw: add a cache below mingw's lstat and dirent implementations
kblees Oct 1, 2013
3c6c1a3
fscache: load directories only once
kblees Jun 24, 2014
1ba5bb6
Merge branch 'ready-for-upstream'
dscho Oct 11, 2018
842ccc1
fscache: add key for GIT_TRACE_FSCACHE
jeffhostetler Jan 24, 2017
1eecdca
dir.c: make add_excludes aware of fscache during status
jeffhostetler Nov 1, 2017
e251d36
fscache: remember not-found directories
jeffhostetler Dec 13, 2016
8b9520d
fscache: make fscache_enabled() public
jeffhostetler Dec 20, 2017
f2ed338
fscache: add a test for the dir-not-found optimization
dscho Jan 25, 2017
37a5774
add: use preload-index and fscache for performance
jeffhostetler Nov 22, 2016
6e65c31
dir.c: regression fix for add_excludes with fscache
jeffhostetler Dec 20, 2017
5ce03d7
fetch-pack.c: enable fscache for stats under .git/objects
Nov 22, 2017
e89f5ef
checkout.c: enable fscache for checkout again
Jan 30, 2018
9a234e5
Enable the filesystem cache (fscache) in refresh_index().
benpeart Sep 7, 2018
ba37bce
fscache: use FindFirstFileExW to avoid retrieving the short name
benpeart Oct 23, 2018
c16679f
status: disable and free fscache at the end of the status command
benpeart Nov 1, 2018
7212f15
mem_pool: add GIT_TRACE_MEMPOOL support
benpeart Oct 4, 2018
d62cc4a
fscache: fscache takes an initial size
benpeart Nov 2, 2018
7b620c6
fscache: update fscache to be thread specific instead of global
benpeart Oct 4, 2018
e31fe77
fscache: add GIT_TEST_FSCACHE support
benpeart Oct 4, 2018
b7f233d
fscache: add fscache hit statistics
benpeart Sep 25, 2018
3308914
fscache: teach fscache to use mempool
benpeart Nov 2, 2018
658faab
fscache: remember the reparse tag for each entry
dscho Dec 11, 2018
84dc943
fscache: implement an FSCache-aware is_mount_point()
dscho Dec 11, 2018
951831f
fscache: make fscache_enable() thread safe
benpeart Nov 16, 2018
0ed68ab
fscache: teach fscache to use NtQueryDirectoryFile
benpeart Nov 15, 2018
a4932ba
unpack-trees: enable fscache for sparse-checkout
derrickstolee Jun 12, 2019
aff9c5c
clean: make use of FSCache
dscho Dec 11, 2018
53bc672
gitk: Unicode file name support
kblees Feb 4, 2012
d2a95c9
git-gui--askyesno: fix funny text wrapping
dscho Sep 20, 2017
2891686
gitk: Use an external icon file on Windows
sschuberth Jul 22, 2012
13aaa6f
git-gui: provide question helper for retry fallback on Windows
hvoigt Feb 21, 2010
e85ee97
git-gui--askyesno: allow overriding the window title
dscho Sep 20, 2017
9360077
gitk: fix arrow keys in input fields with Tcl/Tk >= 8.6
dscho Feb 16, 2016
999b9d2
git gui: set GIT_ASKPASS=git-gui--askpass if not set yet
dscho Jul 23, 2010
8b10c79
git-gui--askyesno (mingw): use Git for Windows' icon, if available
dscho Sep 20, 2017
ec83eb8
gitk: make the "list references" default window width wider
sidecut Jan 21, 2016
d064b7d
Merge 'git-gui' into HEAD
dscho Jun 7, 2018
225a649
Merge branch 'git-gui-askyesno'
dscho Jun 8, 2018
1b88843
Merge 'gitk' into HEAD
dscho Jun 7, 2018
5c59ae7
Merge branch 'fscache'
dscho Nov 15, 2018
ead98c6
Merge pull request #994 from jeffhostetler/jeffhostetler/fscache_nfd
dscho Jun 8, 2018
fedccca
Merge pull request #971 from jeffhostetler/jeffhostetler/add_preload_…
dscho Jun 8, 2018
dbe21c0
Merge pull request #1344 from jeffhostetler/perf_add_excludes_with_fs…
dscho Jun 8, 2018
80c4c6f
Merge pull request #1426 from atetubou/fetch_pack
dscho Jun 8, 2018
124f4d4
Merge pull request #1468 from atetubou/fscache_checkout_flush
dscho Oct 12, 2018
3683af5
Merge pull request #1827 from benpeart/fscache_refresh_index
dscho Sep 27, 2018
0f48b1e
Merge pull request #1908 from benpeart/FindFirstFileEx-gfw
dscho Nov 5, 2018
31877cb
Merge pull request #1909 from benpeart/free-fscache-after-status-gfw
dscho Nov 5, 2018
4ef0cbe
Merge pull request #1911 from benpeart/git_test_fscache-gfw
dscho Nov 5, 2018
fe19f7b
Merge pull request #1910 from benpeart/fscache_statistics-gfw
dscho Nov 16, 2018
4b7ad45
Merge remote-tracking branch 'benpeart/fscache-per-thread-gfw'
dscho Nov 16, 2018
4d8f07f
Merge pull request #1934 from benpeart/fscache-thread-safe-enable-gfw
dscho Nov 26, 2018
b2289f0
Merge pull request #1937 from benpeart/fscache-NtQueryDirectoryFile-gfw
dscho Nov 27, 2018
0ee98ae
Merge branch 'fscache-and-sparse-checkout'
derrickstolee Jun 18, 2019
181c119
Merge branch 'dont-clean-junctions-fscache'
dscho Jul 23, 2019
dba37e8
pack-objects (mingw): demonstrate a segmentation fault with large deltas
vangdfang Jan 9, 2014
da59a5a
mingw: support long paths
kblees Jul 28, 2015
29d2eb0
Win32: fix 'lstat("dir/")' with long paths
kblees Jul 4, 2014
281482c
win32(long path support): leave drive-less absolute paths intact
dscho Sep 6, 2023
9d9060a
compat/fsmonitor/fsm-*-win32: support long paths
jeffhostetler Mar 25, 2022
ba0f161
clean: suggest using `core.longPaths` if paths are too long to remove
mathstuf Apr 22, 2022
c8b30ea
strbuf_readlink: don't call readlink twice if hint is the exact link …
kblees May 11, 2015
7564b76
strbuf_readlink: support link targets that exceed PATH_MAX
kblees May 11, 2015
7045375
lockfile.c: use is_dir_sep() instead of hardcoded '/' checks
kblees May 11, 2015
ffac96b
mingw: Support `git_terminal_prompt` with more terminals
kblees Mar 19, 2015
4dd345f
Win32: don't call GetFileAttributes twice in mingw_lstat()
kblees May 12, 2015
8b9b5a0
compat/terminal.c: only use the Windows console if bash 'read -r' fails
kblees May 9, 2015
24b2079
Win32: implement stat() with symlink support
kblees May 15, 2015
86d309f
mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
dscho Feb 23, 2018
4448227
Win32: remove separate do_lstat() function
kblees May 11, 2015
720ff4f
Win32: let mingw_lstat() error early upon problems with reparse points
kblees May 23, 2015
7f0e475
mingw: teach fscache and dirent about symlinks
kblees Jan 10, 2017
15d9ebc
Win32: lstat(): return adequate stat.st_size for symlinks
kblees May 15, 2015
bfe3a8d
Win32: factor out retry logic
kblees May 19, 2015
fd71c74
Win32: change default of 'core.symlinks' to false
kblees May 23, 2015
9d3dc70
Win32: add symlink-specific error codes
kblees May 15, 2015
4aacaa2
Win32: mingw_unlink: support symlinks to directories
kblees May 23, 2015
a476dff
Win32: mingw_rename: support renaming symlinks
kblees May 19, 2015
b5ce5a5
Win32: mingw_chdir: change to symlink-resolved directory
kblees May 23, 2015
bbdff29
Win32: implement readlink()
kblees May 23, 2015
22444da
mingw: lstat: compute correct size for symlinks
billziss-gh May 28, 2020
779dfff
Win32: implement basic symlink() functionality (file symlinks only)
kblees May 23, 2015
d7135b3
Win32: symlink: add support for symlinks to directories
kblees May 23, 2015
0f5b3be
mingw: introduce code to detect whether we're inside a Windows container
ZCube Apr 23, 2018
f776f96
mingw: try to create symlinks without elevated permissions
dscho May 30, 2017
03e4daf
mingw: when running in a Windows container, try to rename() harder
ZCube Apr 23, 2018
bb48bc5
mingw: emulate stat() a little more faithfully
dscho Mar 2, 2020
f33b115
mingw: move the file_attr_to_st_mode() function definition
ZCube Apr 23, 2018
b19e053
mingw: special-case index entries for symlinks with buggy size
dscho Jun 4, 2020
61d9dc0
Win32: symlink: move phantom symlink creation to a separate function
piscisaureus Oct 26, 2018
714ab70
Introduce helper to create symlinks that knows about index_state
dscho Feb 11, 2019
c1d47f9
mingw: allow to specify the symlink type in .gitattributes
piscisaureus Oct 26, 2018
ddd67d2
mingw: Windows Docker volumes are *not* symbolic links
dscho Apr 23, 2018
d710917
mingw: work around rename() failing on a read-only file
dsl101 Jul 28, 2023
c85178f
Win32: symlink: add test for `symlink` attribute
piscisaureus Oct 26, 2018
3c55f81
mingw: explicitly specify with which cmd to prefix the cmdline
dscho Jul 20, 2017
6202426
mingw: when path_lookup() failed, try BusyBox
dscho Jul 20, 2017
8d068c8
test-lib: avoid unnecessary Perl invocation
dscho Aug 5, 2017
33afc51
test-tool: learn to act as a drop-in replacement for `iconv`
dscho Jul 20, 2017
dcab3e9
tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
dscho Jul 20, 2017
3b6db2a
gitattributes: mark .png files as binary
dscho Oct 11, 2018
7bcc5bb
tests: move test PNGs into t/lib-diff/
dscho Aug 5, 2017
1819e89
tests: only override sort & find if there are usable ones in /usr/bin/
dscho Jul 17, 2017
cb214a9
tests: use the correct path separator with BusyBox
dscho Nov 19, 2018
b44e0a1
mingw: only use Bash-ism `builtin pwd -W` when available
dscho Jun 29, 2017
6f709cd
tests (mingw): remove Bash-specific pwd option
dscho Jun 30, 2017
fe9b337
test-lib: add BUSYBOX prerequisite
dscho Jul 19, 2017
56397c0
t5003: use binary file from t/lib-diff/
dscho Aug 5, 2017
943cebe
t5532: workaround for BusyBox on Windows
dscho Jul 21, 2017
76aaf08
t5605: special-case hardlink test for BusyBox-w32
dscho Jul 21, 2017
b11693c
t5813: allow for $PWD to be a Windows path
dscho Jul 5, 2017
cc5a6a1
t9200: skip tests when $PWD contains a colon
dscho Jul 7, 2017
08bf6c2
mingw: kill child processes in a gentler way
dscho May 17, 2017
e77fe5f
mingw: add a Makefile target to copy test artifacts
dscho Jul 19, 2017
9dc26ca
mingw: optionally enable wsl compability file mode bits
swigger Jun 7, 2023
985de60
mingw: really handle SIGINT
dscho Apr 22, 2018
cf381e0
mingw: do not call xutftowcs_path in mingw_mktemp
neerajsi-msft Oct 27, 2021
c0e4873
Partially un-revert "editor: save and reset terminal after calling ED…
dscho Nov 25, 2021
afc1e3b
reset: reinstate support for the deprecated --stdin option
dscho Dec 10, 2019
b44b8e6
Describe Git for Windows' architecture [no ci]
dscho Feb 13, 2023
05e17f6
Modify the Code of Conduct for Git for Windows
dscho Oct 11, 2019
bfe0af7
CONTRIBUTING.md: add guide for first-time contributors
derrickstolee Mar 1, 2018
80bd342
README.md: Add a Windows-specific preamble
dscho Jan 10, 2014
1ba81bb
Add a GitHub workflow to monitor component updates
dscho Sep 29, 2020
befbbb2
Add an issue template
shiftkey Feb 18, 2016
4fcf9ff
fsmonitor: reintroduce core.useBuiltinFSMonitor
vdye Apr 4, 2022
7e81408
dependabot: help keeping GitHub Actions versions up to date
dscho Feb 6, 2024
68add37
Merge branch 'gitk-and-git-gui-patches'
dscho Oct 11, 2018
183c8c9
Modify the GitHub Pull Request template (to reflect Git for Windows)
Dec 22, 2017
235e9b1
Merge branch 'long-paths'
dscho Nov 15, 2018
24fa65c
SECURITY.md: document Git for Windows' policies
dscho Aug 23, 2019
516305d
Merge branch 'fix-v4-fsmonitor-long-paths' into try-v4-fsmonitor
jeffhostetler Sep 29, 2021
08d4169
Merge pull request #3817 from mathstuf/name-too-long-advice
dscho Apr 22, 2022
f7f7587
Merge branch 'msys2'
dscho Nov 15, 2018
9e7901f
Merge branch 'kblees/kb/symlinks'
dscho Nov 15, 2018
fe99995
Merge 'docker-volumes-are-no-symlinks'
dscho Oct 12, 2018
607d7a2
mingw: try resetting the read-only bit if rename fails (#4527)
dscho Aug 7, 2023
93b01db
Merge pull request #1897 from piscisaureus/symlink-attr
dscho Oct 31, 2018
6b03046
Merge branch 'busybox-w32'
dscho Feb 7, 2019
35f58b2
Merge branch 'wsl-file-mode-bits'
dscho Aug 7, 2023
d471e61
Merge pull request #1170 from dscho/mingw-kill-process
dscho Oct 11, 2018
a61bb84
Merge pull request #3492 from dscho/ns/batched-fsync
vdye Oct 28, 2021
db8466b
Merge branch 'un-revert-editor-save-and-reset'
dscho Jan 15, 2022
b57f7c3
Merge branch 'phase-out-reset-stdin'
dscho Jun 8, 2018
0b97509
Merge branch 'deprecate-core.useBuiltinFSMonitor'
dscho Jan 24, 2023
0da0453
Merge pull request #2837 from dscho/monitor-component-updates
dscho Oct 7, 2020
5d54b0d
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
  •  
  •  
  •  
23 changes: 13 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,13 @@ jobs:
cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
steps:
- uses: actions/checkout@v4
- name: setup SDK
shell: powershell
run: ci/install-sdk.ps1
- uses: git-for-windows/setup-git-for-windows-sdk@v1
- name: build
shell: powershell
shell: bash
env:
HOME: ${{runner.workspace}}
NO_PERL: 1
run: git-sdk/usr/bin/bash.exe -l -c 'ci/make-test-artifacts.sh artifacts'
run: . /etc/profile && ci/make-test-artifacts.sh artifacts
- name: zip up tracked files
run: git archive -o artifacts/tracked.tar.gz HEAD
- name: upload tracked files and build artifacts
Expand Down Expand Up @@ -149,12 +147,10 @@ jobs:
- name: extract tracked files and build artifacts
shell: bash
run: tar xf artifacts.tar.gz && tar xf tracked.tar.gz
- name: setup SDK
shell: powershell
run: ci/install-sdk.ps1
- uses: git-for-windows/setup-git-for-windows-sdk@v1
- name: test
shell: powershell
run: git-sdk/usr/bin/bash.exe -l -c 'ci/run-test-slice.sh ${{matrix.nr}} 10'
shell: bash
run: . /etc/profile && ci/run-test-slice.sh ${{matrix.nr}} 10
- name: print test failures
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
shell: bash
Expand Down Expand Up @@ -289,6 +285,9 @@ jobs:
- jobname: osx-gcc
cc: gcc-13
pool: macos-13
- jobname: osx-meson
cc: clang
pool: macos-13
- jobname: linux-gcc-default
cc: gcc
pool: ubuntu-latest
Expand All @@ -301,11 +300,15 @@ jobs:
- jobname: linux-asan-ubsan
cc: clang
pool: ubuntu-latest
- jobname: linux-meson
cc: gcc
pool: ubuntu-latest
env:
CC: ${{matrix.vector.cc}}
CC_PACKAGE: ${{matrix.vector.cc_package}}
jobname: ${{matrix.vector.jobname}}
distro: ${{matrix.vector.pool}}
TEST_OUTPUT_DIRECTORY: ${{github.workspace}}/t
runs-on: ${{matrix.vector.pool}}
steps:
- uses: actions/checkout@v4
Expand Down
12 changes: 10 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ test:linux:
- saas-linux-medium-amd64
variables:
CUSTOM_PATH: "/custom"
TEST_OUTPUT_DIRECTORY: "/tmp/test-output"
before_script:
- ./ci/install-dependencies.sh
script:
Expand All @@ -31,6 +32,7 @@ test:linux:
if test "$CI_JOB_STATUS" != 'success'
then
sudo --preserve-env --set-home --user=builder ./ci/print-test-failures.sh
mv "$TEST_OUTPUT_DIRECTORY"/failed-test-artifacts t/
fi
parallel:
matrix:
Expand Down Expand Up @@ -67,6 +69,9 @@ test:linux:
image: fedora:latest
- jobname: linux-musl
image: alpine:latest
- jobname: linux-meson
image: ubuntu:latest
CC: gcc
artifacts:
paths:
- t/failed-test-artifacts
Expand Down Expand Up @@ -99,10 +104,13 @@ test:osx:
parallel:
matrix:
- jobname: osx-clang
image: macos-13-xcode-14
image: macos-14-xcode-15
CC: clang
- jobname: osx-reftable
image: macos-13-xcode-14
image: macos-14-xcode-15
CC: clang
- jobname: osx-meson
image: macos-14-xcode-15
CC: clang
artifacts:
paths:
Expand Down
17 changes: 6 additions & 11 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ endif
-include ../config.mak.autogen
-include ../config.mak

# Set GIT_VERSION_OVERRIDE such that version_gen knows to substitute
# GIT_VERSION in case it was set by the user.
GIT_VERSION_OVERRIDE := $(GIT_VERSION)

ifndef NO_MAN_BOLD_LITERAL
XMLTO_EXTRA += -m manpage-bold-literal.xsl
endif
Expand Down Expand Up @@ -211,12 +215,10 @@ XMLTO_EXTRA += --skip-validation
XMLTO_EXTRA += -x manpage.xsl

asciidoctor-extensions.rb: asciidoctor-extensions.rb.in FORCE
$(QUIET_GEN)GIT_USER_AGENT="$(GIT_USER_AGENT)" $(SHELL_PATH) ../GIT-VERSION-GEN "$(shell pwd)/.." $< $@+
@if cmp $@+ $@ >/dev/null 2>&1; then $(RM) $@+; else mv $@+ $@; fi
$(QUIET_GEN)$(call version_gen,"$(shell pwd)/..",$<,$@)
else
asciidoc.conf: asciidoc.conf.in FORCE
$(QUIET_GEN)GIT_USER_AGENT="$(GIT_USER_AGENT)" $(SHELL_PATH) ../GIT-VERSION-GEN "$(shell pwd)/.." $< $@+
@if cmp $@+ $@ >/dev/null 2>&1; then $(RM) $@+; else mv $@+ $@; fi
$(QUIET_GEN)$(call version_gen,"$(shell pwd)/..",$<,$@)
endif

ASCIIDOC_DEPS += docinfo.html
Expand Down Expand Up @@ -276,13 +278,6 @@ install-pdf: pdf
install-html: html
'$(SHELL_PATH_SQ)' ./install-webdoc.sh $(DESTDIR)$(htmldir)

../GIT-VERSION-FILE: FORCE
$(QUIET_SUBDIR0)../ $(QUIET_SUBDIR1) GIT-VERSION-FILE

ifneq ($(filter-out lint-docs clean,$(MAKECMDGOALS)),)
-include ../GIT-VERSION-FILE
endif

mergetools_txt = mergetools-diff.txt mergetools-merge.txt

#
Expand Down
46 changes: 46 additions & 0 deletions Documentation/RelNotes/2.48.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ UI, Workflows & Features
both learned to trigger fsck over the new objects with configurable
fck check levels.

* When "git fetch $remote" notices that refs/remotes/$remote/HEAD is
missing and discovers what branch the other side points with its
HEAD, refs/remotes/$remote/HEAD is updated to point to it.

* "git fetch" honors "remote.<remote>.followRemoteHEAD" settings to
tweak the remote-tracking HEAD in "refs/remotes/<remote>/HEAD".

* "git range-diff" learned to optionally show and compare merge
commits in the ranges being compared, with the --diff-merges
option.


Performance, Internal Implementation, Development Support etc.
--------------------------------------------------------------
Expand Down Expand Up @@ -134,6 +145,25 @@ Performance, Internal Implementation, Development Support etc.

* Build procedure update plus introduction of Meson based builds.

* Recent reftable updates mistook a NULL return from a request for
0-byte allocation as OOM and died unnecessarily, which has been
corrected.

* Reftable backend adds check for upper limit of log's update_index.

* Start working to make the codebase buildable with -Wsign-compare.

* Regression fix for 'show-index' when run outside of a repository.

* The meson-build procedure is integrated into CI to catch and
prevent bitrotting.

* "git refs migrate" learned to also migrate the reflog data across
backends.

* The developer documentation has been updated to give the latest
info on gitk and git-gui maintainer.


Fixes since v2.47
-----------------
Expand Down Expand Up @@ -265,6 +295,21 @@ Fixes since v2.47
* Fix performance regression of a recent "fatten promisor pack with
local objects" protection against an unwanted gc.

* "git log -p --remerge-diff --reverse" was completely broken.
(merge f94bfa1516 js/log-remerge-keep-ancestry later to maint).

* "git bundle create" with an annotated tag on the positive end of
the revision range had a workaround code for older limitation in
the revision walker, which has become unnecessary.
(merge dd1072dfa8 tc/bundle-with-tag-remove-workaround later to maint).

* GitLab CI updates.
(merge c6b43f663e ps/ci-gitlab-update later to maint).

* Code to reuse objects based on bitmap contents have been tightened
to avoid race condition even when multiple packs are involved.
(merge 62b3ec8a3f tb/bitmap-fix-pack-reuse later to maint).

* Other code cleanup, docfix, build fix, etc.
(merge 77af53f56f aa/t7300-modernize later to maint).
(merge dcd590a39d bf/t-readme-mention-reftable later to maint).
Expand All @@ -273,3 +318,4 @@ Fixes since v2.47
(merge 168ebb7159 jc/doc-error-message-guidelines later to maint).
(merge 18693d7d65 kh/doc-bundle-typofix later to maint).
(merge e2f5d3b491 kh/doc-update-ref-grammofix later to maint).
(merge 8525e92886 mh/doc-windows-home-env later to maint).
11 changes: 6 additions & 5 deletions Documentation/SubmittingPatches
Original file line number Diff line number Diff line change
Expand Up @@ -692,16 +692,17 @@ rebase when I receive your patches).
Some parts of the system have dedicated maintainers with their own
repositories.

- `git-gui/` comes from git-gui project, maintained by Johannes Sixt:
- `git-gui/` comes from the git-gui project, maintained by Johannes Sixt:

https://github.com/j6t/git-gui

- `gitk-git/` comes from Paul Mackerras's gitk project:
Contibutions should go via the git mailing list.

git://git.ozlabs.org/~paulus/gitk
- `gitk-git/` comes from the gitk project, maintained by Johannes Sixt:

Those who are interested in improving gitk can volunteer to help Paul
maintain it, cf. <YntxL/fTplFm8lr6@cleo>.
https://github.com/j6t/gitk

Contibutions should go via the git mailing list.

- `po/` comes from the localization coordinator, Jiang Xin:

Expand Down
6 changes: 3 additions & 3 deletions Documentation/asciidoc.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ tilde=&#126;
apostrophe=&#39;
backtick=&#96;
litdd=&#45;&#45;
manmanual='Git Manual'
mansource='Git @GIT_VERSION@'
revdate='@GIT_DATE@'
manmanual=Git Manual
mansource=Git @GIT_VERSION@
revdate=@GIT_DATE@

ifdef::backend-docbook[]
[linkgit-inlinemacro]
Expand Down
5 changes: 4 additions & 1 deletion Documentation/asciidoctor-extensions.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ module Git
class DocumentPostProcessor < Asciidoctor::Extensions::Postprocessor
def process document, output
if document.basebackend? 'docbook'
output = output.sub(/<refmiscinfo class="source">.*?<\/refmiscinfo>/, "")
output = output.sub(/<refmiscinfo class="manual">.*?<\/refmiscinfo>/, "")
output = output.sub(/<date>.*?<\/date>/, "<date>@GIT_DATE@</date>")
new_tags = "" \
"<refmiscinfo class=\"source\">@GIT_VERSION@</refmiscinfo>\n" \
"<refmiscinfo class=\"source\">Git @GIT_VERSION@</refmiscinfo>\n" \
"<refmiscinfo class=\"manual\">Git Manual</refmiscinfo>\n"
output = output.sub(/<\/refmeta>/, new_tags + "</refmeta>")
end
Expand Down
13 changes: 13 additions & 0 deletions Documentation/config/remote.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,19 @@ remote.<name>.serverOption::
The default set of server options used when fetching from this remote.
These server options can be overridden by the `--server-option=` command
line arguments.

remote.<name>.followRemoteHEAD::
How linkgit:git-fetch[1] should handle updates to `remotes/<name>/HEAD`.
The default value is "create", which will create `remotes/<name>/HEAD`
if it exists on the remote, but not locally, but will not touch an
already existing local reference. Setting to "warn" will print
a message if the remote has a different value, than the local one and
in case there is no local reference, it behaves like "create".
A variant on "warn" is "warn-if-not-$branch", which behaves like
"warn", but if `HEAD` on the remote is `$branch` it will be silent.
Setting to "always" will silently update it to the value on the remote.
Finally, setting it to "never" will never change or create the local
reference.
+
This is a multi-valued variable, and an empty value can be used in a higher
priority configuration file (e.g. `.git/config` in a repository) to clear
Expand Down
17 changes: 16 additions & 1 deletion Documentation/git-range-diff.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ SYNOPSIS
[verse]
'git range-diff' [--color=[<when>]] [--no-color] [<diff-options>]
[--no-dual-color] [--creation-factor=<factor>]
[--left-only | --right-only]
[--left-only | --right-only] [--diff-merges=<format>]
[--remerge-diff]
( <range1> <range2> | <rev1>...<rev2> | <base> <rev1> <rev2> )
[[--] <path>...]

Expand Down Expand Up @@ -81,6 +82,20 @@ to revert to color all lines according to the outer diff markers
Suppress commits that are missing from the second specified range
(or the "right range" when using the `<rev1>...<rev2>` format).

--diff-merges=<format>::
Instead of ignoring merge commits, generate diffs for them using the
corresponding `--diff-merges=<format>` option of linkgit:git-log[1],
and include them in the comparison.
+
Note: In the common case, the `remerge` mode will be the most natural one
to use, as it shows only the diff on top of what Git's merge machinery would
have produced. In other words, if a merge commit is the result of a
non-conflicting `git merge`, the `remerge` mode will represent it with an empty
diff.

--remerge-diff::
Convenience option, equivalent to `--diff-merges=remerge`.

--[no-]notes[=<ref>]::
This flag is passed to the `git log` program
(see linkgit:git-log[1]) that generates the patches.
Expand Down
2 changes: 0 additions & 2 deletions Documentation/git-refs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ KNOWN LIMITATIONS

The ref format migration has several known limitations in its current form:

* It is not possible to migrate repositories that have reflogs.

* It is not possible to migrate repositories that have worktrees.

* There is no way to block concurrent writes to the repository during an
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git.txt
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ their values the same way as Boolean valued configuration variables, e.g.
Here are the variables:

System
~~~~~~
~~~~~~~~~~~~~~~~~~
`HOME`::
Specifies the path to the user's home directory. On Windows, if
unset, Git will set a process environment variable equal to:
Expand Down
1 change: 1 addition & 0 deletions Documentation/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ asciidoc_conf = custom_target(
input: meson.current_source_dir() / 'asciidoc.conf.in',
output: 'asciidoc.conf',
depends: [git_version_file],
env: version_gen_environment,
)

asciidoc_common_options = [
Expand Down
Loading
Loading