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.44.0-rc0 #4801

Merged
merged 961 commits into from
Feb 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
961 commits
Select commit Hold shift + click to select a range
adfa9af
hash-object: add a >4GB/LLP64 test case using filtered input
PhilipOakley Dec 7, 2021
4d5f6bc
compat/mingw.c: do not warn when failing to get owner
derrickstolee Apr 13, 2022
09b582e
mingw: $env:TERM="xterm-256color" for newer OSes
rkitover Apr 12, 2022
ee67164
winansi: check result and Buffer before using Name
1480c1 May 28, 2022
4194acd
Add config option `windows.appendAtomically`
sunzhuoshi Jan 15, 2022
4dd1012
vcxproj: allow building with `NO_PERL` again
dscho Mar 29, 2022
75b29d5
vcxproj: require C11
dscho Jun 28, 2022
5f42f98
vcxproj: ignore the `-pedantic` option
dscho Jun 28, 2022
b1dce61
vcxproj: include reftable when committing `.vcxproj` files
dscho Jun 28, 2022
1398194
vcxproj: handle libreftable_test, too
dscho Jun 28, 2022
6af63c9
mingw: change core.fsyncObjectFiles = 1 by default
dscho Sep 4, 2017
bdda4a9
vcxproj: avoid escaping double quotes in the defines
dscho Jun 28, 2022
9356e8a
ci: adjust Azure Pipeline for `runs_on_pool`
dscho Jul 9, 2022
e5e3418
ci: stop linking the `prove` cache
dscho Jul 9, 2022
bf1de07
ci: reinstate Azure Pipelines support
dscho Feb 11, 2021
9f2a988
azure-pipeline: drop the `GETTEXT_POISON` job
dscho Mar 29, 2022
90d5aa1
azure-pipeline: stop hard-coding `apt-get` calls
dscho Mar 29, 2022
2efc682
azure-pipeline: drop the code to write to/read from a file share
dscho Jul 9, 2022
f02cef7
azure-pipeline: use partial clone/parallel checkout to initialize min…
dscho Jul 9, 2022
f89636b
azure-pipeline: downcase the job name of the `Linux32` job
dscho Jul 9, 2022
e7164df
azure-pipeline: run static-analysis on jammy
ttaylorr Feb 8, 2021
4d7fc2f
MinGW: link as terminal server aware
rimrul Jul 10, 2022
0d4081b
Fix Windows version resources
Mortein Nov 2, 2022
fc4ba85
bswap.h: add support for built-in bswap functions
dennisameling Oct 4, 2022
8c72ab3
http: optionally load libcurl lazily
dscho May 6, 2023
359804e
http: support lazy-loading libcurl also on Windows
dscho May 7, 2023
df832a2
http: when loading libcurl lazily, allow for multiple SSL backends
dscho May 7, 2023
d48d4a1
status: fix for old-style submodules with commondir
sceptical-coder Oct 28, 2022
575360d
windows: skip linking `git-<command>` for built-ins
dscho Jan 27, 2023
758eb76
windows: fix Repository>Explore Working Copy
dscho Mar 21, 2023
5f391ca
mingw: do load libcurl dynamically by default
dscho May 7, 2023
f8c5c67
mingw: suggest `windows.appendAtomically` in more cases
dsl101 Jul 28, 2023
ad1a318
win32: use native ANSI sequence processing, if possible
dscho Nov 22, 2023
c6e18ad
git.rc: include winuser.h
rimrul Dec 2, 2023
dc95f4d
dependabot: help keeping GitHub Actions versions up to date
dscho Feb 6, 2024
9471bc6
build(deps): bump actions/cache from 3 to 4
dependabot[bot] Feb 7, 2024
742b547
build(deps): bump mshick/add-pr-comment from 1 to 2
dependabot[bot] Feb 7, 2024
b3ee228
build(deps): bump actions/setup-go from 2 to 5
dependabot[bot] Feb 7, 2024
ac09146
build(deps): bump actions/download-artifact from 3 to 4
dependabot[bot] Feb 7, 2024
8d2729e
ci: bump actions/upload-artifact to v4
rimrul Feb 8, 2024
dd75561
build(deps): bump actions/checkout from 3 to 4
dependabot[bot] Feb 7, 2024
af7ae49
config.mak.uname: add support for clangarm64
dennisameling Oct 4, 2022
2849c15
ci: create clangarm64-build.yml
dennisameling Oct 4, 2022
a8f4b84
Add a GitHub workflow to verify that Git/Scalar work in Nano Server
dscho Nov 2, 2022
cd0efa4
Merge 'remote-hg-prerequisites' into HEAD
dscho Jun 8, 2018
f66aee1
Merge branch 'drive-prefix'
dscho Jun 8, 2018
41072ed
Merge branch 'dont-clean-junctions'
dscho Jul 30, 2019
d16ba12
Merge branch 'msys2-python'
dscho May 31, 2019
422ead8
Merge branch 'mimalloc-v2.0.9'
dscho Sep 8, 2022
bb60326
Merge pull request #2375 from assarbad/reintroduce-sideband-config
dscho Oct 30, 2019
c4977fd
Merge pull request #2405 from dscho/mingw-setsockopt
dscho Nov 25, 2019
c19c8a4
Merge pull request #2449 from dscho/mingw-getcwd-and-symlinks
dscho Jan 3, 2020
400d815
Merge pull request #2488 from bmueller84/master
dscho Jan 22, 2020
654bfde
Merge pull request #2501 from jeffhostetler/clink-debug-curl
dscho Jan 30, 2020
2122ddb
Merge pull request #2504 from dscho/access-repo-via-junction
dscho Feb 1, 2020
ec3f96c
Merge pull request #2506 from dscho/issue-2283
dscho Feb 11, 2020
b96fc89
Merge pull request #2535 from dscho/schannel-revoke-best-effort
dscho Mar 4, 2020
839ac87
Merge pull request #2618 from dscho/avoid-d/f-conflict-in-vs/master
dscho May 9, 2020
91e4ebf
Merge 'add-p-many-files'
dscho Jun 8, 2018
9a286c3
Merge pull request #2730 from dscho/crlf-aware-git-add-i
dscho Jul 2, 2020
7b08ece
Merge pull request #2714 from lbonanomi/crlf-scissors
dscho Jul 3, 2020
10f2d6a
Merge pull request #2655 from jglathe/jg/t0014_trace_extra_info
dscho Oct 9, 2020
bb9dbed
Merge 'git-gui/js/intent-to-add'
dscho Oct 18, 2020
206a685
Merge pull request #2974 from derrickstolee/maintenance-and-headless
dscho Jan 11, 2021
e8590f1
cmake: install headless-git. (#4338)
dscho Mar 13, 2023
3286494
Merge pull request #2351 from PhilipOakley/vcpkg-tip
dscho Oct 7, 2019
8e102ca
Merge pull request #2915 from dennisameling/windows-arm64-support
dscho Dec 9, 2020
f53a08c
Merge pull request #3327 from dennisameling/fix-host-cpu
dscho Jul 19, 2021
f65ed36
Merge pull request #3150 from dscho/ci-cache-vcpkg-artifacts-g4w
dscho Mar 28, 2021
1d4f34b
Merge pull request #3165 from dscho/increase-allowed-length-of-interp…
dscho Apr 3, 2021
2744b61
Merge pull request #3220 from dscho/there-is-no-vs/master-anymore
dscho May 17, 2021
25ab026
Merge pull request #3293 from pascalmuller/http-support-automatically…
dscho Jun 24, 2021
1041d04
Merge pull request #3349 from vdye/feature/ci-subtree-tests
dscho Aug 10, 2021
dc18b2f
Merge pull request #3306 from PhilipOakley/vs-sln
dscho Oct 12, 2021
686f11f
Merge pull request #3417 from dscho/initialize-core.symlinks-earlier
dscho Oct 13, 2021
8bc724b
Merge branch 'mark-v4-fsmonitor-experimental' into try-v4-fsmonitor
jeffhostetler Sep 29, 2021
8a072a5
Merge pull request #3533 from PhilipOakley/hashliteral_t
dscho Dec 15, 2021
955f107
Merge pull request #3791: Various fixes around `safe.directory`
derrickstolee Apr 13, 2022
c42c786
Merge pull request #3751 from rkitover/native-term
dscho Apr 21, 2022
58801c4
Merge pull request #3875 from 1480c1/wine/detect_msys_tty
dscho May 30, 2022
30d48e6
Merge branch 'optionally-dont-append-atomically-on-windows'
dscho Jun 23, 2022
b819d88
Merge branch 'fsync-object-files-always'
dscho Oct 11, 2018
94dcba5
Merge branch 'ci-fixes'
dscho Feb 11, 2021
7ee2721
Merge pull request #3942 from rimrul/mingw-tsaware
dscho Jul 27, 2022
4863fb9
Fix Windows version resources (#4092)
dscho Nov 3, 2022
6577fd8
Merge branch 'builtin-swap-functions'
dscho Nov 23, 2022
20989cd
Add support for CLANGARM64 target (#3916)
dscho Oct 28, 2022
07f3e28
Fix global repository field not being cleared (#4083)
dscho Dec 20, 2022
1c604c2
Skip linking the "dashed" `git-<command>`s for built-ins (#4252)
dscho Jan 31, 2023
5cc1266
Git GUI: fix Repository>Explore Working Copy (#4357)
dscho Mar 21, 2023
84cab3f
Lazy load libcurl, allowing for an SSL/TLS backend-specific libcurl (…
dscho May 15, 2023
277586b
Merge branch 'nano-server'
dscho Aug 7, 2023
84bf164
Additional error checks for issuing the windows.appendAtomically warn…
dscho Aug 7, 2023
dd19347
win32: use native ANSI sequence processing, if possible (#4700)
dscho Dec 2, 2023
77445eb
ARM64: Embed manifest properly (#4718)
dscho Dec 7, 2023
e4a1041
dependabot: help keeping GitHub Actions versions up to date (#4792)
rimrul Feb 7, 2024
4619239
Win32: make FILETIME conversion functions public
kblees Jul 6, 2013
b8f812c
Win32: dirent.c: Move opendir down
kblees Sep 8, 2013
73027ed
mingw: make the dirent implementation pluggable
kblees Sep 8, 2013
a11a8ac
Merge branch 'ready-for-upstream'
dscho Oct 11, 2018
32d5356
Win32: make the lstat implementation pluggable
kblees Sep 8, 2013
abb83bc
mingw: add infrastructure for read-only file system level caches
kblees Sep 8, 2013
8a0b4db
fscache: add key for GIT_TRACE_FSCACHE
jeffhostetler Jan 24, 2017
bc9194e
mingw: add a cache below mingw's lstat and dirent implementations
kblees Oct 1, 2013
d6d8974
fscache: remember not-found directories
jeffhostetler Dec 13, 2016
2b2895f
fscache: load directories only once
kblees Jun 24, 2014
8dbd532
fscache: add a test for the dir-not-found optimization
dscho Jan 25, 2017
ae4b42e
dir.c: make add_excludes aware of fscache during status
jeffhostetler Nov 1, 2017
6a2343d
fscache: make fscache_enabled() public
jeffhostetler Dec 20, 2017
8650575
add: use preload-index and fscache for performance
jeffhostetler Nov 22, 2016
c1585e2
dir.c: regression fix for add_excludes with fscache
jeffhostetler Dec 20, 2017
717aa9a
fetch-pack.c: enable fscache for stats under .git/objects
Nov 22, 2017
058b1ac
checkout.c: enable fscache for checkout again
Jan 30, 2018
5242cc1
mem_pool: add GIT_TRACE_MEMPOOL support
benpeart Oct 4, 2018
217332c
fscache: fscache takes an initial size
benpeart Nov 2, 2018
556779e
Enable the filesystem cache (fscache) in refresh_index().
benpeart Sep 7, 2018
8985e6d
fscache: use FindFirstFileExW to avoid retrieving the short name
benpeart Oct 23, 2018
c0e9478
status: disable and free fscache at the end of the status command
benpeart Nov 1, 2018
0f9047d
fscache: add GIT_TEST_FSCACHE support
benpeart Oct 4, 2018
601a472
fscache: add fscache hit statistics
benpeart Sep 25, 2018
a1ff8e8
fscache: remember the reparse tag for each entry
dscho Dec 11, 2018
87a49f2
fscache: update fscache to be thread specific instead of global
benpeart Oct 4, 2018
7f6d364
fscache: implement an FSCache-aware is_mount_point()
dscho Dec 11, 2018
d2d53d5
fscache: teach fscache to use mempool
benpeart Nov 2, 2018
80126ad
fscache: make fscache_enable() thread safe
benpeart Nov 16, 2018
ae387da
fscache: teach fscache to use NtQueryDirectoryFile
benpeart Nov 15, 2018
4d2d6ae
unpack-trees: enable fscache for sparse-checkout
derrickstolee Jun 12, 2019
b15d3d9
git-gui--askyesno: fix funny text wrapping
dscho Sep 20, 2017
4b1b1b2
git-gui: provide question helper for retry fallback on Windows
hvoigt Feb 21, 2010
aedb111
git-gui--askyesno: allow overriding the window title
dscho Sep 20, 2017
78e1b53
git gui: set GIT_ASKPASS=git-gui--askpass if not set yet
dscho Jul 23, 2010
35800e6
git-gui--askyesno (mingw): use Git for Windows' icon, if available
dscho Sep 20, 2017
c377509
clean: make use of FSCache
dscho Dec 11, 2018
b78ed88
gitk: Unicode file name support
kblees Feb 4, 2012
0fac83d
gitk: Use an external icon file on Windows
sschuberth Jul 22, 2012
c93db98
gitk: fix arrow keys in input fields with Tcl/Tk >= 8.6
dscho Feb 16, 2016
86e576f
Merge 'git-gui' into HEAD
dscho Jun 7, 2018
f74888f
gitk: make the "list references" default window width wider
sidecut Jan 21, 2016
e84a95d
Merge branch 'fscache'
dscho Nov 15, 2018
813e9be
Merge branch 'git-gui-askyesno'
dscho Jun 8, 2018
8d90c2e
Merge pull request #994 from jeffhostetler/jeffhostetler/fscache_nfd
dscho Jun 8, 2018
a4ff191
Merge 'gitk' into HEAD
dscho Jun 7, 2018
365e1ba
Merge pull request #971 from jeffhostetler/jeffhostetler/add_preload_…
dscho Jun 8, 2018
8d6cf05
Merge pull request #1344 from jeffhostetler/perf_add_excludes_with_fs…
dscho Jun 8, 2018
d852cb0
Merge pull request #1426 from atetubou/fetch_pack
dscho Jun 8, 2018
d467a45
Merge pull request #1468 from atetubou/fscache_checkout_flush
dscho Oct 12, 2018
9e3ac6e
Merge pull request #1827 from benpeart/fscache_refresh_index
dscho Sep 27, 2018
440a795
Merge pull request #1908 from benpeart/FindFirstFileEx-gfw
dscho Nov 5, 2018
b05b329
Merge pull request #1909 from benpeart/free-fscache-after-status-gfw
dscho Nov 5, 2018
36d913f
Merge pull request #1911 from benpeart/git_test_fscache-gfw
dscho Nov 5, 2018
244b331
Merge pull request #1910 from benpeart/fscache_statistics-gfw
dscho Nov 16, 2018
f0b5880
Merge remote-tracking branch 'benpeart/fscache-per-thread-gfw'
dscho Nov 16, 2018
3e1e385
Merge pull request #1934 from benpeart/fscache-thread-safe-enable-gfw
dscho Nov 26, 2018
e0b5271
Merge pull request #1937 from benpeart/fscache-NtQueryDirectoryFile-gfw
dscho Nov 27, 2018
e06b84c
Merge branch 'fscache-and-sparse-checkout'
derrickstolee Jun 18, 2019
e9683b8
pack-objects (mingw): demonstrate a segmentation fault with large deltas
vangdfang Jan 9, 2014
2f7dfe9
Merge branch 'dont-clean-junctions-fscache'
dscho Jul 23, 2019
c4f7e1e
mingw: support long paths
kblees Jul 28, 2015
32624bb
Win32: fix 'lstat("dir/")' with long paths
kblees Jul 4, 2014
1b6d157
win32(long path support): leave drive-less absolute paths intact
dscho Sep 6, 2023
c020f14
compat/fsmonitor/fsm-*-win32: support long paths
jeffhostetler Mar 25, 2022
9c161b1
clean: suggest using `core.longPaths` if paths are too long to remove
mathstuf Apr 22, 2022
7b3ecaa
mingw: Support `git_terminal_prompt` with more terminals
kblees Mar 19, 2015
34a933a
strbuf_readlink: don't call readlink twice if hint is the exact link …
kblees May 11, 2015
42cf85d
strbuf_readlink: support link targets that exceed PATH_MAX
kblees May 11, 2015
fa1bf38
lockfile.c: use is_dir_sep() instead of hardcoded '/' checks
kblees May 11, 2015
6f1a739
Win32: don't call GetFileAttributes twice in mingw_lstat()
kblees May 12, 2015
dada6d0
Win32: implement stat() with symlink support
kblees May 15, 2015
d4a2b56
compat/terminal.c: only use the Windows console if bash 'read -r' fails
kblees May 9, 2015
2a2665c
Win32: remove separate do_lstat() function
kblees May 11, 2015
83d310a
mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
dscho Feb 23, 2018
996eb09
Win32: let mingw_lstat() error early upon problems with reparse points
kblees May 23, 2015
fede48b
Unbreak interactive GPG prompt upon signing
dscho Sep 6, 2016
185b204
mingw: teach fscache and dirent about symlinks
kblees Jan 10, 2017
113ca09
Win32: lstat(): return adequate stat.st_size for symlinks
kblees May 15, 2015
534a752
Win32: factor out retry logic
kblees May 19, 2015
179020e
Win32: change default of 'core.symlinks' to false
kblees May 23, 2015
1d95e40
Win32: add symlink-specific error codes
kblees May 15, 2015
3148b50
Win32: mingw_unlink: support symlinks to directories
kblees May 23, 2015
4491333
Win32: mingw_rename: support renaming symlinks
kblees May 19, 2015
2a19c8e
Win32: mingw_chdir: change to symlink-resolved directory
kblees May 23, 2015
977b781
Win32: implement readlink()
kblees May 23, 2015
fccf215
mingw: lstat: compute correct size for symlinks
billziss-gh May 28, 2020
18ca6d4
Win32: implement basic symlink() functionality (file symlinks only)
kblees May 23, 2015
aceda06
Win32: symlink: add support for symlinks to directories
kblees May 23, 2015
a6b014c
mingw: try to create symlinks without elevated permissions
dscho May 30, 2017
1dc87ff
mingw: emulate stat() a little more faithfully
dscho Mar 2, 2020
b24bb5c
mingw: special-case index entries for symlinks with buggy size
dscho Jun 4, 2020
8f4dae0
mingw: introduce code to detect whether we're inside a Windows container
ZCube Apr 23, 2018
7c0eb61
Win32: symlink: move phantom symlink creation to a separate function
piscisaureus Oct 26, 2018
b13757e
mingw: when running in a Windows container, try to rename() harder
ZCube Apr 23, 2018
c6fd0ea
Introduce helper to create symlinks that knows about index_state
dscho Feb 11, 2019
2852c4e
mingw: move the file_attr_to_st_mode() function definition
ZCube Apr 23, 2018
3b56754
mingw: allow to specify the symlink type in .gitattributes
piscisaureus Oct 26, 2018
3d21db0
mingw: Windows Docker volumes are *not* symbolic links
dscho Apr 23, 2018
8732850
mingw: work around rename() failing on a read-only file
dsl101 Jul 28, 2023
3f4790b
mingw: explicitly specify with which cmd to prefix the cmdline
dscho Jul 20, 2017
ab039e9
mingw: when path_lookup() failed, try BusyBox
dscho Jul 20, 2017
35e7204
test-lib: avoid unnecessary Perl invocation
dscho Aug 5, 2017
9dd0520
test-tool: learn to act as a drop-in replacement for `iconv`
dscho Jul 20, 2017
ee66969
tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
dscho Jul 20, 2017
6cfa349
gitattributes: mark .png files as binary
dscho Oct 11, 2018
f941f55
tests: move test PNGs into t/lib-diff/
dscho Aug 5, 2017
6bf2469
tests: only override sort & find if there are usable ones in /usr/bin/
dscho Jul 17, 2017
4a500ff
Win32: symlink: add test for `symlink` attribute
piscisaureus Oct 26, 2018
4a15dc6
tests: use the correct path separator with BusyBox
dscho Nov 19, 2018
9b21147
mingw: only use Bash-ism `builtin pwd -W` when available
dscho Jun 29, 2017
1432f3b
tests (mingw): remove Bash-specific pwd option
dscho Jun 30, 2017
ee9645f
test-lib: add BUSYBOX prerequisite
dscho Jul 19, 2017
32f116d
t5003: use binary file from t/lib-diff/
dscho Aug 5, 2017
27e1ff9
t5532: workaround for BusyBox on Windows
dscho Jul 21, 2017
388ddea
t5605: special-case hardlink test for BusyBox-w32
dscho Jul 21, 2017
4135380
t5813: allow for $PWD to be a Windows path
dscho Jul 5, 2017
4e1c3ca
t9200: skip tests when $PWD contains a colon
dscho Jul 7, 2017
8a79bc2
mingw: kill child processes in a gentler way
dscho May 17, 2017
58dfc2b
mingw: add a Makefile target to copy test artifacts
dscho Jul 19, 2017
b29a9ac
mingw: optionally enable wsl compability file mode bits
swigger Jun 7, 2023
57cc6f2
mingw: really handle SIGINT
dscho Apr 22, 2018
f95abb6
mingw: do not call xutftowcs_path in mingw_mktemp
neerajsi-msft Oct 27, 2021
1606d61
Partially un-revert "editor: save and reset terminal after calling ED…
dscho Nov 25, 2021
052add7
reset: reinstate support for the deprecated --stdin option
dscho Dec 10, 2019
6fc41b6
fsmonitor: reintroduce core.useBuiltinFSMonitor
vdye Apr 4, 2022
7db097f
Describe Git for Windows' architecture [no ci]
dscho Feb 13, 2023
7a503f1
Add a GitHub workflow to monitor component updates
dscho Sep 29, 2020
666c595
Modify the Code of Conduct for Git for Windows
dscho Oct 11, 2019
8d8b80e
CONTRIBUTING.md: add guide for first-time contributors
derrickstolee Mar 1, 2018
80818bc
README.md: Add a Windows-specific preamble
dscho Jan 10, 2014
2be1a7b
Add an issue template
shiftkey Feb 18, 2016
08ec415
Modify the GitHub Pull Request template (to reflect Git for Windows)
Dec 22, 2017
f9944c3
.github: Add configuration for the Sentiment Bot
dscho Feb 20, 2018
f25e24d
Merge branch 'gitk-and-git-gui-patches'
dscho Oct 11, 2018
4d421e5
Document how $HOME is set on Windows
alejandro5042 Mar 9, 2018
6eb260c
Merge branch 'long-paths'
dscho Nov 15, 2018
a5db93a
SECURITY.md: document Git for Windows' policies
dscho Aug 23, 2019
598acfb
Merge branch 'fix-v4-fsmonitor-long-paths' into try-v4-fsmonitor
jeffhostetler Sep 29, 2021
3e8a0cc
Merge pull request #3817 from mathstuf/name-too-long-advice
dscho Apr 22, 2022
9ec64ac
Merge branch 'msys2'
dscho Nov 15, 2018
f497ce4
Merge branch 'kblees/kb/symlinks'
dscho Nov 15, 2018
ccde843
Merge 'docker-volumes-are-no-symlinks'
dscho Oct 12, 2018
3ba601f
mingw: try resetting the read-only bit if rename fails (#4527)
dscho Aug 7, 2023
91992b4
Merge pull request #1897 from piscisaureus/symlink-attr
dscho Oct 31, 2018
a2ca067
Merge branch 'busybox-w32'
dscho Feb 7, 2019
84101a8
Merge branch 'wsl-file-mode-bits'
dscho Aug 7, 2023
366e304
Merge pull request #1170 from dscho/mingw-kill-process
dscho Oct 11, 2018
802d57b
Merge pull request #3492 from dscho/ns/batched-fsync
vdye Oct 28, 2021
2de4c5a
Merge branch 'un-revert-editor-save-and-reset'
dscho Jan 15, 2022
88dc3b8
Merge branch 'phase-out-reset-stdin'
dscho Jun 8, 2018
c21757d
Merge branch 'deprecate-core.useBuiltinFSMonitor'
dscho Jan 24, 2023
1e1fae8
Merge pull request #2837 from dscho/monitor-component-updates
dscho Oct 7, 2020
5cff971
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
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
env:
CIRRUS_CLONE_DEPTH: 1

freebsd_12_task:
freebsd_task:
env:
GIT_PROVE_OPTS: "--timer --jobs 10"
GIT_TEST_OPTS: "--no-chain-lint --no-bin-wrappers"
MAKEFLAGS: "-j4"
DEFAULT_TEST_TARGET: prove
DEVELOPER: 1
freebsd_instance:
image_family: freebsd-12-3
image_family: freebsd-13-2
memory: 2G
install_script:
pkg install -y gettext gmake perl5
Expand All @@ -19,4 +19,4 @@ freebsd_12_task:
build_script:
- su git -c gmake
test_script:
- su git -c 'gmake test'
- su git -c 'gmake DEFAULT_UNIT_TEST_TARGET=unit-tests-prove test unit-tests'
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,17 @@ jobs:
with:
name: failed-tests-${{matrix.vector.jobname}}
path: ${{env.FAILED_TEST_ARTIFACTS}}
fuzz-smoke-test:
name: fuzz smoke test
needs: ci-config
if: needs.ci-config.outputs.enabled == 'yes'
env:
CC: clang
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ci/install-dependencies.sh
- run: ci/run-build-and-minimal-fuzzers.sh
dockerized:
name: ${{matrix.vector.jobname}} (${{matrix.vector.image}})
needs: ci-config
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
/git-remote-ext
/git-repack
/git-replace
/git-replay
/git-request-pull
/git-rerere
/git-reset
Expand Down
95 changes: 95 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
default:
timeout: 2h

workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_REF_PROTECTED == "true"

test:linux:
image: $image
before_script:
- ./ci/install-docker-dependencies.sh
script:
- useradd builder --create-home
- chown -R builder "${CI_PROJECT_DIR}"
- sudo --preserve-env --set-home --user=builder ./ci/run-build-and-tests.sh
after_script:
- |
if test "$CI_JOB_STATUS" != 'success'
then
sudo --preserve-env --set-home --user=builder ./ci/print-test-failures.sh
fi
parallel:
matrix:
- jobname: linux-sha256
image: ubuntu:latest
CC: clang
- jobname: linux-gcc
image: ubuntu:20.04
CC: gcc
CC_PACKAGE: gcc-8
- jobname: linux-TEST-vars
image: ubuntu:20.04
CC: gcc
CC_PACKAGE: gcc-8
- jobname: linux-gcc-default
image: ubuntu:latest
CC: gcc
- jobname: linux-leaks
image: ubuntu:latest
CC: gcc
- jobname: linux-asan-ubsan
image: ubuntu:latest
CC: clang
- jobname: pedantic
image: fedora:latest
- jobname: linux-musl
image: alpine:latest
artifacts:
paths:
- t/failed-test-artifacts
when: on_failure

test:osx:
image: $image
tags:
- saas-macos-medium-m1
variables:
TEST_OUTPUT_DIRECTORY: "/Volumes/RAMDisk"
before_script:
# Create a 4GB RAM disk that we use to store test output on. This small hack
# significantly speeds up tests by more than a factor of 2 because the
# macOS runners use network-attached storage as disks, which is _really_
# slow with the many small writes that our tests do.
- sudo diskutil apfs create $(hdiutil attach -nomount ram://8192000) RAMDisk
- ./ci/install-dependencies.sh
script:
- ./ci/run-build-and-tests.sh
after_script:
- |
if test "$CI_JOB_STATUS" != 'success'
then
./ci/print-test-failures.sh
mv "$TEST_OUTPUT_DIRECTORY"/failed-test-artifacts t/
fi
parallel:
matrix:
- jobname: osx-clang
image: macos-13-xcode-14
CC: clang
artifacts:
paths:
- t/failed-test-artifacts
when: on_failure

static-analysis:
image: ubuntu:22.04
variables:
jobname: StaticAnalysis
before_script:
- ./ci/install-docker-dependencies.sh
script:
- ./ci/run-static-analysis.sh
- ./ci/check-directional-formatting.bash
4 changes: 2 additions & 2 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
[https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0].

Community Impact Guidelines were inspired by
Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available
at [https://www.contributor-covenant.org/translations][translations].

[homepage]: https://www.contributor-covenant.org
Expand Down
8 changes: 4 additions & 4 deletions Documentation/CodingGuidelines
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ For C programs:
one of the approved headers that includes it first for you. (The
approved headers currently include "builtin.h",
"t/helper/test-tool.h", "xdiff/xinclude.h", or
"reftable/system.h"). You do not have to include more than one of
"reftable/system.h".) You do not have to include more than one of
these.

- A C file must directly include the header files that declare the
Expand Down Expand Up @@ -490,7 +490,7 @@ For Perl programs:

- Most of the C guidelines above apply.

- We try to support Perl 5.8 and later ("use Perl 5.008").
- We try to support Perl 5.8.1 and later ("use Perl 5.008001").

- use strict and use warnings are strongly preferred.

Expand Down Expand Up @@ -518,7 +518,7 @@ For Perl programs:

For Python scripts:

- We follow PEP-8 (http://www.python.org/dev/peps/pep-0008/).
- We follow PEP-8 (https://peps.python.org/pep-0008/).

- As a minimum, we aim to be compatible with Python 2.7.

Expand Down Expand Up @@ -578,7 +578,7 @@ Externally Visible Names
. The variable name describes the effect of tweaking this knob.

The section and variable names that consist of multiple words are
formed by concatenating the words without punctuations (e.g. `-`),
formed by concatenating the words without punctuation marks (e.g. `-`),
and are broken using bumpyCaps in documentation as a hint to the
reader.

Expand Down
1 change: 1 addition & 0 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ TECH_DOCS += technical/scalar
TECH_DOCS += technical/send-pack-pipeline
TECH_DOCS += technical/shallow
TECH_DOCS += technical/trivial-merge
TECH_DOCS += technical/unit-tests
SP_ARTICLES += $(TECH_DOCS)
SP_ARTICLES += technical/api-index

Expand Down
7 changes: 4 additions & 3 deletions Documentation/MyFirstContribution.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ announcements, design discussions, and more take place. Those interested in
contributing are welcome to post questions here. The Git list requires
plain-text-only emails and prefers inline and bottom-posting when replying to
mail; you will be CC'd in all replies to you. Optionally, you can subscribe to
the list by sending an email to majordomo@vger.kernel.org with "subscribe git"
in the body. The https://lore.kernel.org/git[archive] of this mailing list is
the list by sending an email to <git+subscribe@vger.kernel.org>
(see https://subspace.kernel.org/subscribing.html for details).
The https://lore.kernel.org/git[archive] of this mailing list is
available to view in a browser.

==== https://groups.google.com/forum/#!forum/git-mentoring[git-mentoring@googlegroups.com]
Expand Down Expand Up @@ -833,7 +834,7 @@ Johannes Schindelin to make life as a Git contributor easier for those used to
the GitHub PR workflow. It allows contributors to open pull requests against its
mirror of the Git project, and does some magic to turn the PR into a set of
emails and send them out for you. It also runs the Git continuous integration
suite for you. It's documented at http://gitgitgadget.github.io.
suite for you. It's documented at https://gitgitgadget.github.io/.

[[create-fork]]
=== Forking `git/git` on GitHub
Expand Down
2 changes: 1 addition & 1 deletion Documentation/RelNotes/1.6.2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To ease the transition plan, the receiving repository of such a
push running this release will issue a big warning when the
configuration variable is missing. Please refer to:

http://git.or.cz/gitwiki/GitFaq#non-bare
https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare
https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/

for more details on the reason why this change is needed and the
Expand Down
2 changes: 1 addition & 1 deletion Documentation/RelNotes/1.6.3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To ease the transition plan, the receiving repository of such a
push running this release will issue a big warning when the
configuration variable is missing. Please refer to:

http://git.or.cz/gitwiki/GitFaq#non-bare
https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare
https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/

for more details on the reason why this change is needed and the
Expand Down
2 changes: 1 addition & 1 deletion Documentation/RelNotes/1.6.4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To ease the transition plan, the receiving repository of such a
push running this release will issue a big warning when the
configuration variable is missing. Please refer to:

http://git.or.cz/gitwiki/GitFaq#non-bare
https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare
https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/

for more details on the reason why this change is needed and the
Expand Down
2 changes: 1 addition & 1 deletion Documentation/RelNotes/1.6.5.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To ease the transition plan, the receiving repository of such a
push running this release will issue a big warning when the
configuration variable is missing. Please refer to:

http://git.or.cz/gitwiki/GitFaq#non-bare
https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare
https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/

for more details on the reason why this change is needed and the
Expand Down
2 changes: 1 addition & 1 deletion Documentation/RelNotes/1.6.6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ users will fare this time.

Please refer to:

http://git.or.cz/gitwiki/GitFaq#non-bare
https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare
https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/

for more details on the reason why this change is needed and the
Expand Down
82 changes: 82 additions & 0 deletions Documentation/RelNotes/2.43.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
Git 2.43.1 Release Notes
========================

There is nothing exciting to see here. Relative to Git 2.43, this
release contains the fixes that have already been merged to the
'master' branch of the development towards the next major release.

Fixes since Git 2.43.0
----------------------

* The way CI testing used "prove" could lead to running the test
suite twice needlessly, which has been corrected.

* Newer versions of Getopt::Long started giving warnings against our
(ab)use of it in "git send-email". Bump the minimum version
requirement for Perl to 5.8.1 (from September 2002) to allow
simplifying our implementation.

* Earlier we stopped relying on commit-graph that (still) records
information about commits that are lost from the object store,
which has negative performance implications. The default has been
flipped to disable this pessimization.

* Stale URLs have been updated to their current counterparts (or
archive.org) and HTTP links are replaced with working HTTPS links.

* trace2 streams used to record the URLs that potentially embed
authentication material, which has been corrected.

* The sample pre-commit hook that tries to catch introduction of new
paths that use potentially non-portable characters did not notice
an existing path getting renamed to such a problematic path, when
rename detection was enabled.

* The command line parser for the "log" family of commands was too
loose when parsing certain numbers, e.g., silently ignoring the
extra 'q' in "git log -n 1q" without complaining, which has been
tightened up.

* "git $cmd --end-of-options --rev -- --path" for some $cmd failed
to interpret "--rev" as a rev, and "--path" as a path. This was
fixed for many programs like "reset" and "checkout".

* "git bisect reset" has been taught to clean up state files and refs
even when BISECT_START file is gone.

* Some codepaths did not correctly parse configuration variables
specified with valueless "true", which has been corrected.

* Code clean-up for sanity checking of command line options for "git
show-ref".

* The code to parse the From e-mail header has been updated to avoid
recursion.

* "git fetch --atomic" issued an unnecessary empty error message,
which has been corrected.

* Command line completion script (in contrib/) learned to work better
with the reftable backend.

* "git status" is taught to show both the branch being bisected and
being rebased when both are in effect at the same time.
cf. <xmqqil76kyov.fsf@gitster.g>

* "git archive --list extra garbage" silently ignored excess command
line parameters, which has been corrected.

* "git sparse-checkout set" added default patterns even when the
patterns are being fed from the standard input, which has been
corrected.

* Unlike other environment variables that took the usual
true/false/yes/no as well as 0/1, GIT_FLUSH only understood 0/1,
which has been corrected.

* Clearing in-core repository (happens during e.g., "git fetch
--recurse-submodules" with commit graph enabled) made in-core
commit object in an inconsistent state by discarding the necessary
data from commit-graph too early, which has been corrected.

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