Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
340 commits
Select commit Hold shift + click to select a range
34ac89c
git-artifacts: use the cached build-installers instead of makepkg-git
dscho Feb 3, 2021
c2bf203
git-artifacts: mark all inputs as "not required"
dscho Feb 23, 2021
e8c2ea7
git-artifacts: add ARM64 artifacts
dennisameling Feb 4, 2021
f6c5c43
git-artifacts(build-arm64): build artifacts using the intended Git re…
dscho Feb 23, 2021
0d32fb3
git-artifacts: add workaround for GCM Core on ARM64
dennisameling Mar 3, 2021
2e409f7
cmake(): allow setting HOST_CPU for cross-compilation
dennisameling Jul 19, 2021
8df2626
git-artifacts: use the `setup-git-for-windows-sdk` Action
dscho Feb 23, 2021
ac3e37d
Merge branch 'dennisameling-git-credential-manager-core-arm64'
dscho Aug 7, 2021
dd60736
Merge branch 'dscho-assorted-git-artifacts-fixes'
dscho Aug 7, 2021
00e75df
subtree: update `contrib/subtree` `test` target
vdye Aug 5, 2021
f3d1a3a
ci(): add HOST_CPU to CMake command
dennisameling Jul 19, 2021
496fd0f
ci(vs-build): download the vcpkg artifacts using a dedicated Action
dscho Feb 19, 2021
0525aad
mingw: allow for longer paths in `parse_interpreter()`
dscho Apr 2, 2021
774e68a
compat/vcbuild: document preferred way to build in Visual Studio
dscho May 17, 2021
c5854b6
http: optionally send SSL client certificate
pascalmuller Jun 23, 2021
3461a4d
ci: run `contrib/subtree` tests in CI builds
vdye Aug 5, 2021
6dad062
hash-object: demonstrate a >4GB/LLP64 problem
PhilipOakley Oct 31, 2021
edf526f
hash_object_file_literally(): use size_t
PhilipOakley Nov 12, 2021
87f0c54
object-file.c: use size_t for header lengths
PhilipOakley Nov 12, 2021
832b209
CMake: default Visual Studio generator has changed
PhilipOakley Jul 1, 2021
cd4f888
hash algorithms: use size_t for section lengths
PhilipOakley Nov 12, 2021
bc9bc18
.gitignore: add Visual Studio CMakeSetting.json file
PhilipOakley Apr 24, 2021
b337932
hash-object --stdin: verify that it works with >4GB/LLP64
PhilipOakley Dec 6, 2021
18c3f33
CMakeLists: add default "x64-windows" arch for Visual Studio
PhilipOakley Apr 22, 2021
a222b0f
fsmonitor: reintroduce core.useBuiltinFSMonitor
vdye Apr 4, 2022
99014ea
hash-object: add another >4GB/LLP64 test case
PhilipOakley Dec 6, 2021
f91f5c4
CMake: show Win32 and Generator_platform build-option values
PhilipOakley May 10, 2021
fc2949b
init: do parse _all_ core.* settings early
dscho Sep 8, 2021
3a6ddae
Enable the built-in FSMonitor as an experimental feature
dscho Mar 5, 2021
e8ea828
hash-object: add a >4GB/LLP64 test case using filtered input
PhilipOakley Dec 7, 2021
fd44b5f
Allow debugging unsafe directories' ownership
dscho Mar 30, 2022
e8e6aa0
mingw: handle a file owned by the Administrators group correctly
dscho Mar 30, 2022
793c2bb
mingw: be more informative when ownership check fails on FAT32
dscho Jun 8, 2022
a8897b7
setup: properly use "%(prefix)/" when in WSL
derrickstolee Apr 13, 2022
1d7592a
compat/mingw.c: do not warn when failing to get owner
derrickstolee Apr 13, 2022
aa64fe3
mingw: $env:TERM="xterm-256color" for newer OSes
rkitover Apr 12, 2022
d08599f
Merge 'remote-hg-prerequisites' into HEAD
dscho Jun 8, 2018
7feef03
Merge branch 'drive-prefix'
dscho Jun 8, 2018
13a7360
Merge branch 'dont-spawn-gzip-in-archive'
dscho Feb 21, 2019
3e0b0ca
Merge branch 'fsync-object-files-always'
dscho Oct 11, 2018
33aadc8
Merge pull request #2170 from dscho/gitk-long-cmdline
dscho Apr 26, 2019
3cdde1f
cmake: support local installations of git
carenas Apr 21, 2022
c6707f6
winansi: check result and Buffer before using Name
1480c1 May 28, 2022
582e3c4
Add config option `windows.appendAtomically`
sunzhuoshi Jan 15, 2022
daf5bf0
Merge branch 'dont-clean-junctions'
dscho Jul 30, 2019
d9045f3
Merge branch 'msys2-python'
dscho May 31, 2019
9920b30
Merge pull request #2375 from assarbad/reintroduce-sideband-config
dscho Oct 30, 2019
b24955d
Merge pull request #2405 from dscho/mingw-setsockopt
dscho Nov 25, 2019
8afbcec
Merge pull request #2449 from dscho/mingw-getcwd-and-symlinks
dscho Jan 3, 2020
92d7fc8
Merge pull request #2488 from bmueller84/master
dscho Jan 22, 2020
9aff596
Merge pull request #2501 from jeffhostetler/clink-debug-curl
dscho Jan 30, 2020
fcf543e
Merge pull request #2504 from dscho/access-repo-via-junction
dscho Feb 1, 2020
1a70e96
Merge pull request #2506 from dscho/issue-2283
dscho Feb 11, 2020
193613e
Merge pull request #2535 from dscho/schannel-revoke-best-effort
dscho Mar 4, 2020
c0fdaa1
Merge pull request #2618 from dscho/avoid-d/f-conflict-in-vs/master
dscho May 9, 2020
1234d8d
Merge 'add-p-many-files'
dscho Jun 8, 2018
b40fec5
Merge pull request #2730 from dscho/crlf-aware-git-add-i
dscho Jul 2, 2020
cfa8201
Merge pull request #2714 from lbonanomi/main
dscho Jul 3, 2020
7808bdb
Merge pull request #2655 from jglathe/jg/t0014_trace_extra_info
dscho Oct 9, 2020
6a74dd1
Merge 'git-gui/js/intent-to-add'
dscho Oct 18, 2020
1738fc4
Merge pull request #2974 from derrickstolee/maintenance-and-headless
dscho Jan 11, 2021
a074962
Merge pull request #2351 from PhilipOakley/vcpkg-tip
dscho Oct 7, 2019
2bc7e2f
Merge pull request #2915 from dennisameling/windows-arm64-support
dscho Dec 9, 2020
b84275a
Merge pull request #3327 from dennisameling/fix-host-cpu
dscho Jul 19, 2021
83e228c
Merge pull request #3150 from dscho/ci-cache-vcpkg-artifacts-g4w
dscho Mar 28, 2021
e7db721
Merge pull request #3165 from dscho/increase-allowed-length-of-interp…
dscho Apr 3, 2021
61acf0b
Merge pull request #3220 from dscho/there-is-no-vs/master-anymore
dscho May 17, 2021
89a6f72
Merge pull request #3293 from pascalmuller/http-support-automatically…
dscho Jun 24, 2021
727ffcb
Merge pull request #3349 from vdye/feature/ci-subtree-tests
dscho Aug 10, 2021
5f28ed5
Merge pull request #3306 from PhilipOakley/vs-sln
dscho Oct 12, 2021
c2a8791
Merge pull request #3417 from dscho/initialize-core.symlinks-earlier
dscho Oct 13, 2021
d0e916d
Merge branch 'mark-v4-fsmonitor-experimental' into try-v4-fsmonitor
jeffhostetler Sep 29, 2021
2258f82
Merge pull request #3533 from PhilipOakley/hashliteral_t
dscho Dec 15, 2021
f2814dc
Merge branch 'safe.directory-and-windows'
vdye Apr 12, 2022
69bb9d7
Merge pull request #3791: Various fixes around `safe.directory`
derrickstolee Apr 13, 2022
2caec3b
Merge pull request #3751 from rkitover/native-term
dscho Apr 21, 2022
7d28e42
Merge pull request #3814 from carenas/appdata
dscho Apr 22, 2022
68b843c
Merge pull request #3875 from 1480c1/wine/detect_msys_tty
dscho May 30, 2022
9f5a788
Merge branch 'optionally-dont-append-atomically-on-windows'
dscho Jun 23, 2022
ead9c70
Win32: make FILETIME conversion functions public
kblees Jul 6, 2013
0a94d3c
Win32: dirent.c: Move opendir down
kblees Sep 8, 2013
76ca971
Merge branch 'ready-for-upstream'
dscho Oct 11, 2018
4a5d710
mingw: make the dirent implementation pluggable
kblees Sep 8, 2013
06eb1d1
Win32: make the lstat implementation pluggable
kblees Sep 8, 2013
3d3865c
add infrastructure for read-only file system level caches
kblees Sep 8, 2013
627352e
fscache: add key for GIT_TRACE_FSCACHE
jeffhostetler Jan 24, 2017
a019a55
dir.c: make add_excludes aware of fscache during status
jeffhostetler Nov 1, 2017
7bb0fda
mingw: add a cache below mingw's lstat and dirent implementations
kblees Oct 1, 2013
065e12b
fscache: remember not-found directories
jeffhostetler Dec 13, 2016
4d00323
fscache: make fscache_enabled() public
jeffhostetler Dec 20, 2017
dc0ca97
fscache: load directories only once
kblees Jun 24, 2014
b4820cf
fscache: add a test for the dir-not-found optimization
dscho Jan 25, 2017
596f70f
add: use preload-index and fscache for performance
jeffhostetler Nov 22, 2016
813660a
dir.c: regression fix for add_excludes with fscache
jeffhostetler Dec 20, 2017
006268e
fetch-pack.c: enable fscache for stats under .git/objects
Nov 22, 2017
4c0e7cf
mem_pool: add GIT_TRACE_MEMPOOL support
benpeart Oct 4, 2018
93553c5
fscache: fscache takes an initial size
benpeart Nov 2, 2018
1d220c6
fscache: update fscache to be thread specific instead of global
benpeart Oct 4, 2018
c050b8b
checkout.c: enable fscache for checkout again
Jan 30, 2018
0cb7d2e
Enable the filesystem cache (fscache) in refresh_index().
benpeart Sep 7, 2018
c2b3263
fscache: use FindFirstFileExW to avoid retrieving the short name
benpeart Oct 23, 2018
a6b2f43
status: disable and free fscache at the end of the status command
benpeart Nov 1, 2018
069b72d
fscache: add GIT_TEST_FSCACHE support
benpeart Oct 4, 2018
e3a7974
fscache: add fscache hit statistics
benpeart Sep 25, 2018
976d5be
fscache: teach fscache to use mempool
benpeart Nov 2, 2018
f560bdc
fscache: make fscache_enable() thread safe
benpeart Nov 16, 2018
b6d3c4b
fscache: teach fscache to use NtQueryDirectoryFile
benpeart Nov 15, 2018
bbb4feb
unpack-trees: enable fscache for sparse-checkout
derrickstolee Jun 12, 2019
713066c
fscache: remember the reparse tag for each entry
dscho Dec 11, 2018
3313ff7
git-gui: provide question helper for retry fallback on Windows
hvoigt Feb 21, 2010
0014263
fscache: implement an FSCache-aware is_mount_point()
dscho Dec 11, 2018
2830217
git-gui--askyesno: fix funny text wrapping
dscho Sep 20, 2017
c5acc0d
git gui: set GIT_ASKPASS=git-gui--askpass if not set yet
dscho Jul 23, 2010
f52dfe8
respect core.hooksPath, falling back to .git/hooks
dscho Oct 4, 2018
e0c013e
clean: make use of FSCache
dscho Dec 11, 2018
3614fb3
gitk: Unicode file name support
kblees Feb 4, 2012
45ae151
gitk: Use an external icon file on Windows
sschuberth Jul 22, 2012
4104dfd
git-gui--askyesno: allow overriding the window title
dscho Sep 20, 2017
784363a
Merge 'git-gui' into HEAD
dscho Jun 7, 2018
45a6954
gitk: fix arrow keys in input fields with Tcl/Tk >= 8.6
dscho Feb 16, 2016
2caa549
git-gui--askyesno (mingw): use Git for Windows' icon, if available
dscho Sep 20, 2017
7315f96
Merge branch 'git-gui-hooks-path' of https://github.com/dscho/git-gui
dscho Jul 10, 2018
4ce5b1b
gitk: make the "list references" default window width wider
sidecut Jan 21, 2016
4c49376
Merge branch 'git-gui-askyesno'
dscho Jun 8, 2018
6aba4d0
Merge 'gitk' into HEAD
dscho Jun 7, 2018
bc5ecbe
Merge branch 'fscache'
dscho Nov 15, 2018
3c5f57f
Merge pull request #994 from jeffhostetler/jeffhostetler/fscache_nfd
dscho Jun 8, 2018
5105dfd
Merge pull request #971 from jeffhostetler/jeffhostetler/add_preload_…
dscho Jun 8, 2018
21e8e10
Merge pull request #1344 from jeffhostetler/perf_add_excludes_with_fs…
dscho Jun 8, 2018
febac9d
Merge pull request #1426 from atetubou/fetch_pack
dscho Jun 8, 2018
3bed47f
Merge pull request #1468 from atetubou/fscache_checkout_flush
dscho Oct 12, 2018
fbaceb4
Merge pull request #1827 from benpeart/fscache_refresh_index
dscho Sep 27, 2018
68bdd01
Merge pull request #1908 from benpeart/FindFirstFileEx-gfw
dscho Nov 5, 2018
fa54f89
Merge pull request #1909 from benpeart/free-fscache-after-status-gfw
dscho Nov 5, 2018
9a5d266
Merge pull request #1911 from benpeart/git_test_fscache-gfw
dscho Nov 5, 2018
669efef
Merge pull request #1910 from benpeart/fscache_statistics-gfw
dscho Nov 16, 2018
33900de
Merge remote-tracking branch 'benpeart/fscache-per-thread-gfw'
dscho Nov 16, 2018
b65f08a
Merge pull request #1934 from benpeart/fscache-thread-safe-enable-gfw
dscho Nov 26, 2018
6856809
pack-objects (mingw): demonstrate a segmentation fault with large deltas
vangdfang Jan 9, 2014
00cd56f
Merge pull request #1937 from benpeart/fscache-NtQueryDirectoryFile-gfw
dscho Nov 27, 2018
e6fdb12
mingw: support long paths
kblees Jul 28, 2015
8aeb7b6
Merge branch 'fscache-and-sparse-checkout'
derrickstolee Jun 18, 2019
413072a
Win32: fix 'lstat("dir/")' with long paths
kblees Jul 4, 2014
2b3ed3e
Merge branch 'dont-clean-junctions-fscache'
dscho Jul 23, 2019
703788d
mingw: ensure that core.longPaths is handled *always*
dscho Aug 29, 2017
ad26e07
strbuf_readlink: don't call readlink twice if hint is the exact link …
kblees May 11, 2015
9022b28
strbuf_readlink: support link targets that exceed PATH_MAX
kblees May 11, 2015
0659296
lockfile.c: use is_dir_sep() instead of hardcoded '/' checks
kblees May 11, 2015
96c28a7
Win32: don't call GetFileAttributes twice in mingw_lstat()
kblees May 12, 2015
2c69271
Win32: implement stat() with symlink support
kblees May 15, 2015
20fd2bd
Win32: remove separate do_lstat() function
kblees May 11, 2015
3020991
mingw: Support `git_terminal_prompt` with more terminals
kblees Mar 19, 2015
1f68a74
Win32: let mingw_lstat() error early upon problems with reparse points
kblees May 23, 2015
2869893
compat/terminal.c: only use the Windows console if bash 'read -r' fails
kblees May 9, 2015
483fae9
mingw: teach fscache and dirent about symlinks
kblees Jan 10, 2017
6abea82
mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
dscho Feb 23, 2018
bedab70
Win32: lstat(): return adequate stat.st_size for symlinks
kblees May 15, 2015
0796215
compat/fsmonitor/fsm-*-win32: support long paths
jeffhostetler Mar 25, 2022
a0e03b6
clean: suggest using `core.longPaths` if paths are too long to remove
mathstuf Apr 22, 2022
08dbb3d
Unbreak interactive GPG prompt upon signing
dscho Sep 6, 2016
12d17b9
Win32: factor out retry logic
kblees May 19, 2015
cd80e4c
Win32: change default of 'core.symlinks' to false
kblees May 23, 2015
537efde
Win32: add symlink-specific error codes
kblees May 15, 2015
7ddbe60
Win32: mingw_unlink: support symlinks to directories
kblees May 23, 2015
27567cd
Win32: mingw_rename: support renaming symlinks
kblees May 19, 2015
c5ae21b
Win32: mingw_chdir: change to symlink-resolved directory
kblees May 23, 2015
28e8491
Win32: implement readlink()
kblees May 23, 2015
3ae6eb7
mingw: lstat: compute correct size for symlinks
billziss-gh May 28, 2020
45d07b9
Win32: implement basic symlink() functionality (file symlinks only)
kblees May 23, 2015
a21f6d6
Win32: symlink: add support for symlinks to directories
kblees May 23, 2015
131c83c
mingw: try to create symlinks without elevated permissions
dscho May 30, 2017
16c7e4c
mingw: emulate stat() a little more faithfully
dscho Mar 2, 2020
adf3061
mingw: introduce code to detect whether we're inside a Windows container
zcube Apr 23, 2018
746c2fd
mingw: special-case index entries for symlinks with buggy size
dscho Jun 4, 2020
71bfc44
mingw: explicitly specify with which cmd to prefix the cmdline
dscho Jul 20, 2017
1fa7c9b
mingw: when path_lookup() failed, try BusyBox
dscho Jul 20, 2017
cb29761
test-lib: avoid unnecessary Perl invocation
dscho Aug 5, 2017
b84c49e
Win32: symlink: move phantom symlink creation to a separate function
piscisaureus Oct 26, 2018
d5cae45
tests: replace mingw_test_cmp with a helper in C
dscho Jun 7, 2018
7e79202
mingw: when running in a Windows container, try to rename() harder
zcube Apr 23, 2018
5549d60
Introduce helper to create symlinks that knows about index_state
dscho Feb 11, 2019
8fc00bb
test-tool: learn to act as a drop-in replacement for `iconv`
dscho Jul 20, 2017
0434dbf
mingw: move the file_attr_to_st_mode() function definition
zcube Apr 23, 2018
fb719cc
mingw: allow to specify the symlink type in .gitattributes
piscisaureus Oct 26, 2018
128897a
tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
dscho Jul 20, 2017
f2254ff
mingw: Windows Docker volumes are *not* symbolic links
dscho Apr 23, 2018
d5f594e
Win32: symlink: add test for `symlink` attribute
piscisaureus Oct 26, 2018
cd37d16
gitattributes: mark .png files as binary
dscho Oct 11, 2018
5f3c0e6
tests: move test PNGs into t/lib-diff/
dscho Aug 5, 2017
b1b5aa3
tests: only override sort & find if there are usable ones in /usr/bin/
dscho Jul 17, 2017
c0d03ff
tests: use the correct path separator with BusyBox
dscho Nov 19, 2018
3e71edc
mingw: only use Bash-ism `builtin pwd -W` when available
dscho Jun 29, 2017
acacb4d
tests (mingw): remove Bash-specific pwd option
dscho Jun 30, 2017
ac31d46
test-lib: add BUSYBOX prerequisite
dscho Jul 19, 2017
2745543
t0021: use Windows path when appropriate
dscho Aug 4, 2017
6a446c6
t5003: use binary file from t/lib-diff/
dscho Aug 5, 2017
089b92c
t5532: workaround for BusyBox on Windows
dscho Jul 21, 2017
0695d62
t5605: special-case hardlink test for BusyBox-w32
dscho Jul 21, 2017
13d78f6
t5813: allow for $PWD to be a Windows path
dscho Jul 5, 2017
9fbe745
t9200: skip tests when $PWD contains a colon
dscho Jul 7, 2017
13ca69a
mingw: add a Makefile target to copy test artifacts
dscho Jul 19, 2017
de1cc89
mingw: kill child processes in a gentler way
dscho May 17, 2017
dc48c28
mingw: really handle SIGINT
dscho Apr 22, 2018
a5501e8
mingw: do not call xutftowcs_path in mingw_mktemp
neerajsi-msft Oct 27, 2021
9c86859
Partially un-revert "editor: save and reset terminal after calling ED…
dscho Nov 25, 2021
302d33d
Modify the Code of Conduct for Git for Windows
dscho Oct 11, 2019
f9e59d8
CONTRIBUTING.md: add guide for first-time contributors
derrickstolee Mar 1, 2018
7b440c3
README.md: Add a Windows-specific preamble
dscho Jan 10, 2014
f916411
Add an issue template
shiftkey Feb 18, 2016
89fee30
Modify the GitHub Pull Request template (to reflect Git for Windows)
Dec 22, 2017
c6b621b
.github: Add configuration for the Sentiment Bot
dscho Feb 20, 2018
22cdbb4
Document how $HOME is set on Windows
alejandro5042 Mar 9, 2018
41adce3
reset: reinstate support for the deprecated --stdin option
dscho Dec 10, 2019
18a6714
mingw: deprecate old-style runtime-prefix handling in interpolate_path()
dscho Dec 11, 2015
3ecff13
Add a GitHub workflow to monitor component updates
dscho Sep 29, 2020
5a677d9
SECURITY.md: document Git for Windows' policies
dscho Aug 23, 2019
0677698
Merge branch 'gitk-and-git-gui-patches'
dscho Oct 11, 2018
284b592
Merge branch 'long-paths'
dscho Nov 15, 2018
de881c4
Merge branch 'fix-v4-fsmonitor-long-paths' into try-v4-fsmonitor
jeffhostetler Sep 29, 2021
a0972b0
Merge pull request #3817 from mathstuf/name-too-long-advice
dscho Apr 22, 2022
9bec7e1
Merge branch 'msys2'
dscho Nov 15, 2018
d57cf77
Merge branch 'kblees/kb/symlinks'
dscho Nov 15, 2018
c9f0a51
Merge 'docker-volumes-are-no-symlinks'
dscho Oct 12, 2018
d2c1889
Merge pull request #1897 from piscisaureus/symlink-attr
dscho Oct 31, 2018
eda75f9
Merge branch 'busybox-w32'
dscho Feb 7, 2019
61bea2b
Merge pull request #1170 from dscho/mingw-kill-process
dscho Oct 11, 2018
efd9d3e
Merge pull request #3492 from dscho/ns/batched-fsync
vdye Oct 28, 2021
37402ba
Merge branch 'un-revert-editor-save-and-reset'
dscho Jan 15, 2022
4d5ae61
Merge branch 'phase-out-reset-stdin'
dscho Jun 8, 2018
79dd42a
Merge branch 'deprecate-old-runtime-prefix-path-interpolation'
dscho Oct 15, 2021
3603567
Merge pull request #2837 from dscho/monitor-component-updates
dscho Oct 7, 2020
aef8580
Merge 'readme' into HEAD
dscho Jun 7, 2018
7247df8
shortlog: use a stable sort
dscho Mar 29, 2022
a5f15c6
vcxproj: allow building with `NO_PERL` again
dscho Mar 29, 2022
6727570
vcxproj: require C11
dscho Jun 28, 2022
71d5b86
vcxproj: ignore the `-pedantic` option
dscho Jun 28, 2022
fbffa2c
vcxproj: include reftable when committing `.vcxproj` files
dscho Jun 28, 2022
a5dc778
vcxproj: handle libreftable_test, too
dscho Jun 28, 2022
70f5125
vcxproj: avoid escaping double quotes in the defines
dscho Jun 28, 2022
0a1ca21
tests: fix incorrect --write-junit-xml code
dscho Jul 10, 2022
6c204a8
ci: adjust Azure Pipeline for `runs_on_pool`
dscho Jul 9, 2022
e915cf1
ci: stop linking the `prove` cache
dscho Jul 9, 2022
71a7188
ci: reinstate Azure Pipelines support
dscho Feb 11, 2021
a593cfa
azure-pipeline: drop the `GETTEXT_POISON` job
dscho Mar 29, 2022
e61ff2f
azure-pipeline: stop hard-coding `apt-get` calls
dscho Mar 29, 2022
b11dfc0
azure-pipeline: drop the code to write to/read from a file share
dscho Jul 9, 2022
5af1036
azure-pipeline: use partial clone/parallel checkout to initialize min…
dscho Jul 9, 2022
cf4ebf9
azure-pipeline: downcase the job name of the `Linux32` job
dscho Jul 9, 2022
e80f357
azure-pipeline: run static-analysis on bionic
ttaylorr Feb 8, 2021
323a697
Merge branch 'ci-fixes'
dscho Feb 11, 2021
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
12 changes: 12 additions & 0 deletions Documentation/RelNotes/2.30.5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Git v2.30.5 Release Notes
=========================

