Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
205c65f
sideband: mask control characters
dscho Nov 6, 2024
63a5c6e
sideband: introduce an "escape hatch" to allow control characters
dscho Nov 6, 2024
aa33ebb
t9350: point out that refs are not updated correctly
SRabbelier Jul 24, 2011
5de8597
sideband: do allow ANSI color sequences by default
dscho Nov 18, 2024
1242996
unix-socket: avoid leak when initialization fails
dscho Oct 30, 2024
2048dca
transport-helper: add trailing --
SRabbelier Aug 29, 2010
c565d07
grep: prevent `^$` false match at end of file
peff Jan 13, 2025
7364339
Merge branch 'disallow-control-characters-in-sideband-channel'
dscho Nov 25, 2024
8e474af
remote-helper: check helper status after import/export
SRabbelier Jul 23, 2011
f29327b
Merge branch 'fixes-from-the-git-mailing-list'
dscho Jan 22, 2025
9d59364
win32/pthread: avoid name clashes with winpthread
dscho Oct 20, 2019
b91236c
hash-object: demonstrate a >4GB/LLP64 problem
PhilipOakley Oct 31, 2021
167283e
git-compat-util: avoid redeclaring _DEFAULT_SOURCE
dscho Aug 12, 2022
5e755b2
vcbuild: install ARM64 dependencies when building ARM64 binaries
manbearian Feb 1, 2020
dbae585
object-file.c: use size_t for header lengths
PhilipOakley Nov 12, 2021
1432e81
Import the source code of mimalloc v2.2.7
dscho Jan 16, 2026
4c4c8cf
vcbuild: add an option to install individual 'features'
manbearian Feb 4, 2020
e96c7cc
CMake: default Visual Studio generator has changed
PhilipOakley Jul 1, 2021
080579a
hash algorithms: use size_t for section lengths
PhilipOakley Nov 12, 2021
c05eab1
mimalloc: adjust for building inside Git
dscho Jun 24, 2019
643b9d7
mingw: demonstrate a `git add` issue with NTFS junctions
dscho Jan 31, 2020
67addfd
cmake: allow building for Windows/ARM64
dennisameling Dec 4, 2020
2e57639
.gitignore: add Visual Studio CMakeSetting.json file
PhilipOakley Apr 24, 2021
9fa3f4f
hash-object --stdin: verify that it works with >4GB/LLP64
PhilipOakley Dec 6, 2021
627a57f
clean: do not traverse mount points
dscho Dec 7, 2018
3dc8081
mimalloc: offer a build-time option to enable it
dscho Jun 24, 2019
036943d
strbuf_realpath(): use platform-dependent API if available
dscho Jan 31, 2020
6c4543f
t5505/t5516: allow running without `.git/branches/` in the templates
dscho May 9, 2020
6cabcd5
vcpkg_install: detect lack of Git
PhilipOakley Oct 6, 2019
ca3c2a5
ci(vs-build) also build Windows/ARM64 artifacts
dennisameling Nov 28, 2020
bbe8cff
subtree: update `contrib/subtree` `test` target
vdye Aug 5, 2021
31b5005
CMakeLists: add default "x64-windows" arch for Visual Studio
PhilipOakley Apr 22, 2021
9839a1c
hash-object: add another >4GB/LLP64 test case
PhilipOakley Dec 6, 2021
849dfc7
setup: properly use "%(prefix)/" when in WSL
derrickstolee Apr 13, 2022
962f4f3
Always auto-gc after calling a fast-import transport
dscho Apr 9, 2012
91e02b5
mingw: prevent regressions with "drive-less" absolute paths
dscho Apr 18, 2017
430c2ce
clean: remove mount points when possible
dscho Dec 11, 2018
c9dbcca
mingw: include the Python parts in the build
dscho Feb 16, 2015
ca2aa97
mingw: use mimalloc
dscho Jun 24, 2019
17af690
transport: optionally disable side-band-64k
t-b May 8, 2014
cf9b66e
mingw: fix fatal error working on mapped network drives on Windows
bmueller84 Jan 22, 2020
d105b73
clink.pl: fix MSVC compile script to handle libcurl-d.lib
jeffhostetler Jan 30, 2020
0511099
mingw: implement a platform-specific `strbuf_realpath()`
dscho Jan 31, 2020
51b4f39
http: use new "best effort" strategy for Secure Channel revoke checking
dscho Mar 4, 2020
375786b
t5505/t5516: fix white-space around redirectors
dscho May 9, 2020
5c9fbc1
t3701: verify that we can add *lots* of files interactively
dscho Sep 12, 2015
3595bd5
commit: accept "scissors" with CR/LF line endings
lbonanomi Jun 24, 2020
427dcc6
t0014: fix indentation
jglathe Jun 2, 2020
a915ed9
git-gui: accommodate for intent-to-add files
dscho Aug 12, 2020
eeac976
vcpkg_install: add comment regarding slow network connections
PhilipOakley Oct 6, 2019
fe7408e
Add schannel to curl installation
dennisameling Dec 6, 2020
3732e4c
cmake(): allow setting HOST_CPU for cross-compilation
dennisameling Jul 19, 2021
ef37d88
mingw: allow for longer paths in `parse_interpreter()`
dscho Apr 2, 2021
6129bc6
compat/vcbuild: document preferred way to build in Visual Studio
dscho May 17, 2021
47f1996
http: optionally send SSL client certificate
pascalmuller Jun 23, 2021
3ab49d2
ci: run `contrib/subtree` tests in CI builds
vdye Aug 5, 2021
7ab1ffd
CMake: show Win32 and Generator_platform build-option values
PhilipOakley May 10, 2021
b1d244d
hash-object: add a >4GB/LLP64 test case using filtered input
PhilipOakley Dec 7, 2021
b6dbdcf
mingw: stop hard-coding `CC = gcc`
dscho Nov 23, 2025
1077ebb
mingw: drop the -D_USE_32BIT_TIME_T option
dscho Nov 21, 2025
29f09f7
Merge branch 'dscho-avoid-d-f-conflict-in-vs-master'
dscho Apr 13, 2021
bf3be5e
mingw: only use -Wl,--large-address-aware for 32-bit builds
dscho Nov 21, 2025
7238df3
clink.pl: fix libexpatd.lib link error when using MSVC
jeffhostetler Mar 30, 2021
0090fb5
mingw: avoid over-specifying `--pic-executable`
dscho Nov 21, 2025
f34da95
Makefile: clean up .ilk files when MSVC=1
jeffhostetler Apr 5, 2021
a3db7f0
survey: stub in new experimental 'git-survey' command
Apr 29, 2024
daedeef
mingw: set the prefix and HOST_CPU as per MSYS2's settings
dscho Nov 21, 2025
383b0ae
vcbuild: add support for compiling Windows resource files
jeffhostetler Apr 5, 2021
7a4a1ee
survey: add command line opts to select references
Apr 29, 2024
bdae5d1
mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
dscho Nov 21, 2025
06259ba
config.mak.uname: add git.rc to MSVC builds
jeffhostetler Apr 5, 2021
86a1863
http: optionally load libcurl lazily
dscho May 6, 2023
8f25072
survey: start pretty printing data in table form
derrickstolee Sep 1, 2024
4a0c184
mingw: rely on MSYS2's metadata instead of hard-coding it
dscho Nov 21, 2025
c2e49ba
mingw: ensure valid CTYPE
dscho Feb 21, 2017
8410eac
clink.pl: ignore no-stack-protector arg on MSVC=1 builds
jeffhostetler Apr 5, 2021
b5c5ded
http: support lazy-loading libcurl also on Windows
dscho May 7, 2023
86a4a72
survey: add object count summary
derrickstolee Sep 2, 2024
9c74fe9
mingw: always define `ETC_*` for MSYS2 environments
dscho Nov 21, 2025
015161a
mingw: allow `git.exe` to be used instead of the "Git wrapper"
dscho Jan 31, 2020
fba1ff6
clink.pl: move default linker options for MSVC=1 builds
jeffhostetler Apr 5, 2021
d0f22d9
http: when loading libcurl lazily, allow for multiple SSL backends
dscho May 7, 2023
151c5e3
survey: summarize total sizes by object type
derrickstolee Sep 2, 2024
27c00fd
compat/mingw.c: do not warn when failing to get owner
derrickstolee Apr 13, 2022
4ac169b
mingw: $env:TERM="xterm-256color" for newer OSes
rkitover Apr 12, 2022
46110d3
winansi: check result and Buffer before using Name
1480c1 May 28, 2022
9e5bf55
Add config option `windows.appendAtomically`
sunzhuoshi Jan 15, 2022
967b65c
mingw: change core.fsyncObjectFiles = 1 by default
dscho Sep 4, 2017
d307a2d
MinGW: link as terminal server aware
rimrul Jul 10, 2022
14e01a4
Fix Windows version resources
Mortein Nov 2, 2022
755131d
status: fix for old-style submodules with commondir
sceptical-coder Oct 28, 2022
0712702
windows: skip linking `git-<command>` for built-ins
dscho Jan 27, 2023
17fe16c
max_tree_depth: lower it for clang builds in general on Windows
dscho Nov 21, 2025
1e18927
mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system dire…
dscho Aug 25, 2020
e03d84b
cmake: install headless-git.
Berrysoft Mar 11, 2023
14763da
git.rc: include winuser.h
rimrul Dec 2, 2023
c57a6f0
mingw: do load libcurl dynamically by default
dscho May 7, 2023
5a02f8c
Add a GitHub workflow to verify that Git/Scalar work in Nano Server
dscho Nov 2, 2022
9e76528
mingw: suggest `windows.appendAtomically` in more cases
dsl101 Jul 28, 2023
09e529e
win32: use native ANSI sequence processing, if possible
dscho Nov 22, 2023
2921ecf
common-main.c: fflush stdout buffer upon exit
chengzhuo5 Apr 8, 2024
9b5b7cb
t5601/t7406(mingw): do run tests with symlink support
dscho Apr 9, 2024
4c34f8e
win32: ensure that `localtime_r()` is declared even in i686 builds
dscho May 21, 2024
8a66019
Fallback to AppData if XDG_CONFIG_HOME is unset
ariellourenco Jul 2, 2024
4d90e2a
run-command: be helpful with Git LFS fails on Windows 7
dscho Jul 4, 2024
b274212
revision: create mark_trees_uninteresting_dense()
derrickstolee Sep 6, 2024
0925bf4
ci: work around a problem with HTTP/2 vs libcurl v8.10.0
dscho Sep 24, 2024
cb9ad84
Merge 'remote-hg-prerequisites' into HEAD
dscho Jun 8, 2018
7b27295
Merge branch 'drive-prefix'
dscho Jun 8, 2018
de24c38
Merge branch 'dont-clean-junctions'
dscho Jul 30, 2019
3b21976
Merge branch 'msys2-python'
dscho May 31, 2019
3a52f69
Update mimalloc to v2.2.7 (#6048)
dscho Jan 19, 2026
eb05de0
Merge pull request #2375 from assarbad/reintroduce-sideband-config
dscho Oct 30, 2019
424ac11
Merge pull request #2488 from bmueller84/master
dscho Jan 22, 2020
d238f29
Merge pull request #2501 from jeffhostetler/clink-debug-curl
dscho Jan 30, 2020
1d9b571
Merge pull request #2504 from dscho/access-repo-via-junction
dscho Feb 1, 2020
f254cc0
Merge pull request #2535 from dscho/schannel-revoke-best-effort
dscho Mar 4, 2020
5f1e689
Merge pull request #2618 from dscho/avoid-d/f-conflict-in-vs/master
dscho May 9, 2020
f0afbc9
Merge 'add-p-many-files'
dscho Jun 8, 2018
ed16050
Merge pull request #2714 from lbonanomi/crlf-scissors
dscho Jul 3, 2020
ddc9c33
Merge pull request #2655 from jglathe/jg/t0014_trace_extra_info
dscho Oct 9, 2020
d41b559
Merge 'git-gui/js/intent-to-add'
dscho Oct 18, 2020
740147e
Merge pull request #2351 from PhilipOakley/vcpkg-tip
dscho Oct 7, 2019
8435eae
Merge pull request #2915 from dennisameling/windows-arm64-support
dscho Dec 9, 2020
01bae8e
Merge pull request #3327 from dennisameling/fix-host-cpu
dscho Jul 19, 2021
9bca870
survey: show progress during object walk
derrickstolee Sep 2, 2024
c897320
mingw: make sure `errno` is set correctly when socket operations fail
dscho Nov 14, 2019
ab55666
Merge pull request #3165 from dscho/increase-allowed-length-of-interp…
dscho Apr 3, 2021
9d55724
survey: add ability to track prioritized lists
derrickstolee Sep 2, 2024
83cb148
compat/mingw: handle WSA errors in strerror
rimrul Dec 22, 2024
fc20442
Merge pull request #3220 from dscho/there-is-no-vs/master-anymore
dscho May 17, 2021
867c2d7
survey: add report of "largest" paths
derrickstolee Sep 2, 2024
a7191b6
compat/mingw: drop outdated comment
rimrul Dec 22, 2024
b14d918
Merge pull request #3293 from pascalmuller/http-support-automatically…
dscho Jun 24, 2021
723e099
survey: add --top=<N> option and config
derrickstolee Sep 23, 2024
cf9782a
t0301: actually test credential-cache on Windows
rimrul Dec 29, 2024
0facfd0
Merge pull request #3349 from vdye/feature/ci-subtree-tests
dscho Aug 10, 2021
a72f7cc
survey: clearly note the experimental nature in the output
dscho Jul 1, 2024
74a6faa
credential-cache: handle ECONNREFUSED gracefully
rimrul Dec 22, 2024
bff74ad
reftable: do make sure to use custom allocators
dscho Mar 6, 2025
65c5f0d
check-whitespace: avoid alerts about upstream commits
dscho Jun 3, 2025
f357f27
t/t5571-prep-push-hook.sh: Add test with writing to stderr
t-b Jan 26, 2026
d880f9b
Merge pull request #3306 from PhilipOakley/vs-sln
dscho Oct 12, 2021
d582dd0
Merge pull request #3533 from PhilipOakley/hashliteral_t
dscho Dec 15, 2021
4273ebc
Merge pull request #3791: Various fixes around `safe.directory`
derrickstolee Apr 13, 2022
b7f23cb
Merge pull request #3751 from rkitover/native-term
dscho Apr 21, 2022
ed5c631
Merge pull request #3875 from 1480c1/wine/detect_msys_tty
dscho May 30, 2022
4ea4ae2
Merge branch 'optionally-dont-append-atomically-on-windows'
dscho Jun 23, 2022
3b85c54
Merge branch 'fsync-object-files-always'
dscho Oct 11, 2018
79c1300
Merge pull request #3942 from rimrul/mingw-tsaware
dscho Jul 27, 2022
e56a662
Fix Windows version resources (#4092)
dscho Nov 3, 2022
1f4cfd3
Fix global repository field not being cleared (#4083)
dscho Dec 20, 2022
ee57733
Skip linking the "dashed" `git-<command>`s for built-ins (#4252)
dscho Jan 31, 2023
f8d3028
Add full `mingw-w64-git` (i.e. regular MSYS2 ecosystem) support (#5971)
dscho Nov 25, 2025
3bde212
Merge pull request #2506 from dscho/issue-2283
dscho Feb 11, 2020
e53fe97
Merge pull request #2974 from derrickstolee/maintenance-and-headless
dscho Jan 11, 2021
d47e752
ARM64: Embed manifest properly (#4718)
dscho Dec 7, 2023
6e41a74
Lazy load libcurl, allowing for an SSL/TLS backend-specific libcurl (…
dscho May 15, 2023
29bb6dc
Merge branch 'nano-server'
dscho Aug 7, 2023
6e5bc2a
Additional error checks for issuing the windows.appendAtomically warn…
dscho Aug 7, 2023
558554f
win32: use native ANSI sequence processing, if possible (#4700)
dscho Dec 2, 2023
aa8ec40
common-main.c: fflush stdout buffer when exit (#4901)
dscho Apr 12, 2024
a69dc62
Merge branch 'run-t5601-and-t7406-with-symlinks-on-windows-10'
dscho Jul 12, 2024
ab72f8b
Merge branch 'Fix-i686-build-with-GCC-v14'
dscho Jul 12, 2024
30efe96
Merge branch 'Fallback-to-AppData-if-XDG-CONFIG-HOME-is-unset'
dscho Jul 12, 2024
ff67fed
Merge branch 'run-command-be-helpful-when-Git-LFS-fails-on-Windows-7'
dscho Jul 12, 2024
1bdf287
pack-objects: create new name-hash algorithm (#5157)
dscho Sep 24, 2024
b19446b
Add path walk API and its use in 'git pack-objects' (#5171)
derrickstolee Sep 25, 2024
c00c618
Add experimental 'git survey' builtin (#5174)
dscho Sep 26, 2024
ca3e525
credential-cache: handle ECONNREFUSED gracefully (#5329)
dscho Jan 1, 2025
9d29ff0
Merge branch 'reftable-vs-custom-allocators'
dscho Jun 2, 2025
4ebfd7b
Merge branch 'check-whitespace-only-downstream'
dscho Jun 3, 2025
d608592
t/t5571-prep-push-hook.sh: Add test with writing to stderr (#6063)
dscho Jan 27, 2026
2fe8206
git-svn: mark it as unsupported by the Git for Windows project
dscho Nov 3, 2025
9f345af
Merge branch 'ready-for-upstream'
dscho Oct 11, 2018
84c55fd
ci(macos): skip the `git p4` tests
dscho Nov 13, 2025
5fdaafe
git-svn: mark it as unsupported by the Git for Windows project (#5923)
dscho Nov 4, 2025
ad3d244
ci(macos): skip the `git p4` tests (#5954)
dscho Nov 14, 2025
e490505
index stage 3
Mar 25, 2026
f7077d3
index stage 2
Mar 25, 2026
1e10626
index stage 1
Mar 25, 2026
98f9018
Failed rebase state
Mar 25, 2026
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
17 changes: 10 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,11 @@ jobs:
NO_PERL: 1
GIT_CONFIG_PARAMETERS: "'user.name=CI' 'user.email=ci@git'"
runs-on: windows-latest
strategy:
matrix:
arch: [x64, arm64]
concurrency:
group: vs-build-${{ github.ref }}
group: vs-build-${{ github.ref }}-${{ matrix.arch }}
cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }}
steps:
- uses: actions/checkout@v5
Expand All @@ -189,14 +192,14 @@ jobs:
uses: microsoft/setup-msbuild@v2
- name: copy dlls to root
shell: cmd
run: compat\vcbuild\vcpkg_copy_dlls.bat release
run: compat\vcbuild\vcpkg_copy_dlls.bat release ${{ matrix.arch }}-windows
- name: generate Visual Studio solution
shell: bash
run: |
cmake `pwd`/contrib/buildsystems/ -DCMAKE_PREFIX_PATH=`pwd`/compat/vcbuild/vcpkg/installed/x64-windows \
-DNO_GETTEXT=YesPlease -DPERL_TESTS=OFF -DPYTHON_TESTS=OFF -DCURL_NO_CURL_CMAKE=ON
cmake `pwd`/contrib/buildsystems/ -DCMAKE_PREFIX_PATH=`pwd`/compat/vcbuild/vcpkg/installed/${{ matrix.arch }}-windows \
-DNO_GETTEXT=YesPlease -DPERL_TESTS=OFF -DPYTHON_TESTS=OFF -DCURL_NO_CURL_CMAKE=ON -DCMAKE_GENERATOR_PLATFORM=${{ matrix.arch }} -DVCPKG_ARCH=${{ matrix.arch }}-windows -DHOST_CPU=${{ matrix.arch }}
- name: MSBuild
run: msbuild git.sln -property:Configuration=Release -property:Platform=x64 -maxCpuCount:4 -property:PlatformToolset=v142
run: msbuild git.sln -property:Configuration=Release -property:Platform=${{ matrix.arch }} -maxCpuCount:4 -property:PlatformToolset=v142
- name: bundle artifact tar
shell: bash
env:
Expand All @@ -210,7 +213,7 @@ jobs:
- name: upload tracked files and build artifacts
uses: actions/upload-artifact@v5
with:
name: vs-artifacts
name: vs-artifacts-${{ matrix.arch }}
path: artifacts
vs-test:
name: win+VS test
Expand All @@ -228,7 +231,7 @@ jobs:
- name: download tracked files and build artifacts
uses: actions/download-artifact@v6
with:
name: vs-artifacts
name: vs-artifacts-x64
path: ${{github.workspace}}
- name: extract tracked files and build artifacts
shell: bash
Expand Down
76 changes: 76 additions & 0 deletions .github/workflows/nano-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Windows Nano Server tests

on:
workflow_dispatch:

env:
DEVELOPER: 1

jobs:
test-nano-server:
runs-on: windows-2022
env:
WINDBG_DIR: "C:/Program Files (x86)/Windows Kits/10/Debuggers/x64"
IMAGE: mcr.microsoft.com/powershell:nanoserver-ltsc2022

steps:
- uses: actions/checkout@v5
- uses: git-for-windows/setup-git-for-windows-sdk@v1
- name: build Git
shell: bash
run: make -j15
- name: pull nanoserver image
shell: bash
run: docker pull $IMAGE
- name: run nano-server test
shell: bash
run: |
docker run \
--user "ContainerAdministrator" \
-v "$WINDBG_DIR:C:/dbg" \
-v "$(cygpath -aw /mingw64/bin):C:/mingw64-bin" \
-v "$(cygpath -aw .):C:/test" \
$IMAGE pwsh.exe -Command '
# Extend the PATH to include the `.dll` files in /mingw64/bin/
$env:PATH += ";C:\mingw64-bin"

# For each executable to test pick some no-operation set of
# flags/subcommands or something that should quickly result in an
# error with known exit code that is not a negative 32-bit
# number, and set the expected return code appropriately.
#
# Only test executables that could be expected to run in a UI
# less environment.
#
# ( Executable path, arguments, expected return code )
# also note space is required before close parenthesis (a
# powershell quirk when defining nested arrays like this)

$executables_to_test = @(
("C:\test\git.exe", "", 1 ),
("C:\test\scalar.exe", "version", 0 )
)

foreach ($executable in $executables_to_test)
{
Write-Output "Now testing $($executable[0])"
&$executable[0] $executable[1]
if ($LASTEXITCODE -ne $executable[2]) {
# if we failed, run the debugger to find out what function
# or DLL could not be found and then exit the script with
# failure The missing DLL or EXE will be referenced near
# the end of the output

# Set a flag to have the debugger show loader stub
# diagnostics. This requires running as administrator,
# otherwise the flag will be ignored.
C:\dbg\gflags -i $executable[0] +SLS

C:\dbg\cdb.exe -c "g" -c "q" $executable[0] $executable[1]

exit 1
}
}

exit 0
'
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@
/git-submodule
/git-submodule--helper
/git-subtree
/git-survey
/git-svn
/git-switch
/git-symbolic-ref
Expand Down Expand Up @@ -257,5 +258,6 @@ Release/
/git.VC.db
*.dSYM
/contrib/buildsystems/out
CMakeSettings.json
/contrib/libgit-rs/target
/contrib/libgit-sys/target
8 changes: 8 additions & 0 deletions Documentation/config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -519,10 +519,14 @@ include::config/safe.adoc[]

include::config/sendemail.adoc[]

include::config/sendpack.adoc[]

include::config/sequencer.adoc[]

include::config/showbranch.adoc[]

include::config/sideband.adoc[]

include::config/sparse.adoc[]

include::config/splitindex.adoc[]
Expand All @@ -535,6 +539,8 @@ include::config/status.adoc[]

include::config/submodule.adoc[]

include::config/survey.adoc[]

include::config/tag.adoc[]

include::config/tar.adoc[]
Expand All @@ -557,4 +563,6 @@ include::config/versionsort.adoc[]

include::config/web.adoc[]

include::config/windows.adoc[]

include::config/worktree.adoc[]
17 changes: 12 additions & 5 deletions Documentation/config/http.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,13 @@ http.sslKeyType::

http.schannelCheckRevoke::
Used to enforce or disable certificate revocation checks in cURL
when http.sslBackend is set to "schannel". Defaults to `true` if
unset. Only necessary to disable this if Git consistently errors
and the message is about checking the revocation status of a
certificate. This option is ignored if cURL lacks support for
setting the relevant SSL option at runtime.
when http.sslBackend is set to "schannel" via "true" and "false",
respectively. Another accepted value is "best-effort" (the default)
in which case revocation checks are performed, but errors due to
revocation list distribution points that are offline are silently
ignored, as well as errors due to certificates missing revocation
list distribution points. This option is ignored if cURL lacks
support for setting the relevant SSL option at runtime.

http.schannelUseSSLCAInfo::
As of cURL v7.60.0, the Secure Channel backend can use the
Expand All @@ -247,6 +249,11 @@ http.schannelUseSSLCAInfo::
when the `schannel` backend was configured via `http.sslBackend`,
unless `http.schannelUseSSLCAInfo` overrides this behavior.

http.sslAutoClientCert::
As of cURL v7.77.0, the Secure Channel backend won't automatically
send client certificates from the Windows Certificate Store anymore.
To opt in to the old behavior, http.sslAutoClientCert can be set.

http.pinnedPubkey::
Public key of the https service. It may either be the filename of
a PEM or DER encoded public key file or a string starting with
Expand Down
5 changes: 5 additions & 0 deletions Documentation/config/sendpack.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sendpack.sideband::
Allows to disable the side-band-64k capability for send-pack even
when it is advertised by the server. Makes it possible to work
around a limitation in the git for windows implementation together
with the dump git protocol. Defaults to true.
16 changes: 16 additions & 0 deletions Documentation/config/sideband.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
sideband.allowControlCharacters::
By default, control characters that are delivered via the sideband
are masked, except ANSI color sequences. This prevents potentially
unwanted ANSI escape sequences from being sent to the terminal. Use
this config setting to override this behavior:
+
--
color::
Allow ANSI color sequences, line feeds and horizontal tabs,
but mask all other control characters. This is the default.
false::
Mask all control characters other than line feeds and
horizontal tabs.
true::
Allow all control characters to be sent to the terminal.
--
14 changes: 14 additions & 0 deletions Documentation/config/survey.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
survey.*::
These variables adjust the default behavior of the `git survey`
command. The intention is that this command could be run in the
background with these options.
+
--
verbose::
This boolean value implies the `--[no-]verbose` option.
progress::
This boolean value implies the `--[no-]progress` option.
top::
This integer value implies `--top=<N>`, specifying the
number of entries in the detail tables.
--
4 changes: 4 additions & 0 deletions Documentation/config/windows.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
windows.appendAtomically::
By default, append atomic API is used on windows. But it works only with
local disk files, if you're working on a network file system, you should
set it false to turn it off.
11 changes: 11 additions & 0 deletions Documentation/git-reset.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ git reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]
git reset [-q] [<tree-ish>] [--] <pathspec>...
git reset [-q] [--pathspec-from-file=<file> [--pathspec-file-nul]] [<tree-ish>]
git reset (--patch | -p) [<tree-ish>] [--] [<pathspec>...]
DEPRECATED: git reset [-q] [--stdin [-z]] [<tree-ish>]

DESCRIPTION
-----------
Expand Down Expand Up @@ -139,6 +140,16 @@ include::diff-context-options.adoc[]
+
For more details, see the 'pathspec' entry in linkgit:gitglossary[7].

`--stdin`::
DEPRECATED (use `--pathspec-from-file=-` instead): Instead of taking
list of paths from the command line, read list of paths from the
standard input. Paths are separated by LF (i.e. one path per line) by
default.

`-z`::
DEPRECATED (use `--pathspec-file-nul` instead): Only meaningful with
`--stdin`; paths are separated with NUL character instead of LF.

EXAMPLES
--------

Expand Down
83 changes: 83 additions & 0 deletions Documentation/git-survey.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
git-survey(1)
=============

NAME
----
git-survey - EXPERIMENTAL: Measure various repository dimensions of scale

SYNOPSIS
--------
[verse]
(EXPERIMENTAL!) 'git survey' <options>

DESCRIPTION
-----------

Survey the repository and measure various dimensions of scale.

As repositories grow to "monorepo" size, certain data shapes can cause
performance problems. `git-survey` attempts to measure and report on
known problem areas.

Ref Selection and Reachable Objects
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In this first analysis phase, `git survey` will iterate over the set of
requested branches, tags, and other refs and treewalk over all of the
reachable commits, trees, and blobs and generate various statistics.

OPTIONS
-------

--progress::
Show progress. This is automatically enabled when interactive.

Ref Selection
~~~~~~~~~~~~~

The following options control the set of refs that `git survey` will examine.
By default, `git survey` will look at tags, local branches, and remote refs.
If any of the following options are given, the default set is cleared and
only refs for the given options are added.

--all-refs::
Use all refs. This includes local branches, tags, remote refs,
notes, and stashes. This option overrides all of the following.

--branches::
Add local branches (`refs/heads/`) to the set.

--tags::
Add tags (`refs/tags/`) to the set.

--remotes::
Add remote branches (`refs/remote/`) to the set.

--detached::
Add HEAD to the set.

--other::
Add notes (`refs/notes/`) and stashes (`refs/stash/`) to the set.

OUTPUT
------

By default, `git survey` will print information about the repository in a
human-readable format that includes overviews and tables.

References Summary
~~~~~~~~~~~~~~~~~~

The references summary includes a count of each kind of reference,
including branches, remote refs, and tags (split by "all" and
"annotated").

Reachable Object Summary
~~~~~~~~~~~~~~~~~~~~~~~~

The reachable object summary shows the total number of each kind of Git
object, including tags, commits, trees, and blobs.

GIT
---
Part of the linkgit:git[1] suite
1 change: 1 addition & 0 deletions Documentation/git-svn.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ SYNOPSIS
--------
[verse]
'git svn' <command> [<options>] [<arguments>]
(UNSUPPORTED!)

DESCRIPTION
-----------
Expand Down
1 change: 1 addition & 0 deletions Documentation/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ manpages = {
'git-status.adoc' : 1,
'git-stripspace.adoc' : 1,
'git-submodule.adoc' : 1,
'git-survey.adoc' : 1,
'git-svn.adoc' : 1,
'git-switch.adoc' : 1,
'git-symbolic-ref.adoc' : 1,
Expand Down
Loading