This release contains minor fix-ups for the changes that went into
Git 2.30.3 and 2.30.4, addressing CVE-2022-29187.

* The safety check that verifies a safe ownership of the Git
worktree is now extended to also cover the ownership of the Git
directory (and the `.git` file, if there is any).

Carlo Marcelo Arenas Belón (1):
setup: tighten ownership checks post CVE-2022-24765
6 changes: 6 additions & 0 deletions Documentation/RelNotes/2.31.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Git v2.31.4 Release Notes
=========================

This release merges up the fixes that appear in v2.30.5 to address
the security issue CVE-2022-29187; see the release notes for that
version for details.
6 changes: 6 additions & 0 deletions Documentation/RelNotes/2.32.3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Git v2.32.3 Release Notes
=========================

This release merges up the fixes that appear in v2.30.5 and
v2.31.4 to address the security issue CVE-2022-29187; see the
release notes for these versions for details.
6 changes: 6 additions & 0 deletions Documentation/RelNotes/2.33.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Git v2.33.4 Release Notes
=========================

This release merges up the fixes that appear in v2.30.5, v2.31.4
and v2.32.3 to address the security issue CVE-2022-29187; see
the release notes for these versions for details.
6 changes: 6 additions & 0 deletions Documentation/RelNotes/2.34.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Git v2.34.4 Release Notes
=========================

This release merges up the fixes that appear in v2.30.5, v2.31.4,
v2.32.3 and v2.33.4 to address the security issue CVE-2022-29187;
see the release notes for these versions for details.
7 changes: 7 additions & 0 deletions Documentation/RelNotes/2.35.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Git v2.35.4 Release Notes
=========================

This release merges up the fixes that appear in v2.30.5,
v2.31.4, v2.32.3, v2.33.4 and v2.34.4 to address the security
issue CVE-2022-29187; see the release notes for these versions
for details.
14 changes: 10 additions & 4 deletions Documentation/RelNotes/2.36.2.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
Git v2.36.2 Release Notes
=========================

This maintenance release is primarily to merge down updates to the
build and CI procedures from the 'master' front, in order to ensure
that we can cut healthy maintenance releases in the future. It also
contains a handful of small and trivially-correct bugfixes.
This release merges up the fixes that appear in v2.30.5, v2.31.4,
v2.32.3, v2.33.4, v2.34.4 and v2.35.4 to address the security
issue CVE-2022-29187; see the release notes for these versions
for details.

Apart from that, this maintenance release is primarily to merge down
updates to the build and CI procedures from the 'master' front, in
order to ensure that we can cut healthy maintenance releases in the
future. It also contains a handful of small and trivially-correct
bugfixes.

Fixes since v2.36.1
-------------------
Expand Down
17 changes: 17 additions & 0 deletions Documentation/RelNotes/2.37.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Git 2.37.1 Release Notes
========================

This release merges up the fixes that appear in v2.30.5, v2.31.4,
v2.32.3, v2.33.4, v2.34.4, v2.35.4, and v2.36.2 to address the
security issue CVE-2022-29187; see the release notes for these
versions for details.

Fixes since Git 2.37
--------------------

* Rewrite of "git add -i" in C that appeared in Git 2.25 didn't
correctly record a removed file to the index, which is an old
regression but has become widely known because the C version has
become the default in the latest release.

* Fix for CVS-2022-29187.
2 changes: 1 addition & 1 deletion GIT-VERSION-GEN
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

GVF=GIT-VERSION-FILE
DEF_VER=v2.37.0
DEF_VER=v2.37.1

LF='
'
Expand Down
2 changes: 1 addition & 1 deletion RelNotes
12 changes: 10 additions & 2 deletions add-interactive.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,16 @@ static int run_update(struct add_i_state *s, const struct pathspec *ps,

for (i = 0; i < files->items.nr; i++) {
const char *name = files->items.items[i].string;
if (files->selected[i] &&
add_file_to_index(s->r->index, name, 0) < 0) {
struct stat st;

if (!files->selected[i])
continue;
if (lstat(name, &st) && is_missing_file_error(errno)) {
if (remove_file_from_index(s->r->index, name) < 0) {
res = error(_("could not stage '%s'"), name);
break;
}
} else if (add_file_to_index(s->r->index, name, 0) < 0) {
res = error(_("could not stage '%s'"), name);
break;
}
Expand Down
Loading