Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
333 commits
Select commit Hold shift + click to select a range
6d42a10
vcpkg_install: add comment regarding slow network connections
PhilipOakley Oct 6, 2019
dad2636
Add schannel to curl installation
dennisameling Dec 6, 2020
8f64f0b
hash-object: demonstrate a >4GB/LLP64 problem
PhilipOakley Oct 31, 2021
ae5f782
object-file.c: use size_t for header lengths
PhilipOakley Nov 12, 2021
6fe34e4
CMake: default Visual Studio generator has changed
PhilipOakley Jul 1, 2021
d7810fc
hash algorithms: use size_t for section lengths
PhilipOakley Nov 12, 2021
3f54362
.gitignore: add Visual Studio CMakeSetting.json file
PhilipOakley Apr 24, 2021
39b6525
hash-object --stdin: verify that it works with >4GB/LLP64
PhilipOakley Dec 6, 2021
430ee58
subtree: update `contrib/subtree` `test` target
vdye Aug 5, 2021
0df5aa0
CMakeLists: add default "x64-windows" arch for Visual Studio
PhilipOakley Apr 22, 2021
b289cb7
hash-object: add another >4GB/LLP64 test case
PhilipOakley Dec 6, 2021
9afac8d
setup: properly use "%(prefix)/" when in WSL
derrickstolee Apr 13, 2022
56570fa
cmake(): allow setting HOST_CPU for cross-compilation
dennisameling Jul 19, 2021
dd172a9
mingw: allow for longer paths in `parse_interpreter()`
dscho Apr 2, 2021
38db771
compat/vcbuild: document preferred way to build in Visual Studio
dscho May 17, 2021
c5edd54
http: optionally send SSL client certificate
pascalmuller Jun 23, 2021
b988e69
ci: run `contrib/subtree` tests in CI builds
vdye Aug 5, 2021
c0fedda
CMake: show Win32 and Generator_platform build-option values
PhilipOakley May 10, 2021
4238648
hash-object: add a >4GB/LLP64 test case using filtered input
PhilipOakley Dec 7, 2021
f0975a6
compat/mingw.c: do not warn when failing to get owner
derrickstolee Apr 13, 2022
6d35a86
mingw: $env:TERM="xterm-256color" for newer OSes
rkitover Apr 12, 2022
12506a8
winansi: check result and Buffer before using Name
1480c1 May 28, 2022
236f7a9
Add config option `windows.appendAtomically`
sunzhuoshi Jan 15, 2022
f058d3c
mingw: change core.fsyncObjectFiles = 1 by default
dscho Sep 4, 2017
a86140e
MinGW: link as terminal server aware
rimrul Jul 10, 2022
83c13c3
Fix Windows version resources
Mortein Nov 2, 2022
0ee4c75
mingw: stop hard-coding `CC = gcc`
dscho Nov 23, 2025
75bad99
mingw: drop the -D_USE_32BIT_TIME_T option
dscho Nov 21, 2025
7f9f7b9
Merge branch 'dscho-avoid-d-f-conflict-in-vs-master'
dscho Apr 13, 2021
ca38850
mingw: only use -Wl,--large-address-aware for 32-bit builds
dscho Nov 21, 2025
fd1088b
clink.pl: fix libexpatd.lib link error when using MSVC
jeffhostetler Mar 30, 2021
074859b
mingw: avoid over-specifying `--pic-executable`
dscho Nov 21, 2025
a5686e4
Makefile: clean up .ilk files when MSVC=1
jeffhostetler Apr 5, 2021
218d179
mingw: set the prefix and HOST_CPU as per MSYS2's settings
dscho Nov 21, 2025
9ffd46f
vcbuild: add support for compiling Windows resource files
jeffhostetler Apr 5, 2021
08222da
mingw: only enable the MSYS2-specific stuff when compiling in MSYS2
dscho Nov 21, 2025
c3eae2e
config.mak.uname: add git.rc to MSVC builds
jeffhostetler Apr 5, 2021
df9f03e
mingw: rely on MSYS2's metadata instead of hard-coding it
dscho Nov 21, 2025
c1de0af
mingw: ensure valid CTYPE
dscho Feb 21, 2017
a879ea5
clink.pl: ignore no-stack-protector arg on MSVC=1 builds
jeffhostetler Apr 5, 2021
f333f0f
mingw: always define `ETC_*` for MSYS2 environments
dscho Nov 21, 2025
cf124bd
mingw: allow `git.exe` to be used instead of the "Git wrapper"
dscho Jan 31, 2020
0bcdce9
clink.pl: move default linker options for MSVC=1 builds
jeffhostetler Apr 5, 2021
5f81752
status: fix for old-style submodules with commondir
sceptical-coder Oct 28, 2022
0818084
windows: skip linking `git-<command>` for built-ins
dscho Jan 27, 2023
a097f61
max_tree_depth: lower it for clang builds in general on Windows
dscho Nov 21, 2025
f1c351c
mingw: ignore HOMEDRIVE/HOMEPATH if it points to Windows' system dire…
dscho Aug 25, 2020
a506d62
cmake: install headless-git.
Berrysoft Mar 11, 2023
47653ef
survey: stub in new experimental 'git-survey' command
Apr 29, 2024
6b7f7b1
survey: add command line opts to select references
Apr 29, 2024
52c0536
http: optionally load libcurl lazily
dscho May 6, 2023
cdf6081
survey: start pretty printing data in table form
derrickstolee Sep 1, 2024
e291432
http: support lazy-loading libcurl also on Windows
dscho May 7, 2023
3f3a91b
survey: add object count summary
derrickstolee Sep 2, 2024
8dbe31a
http: when loading libcurl lazily, allow for multiple SSL backends
dscho May 7, 2023
4096b83
survey: summarize total sizes by object type
derrickstolee Sep 2, 2024
08af2fc
git.rc: include winuser.h
rimrul Dec 2, 2023
52d4116
mingw: do load libcurl dynamically by default
dscho May 7, 2023
ad471d0
Add a GitHub workflow to verify that Git/Scalar work in Nano Server
dscho Nov 2, 2022
b3c9707
mingw: suggest `windows.appendAtomically` in more cases
dsl101 Jul 28, 2023
1b7b146
win32: use native ANSI sequence processing, if possible
dscho Nov 22, 2023
3e8b6f1
common-main.c: fflush stdout buffer upon exit
chengzhuo5 Apr 8, 2024
b1955b4
t5601/t7406(mingw): do run tests with symlink support
dscho Apr 9, 2024
6c98ef7
win32: ensure that `localtime_r()` is declared even in i686 builds
dscho May 21, 2024
56a1deb
Fallback to AppData if XDG_CONFIG_HOME is unset
ariellourenco Jul 2, 2024
7c656f3
run-command: be helpful with Git LFS fails on Windows 7
dscho Jul 4, 2024
1e10377
revision: create mark_trees_uninteresting_dense()
derrickstolee Sep 6, 2024
5386412
ci: work around a problem with HTTP/2 vs libcurl v8.10.0
dscho Sep 24, 2024
722177e
survey: show progress during object walk
derrickstolee Sep 2, 2024
e00d893
mingw: make sure `errno` is set correctly when socket operations fail
dscho Nov 14, 2019
f529c33
survey: add ability to track prioritized lists
derrickstolee Sep 2, 2024
62db9f4
compat/mingw: handle WSA errors in strerror
rimrul Dec 22, 2024
3203a5c
t5563: verify that NTLM authentication works
dscho Nov 26, 2025
b659b2a
survey: add report of "largest" paths
derrickstolee Sep 2, 2024
51d8c18
compat/mingw: drop outdated comment
rimrul Dec 22, 2024
e3e0345
http: disallow NTLM authentication by default
dscho Nov 26, 2025
1e942bb
survey: add --top=<N> option and config
derrickstolee Sep 23, 2024
fd325b2
t0301: actually test credential-cache on Windows
rimrul Dec 29, 2024
8f740e0
http: warn if might have failed because of NTLM
dscho Nov 26, 2025
65915bf
survey: clearly note the experimental nature in the output
dscho Jul 1, 2024
ffa5ab2
credential-cache: handle ECONNREFUSED gracefully
rimrul Dec 22, 2024
3ee0fd5
reftable: do make sure to use custom allocators
dscho Mar 6, 2025
12b561d
check-whitespace: avoid alerts about upstream commits
dscho Jun 3, 2025
dbd653b
t/t5571-prep-push-hook.sh: Add test with writing to stderr
t-b Jan 26, 2026
fa2dbd0
credential: advertise NTLM suppression and allow helpers to re-enable
dscho Feb 9, 2026
9cf6271
dir: do not traverse mount points
maks244 Mar 30, 2026
9da0b5e
win32: thread-utils: handle multi-socket systems
rimrul Feb 21, 2026
9bc31c1
Merge 'remote-hg-prerequisites' into HEAD
dscho Jun 8, 2018
b2fa140
Merge branch 'drive-prefix'
dscho Jun 8, 2018
7f130aa
Merge branch 'dont-clean-junctions'
dscho Jul 30, 2019
a9d5ecc
Merge branch 'msys2-python'
dscho May 31, 2019
7f0f061
http: extract http_reauth_prepare() from retry paths
mjcheetham Apr 13, 2026
c3aa116
Update mimalloc to v2.2.7 (#6048)
dscho Jan 19, 2026
579159e
http: attempt Negotiate auth in http.emptyAuth=auto mode
mjcheetham Apr 13, 2026
3538929
Merge pull request #2375 from assarbad/reintroduce-sideband-config
dscho Oct 30, 2019
e3c938b
t5563: add tests for http.emptyAuth with Negotiate
mjcheetham Apr 13, 2026
5071daf
Merge pull request #2488 from bmueller84/master
dscho Jan 22, 2020
fda52e5
Merge pull request #2501 from jeffhostetler/clink-debug-curl
dscho Jan 30, 2020
255f5e7
Merge pull request #2504 from dscho/access-repo-via-junction
dscho Feb 1, 2020
117e03c
Merge pull request #2535 from dscho/schannel-revoke-best-effort
dscho Mar 4, 2020
1f118db
Merge pull request #2618 from dscho/avoid-d/f-conflict-in-vs/master
dscho May 9, 2020
f7e56fc
Merge 'add-p-many-files'
dscho Jun 8, 2018
07d61db
Merge pull request #2714 from lbonanomi/crlf-scissors
dscho Jul 3, 2020
1e570ff
Merge pull request #2655 from jglathe/jg/t0014_trace_extra_info
dscho Oct 9, 2020
35eae91
Merge 'git-gui/js/intent-to-add'
dscho Oct 18, 2020
6965d2d
Merge pull request #2351 from PhilipOakley/vcpkg-tip
dscho Oct 7, 2019
a161a52
Merge pull request #2915 from dennisameling/windows-arm64-support
dscho Dec 9, 2020
0a99240
Merge pull request #3327 from dennisameling/fix-host-cpu
dscho Jul 19, 2021
9a0a78c
Merge pull request #3165 from dscho/increase-allowed-length-of-interp…
dscho Apr 3, 2021
7932e12
Merge pull request #3220 from dscho/there-is-no-vs/master-anymore
dscho May 17, 2021
c691619
Merge pull request #3293 from pascalmuller/http-support-automatically…
dscho Jun 24, 2021
49b6bac
Merge pull request #3349 from vdye/feature/ci-subtree-tests
dscho Aug 10, 2021
0a44024
Merge pull request #3306 from PhilipOakley/vs-sln
dscho Oct 12, 2021
34ddcfb
Merge pull request #3533 from PhilipOakley/hashliteral_t
dscho Dec 15, 2021
716a08f
Merge pull request #3791: Various fixes around `safe.directory`
derrickstolee Apr 13, 2022
8b55d34
Merge pull request #3751 from rkitover/native-term
dscho Apr 21, 2022
312edc9
Merge pull request #3875 from 1480c1/wine/detect_msys_tty
dscho May 30, 2022
6df11e5
Merge branch 'optionally-dont-append-atomically-on-windows'
dscho Jun 23, 2022
7bff5cf
Merge branch 'fsync-object-files-always'
dscho Oct 11, 2018
0d669dd
Merge pull request #3942 from rimrul/mingw-tsaware
dscho Jul 27, 2022
5ab1362
Fix Windows version resources (#4092)
dscho Nov 3, 2022
6bb2e41
Fix global repository field not being cleared (#4083)
dscho Dec 20, 2022
41bbbf6
Skip linking the "dashed" `git-<command>`s for built-ins (#4252)
dscho Jan 31, 2023
17f179a
Add full `mingw-w64-git` (i.e. regular MSYS2 ecosystem) support (#5971)
dscho Nov 25, 2025
a782590
Merge pull request #2506 from dscho/issue-2283
dscho Feb 11, 2020
8eda6a9
Merge pull request #2974 from derrickstolee/maintenance-and-headless
dscho Jan 11, 2021
66fbdb8
ARM64: Embed manifest properly (#4718)
dscho Dec 7, 2023
20b5512
Lazy load libcurl, allowing for an SSL/TLS backend-specific libcurl (…
dscho May 15, 2023
a9dad84
Merge branch 'nano-server'
dscho Aug 7, 2023
331f8d6
Additional error checks for issuing the windows.appendAtomically warn…
dscho Aug 7, 2023
49f4e7a
win32: use native ANSI sequence processing, if possible (#4700)
dscho Dec 2, 2023
4a163f4
common-main.c: fflush stdout buffer when exit (#4901)
dscho Apr 12, 2024
4aca1e2
Merge branch 'run-t5601-and-t7406-with-symlinks-on-windows-10'
dscho Jul 12, 2024
480c80a
Merge branch 'Fix-i686-build-with-GCC-v14'
dscho Jul 12, 2024
4546b94
Merge branch 'Fallback-to-AppData-if-XDG-CONFIG-HOME-is-unset'
dscho Jul 12, 2024
878b964
Merge branch 'run-command-be-helpful-when-Git-LFS-fails-on-Windows-7'
dscho Jul 12, 2024
2fe158a
pack-objects: create new name-hash algorithm (#5157)
dscho Sep 24, 2024
a88c485
Add path walk API and its use in 'git pack-objects' (#5171)
derrickstolee Sep 25, 2024
ac93a8a
Add experimental 'git survey' builtin (#5174)
dscho Sep 26, 2024
e0d91b9
credential-cache: handle ECONNREFUSED gracefully (#5329)
dscho Jan 1, 2025
c668ccd
Merge branch 'reftable-vs-custom-allocators'
dscho Jun 2, 2025
1ba95c4
Merge branch 'check-whitespace-only-downstream'
dscho Jun 3, 2025
61e9376
t/t5571-prep-push-hook.sh: Add test with writing to stderr (#6063)
dscho Jan 27, 2026
8db1e10
Merge branch 'disallow-ntlm-auth-by-default'
dscho Feb 12, 2026
0e06c1d
Don't traverse mount points in `remove_dir_recurse()` (#6151)
dscho Mar 31, 2026
df35587
Detect number of cores better on multi-socket systems (#6108)
dscho Apr 6, 2026
9e799d3
http: fix emptyAuth=auto for Negotiate/SPNEGO (#6170)
dscho Apr 14, 2026
fc27d53
Win32: make FILETIME conversion functions public
kblees Jul 6, 2013
73c3fad
Win32: dirent.c: Move opendir down
kblees Sep 8, 2013
68e5344
mingw: make the dirent implementation pluggable
kblees Sep 8, 2013
bee2a75
Win32: make the lstat implementation pluggable
kblees Sep 8, 2013
51736b2
mingw: add infrastructure for read-only file system level caches
kblees Sep 8, 2013
3167997
mingw: add a cache below mingw's lstat and dirent implementations
kblees Oct 1, 2013
43ec30e
fscache: load directories only once
kblees Jun 24, 2014
e7b3a2c
fscache: add key for GIT_TRACE_FSCACHE
jeffhostetler Jan 24, 2017
682cfd5
git-gui--askyesno: fix funny text wrapping
dscho Sep 20, 2017
f865c7c
fscache: remember not-found directories
jeffhostetler Dec 13, 2016
33c3173
git-gui--askyesno (mingw): use Git for Windows' icon, if available
dscho Sep 20, 2017
4e992ed
ci(macos): skip the `git p4` tests
dscho Nov 13, 2025
53da437
Merge branch 'ready-for-upstream'
dscho Oct 11, 2018
066afb5
fscache: add a test for the dir-not-found optimization
dscho Jan 25, 2017
057c84c
Merge branch 'git-gui-askyesno'
dscho Jun 8, 2018
07f9b4e
ci(macos): skip the `git p4` tests (#5954)
dscho Nov 14, 2025
6d30b7e
add: use preload-index and fscache for performance
jeffhostetler Nov 22, 2016
6f1b0e8
dir.c: make add_excludes aware of fscache during status
jeffhostetler Nov 1, 2017
0046bea
fscache: make fscache_enabled() public
jeffhostetler Dec 20, 2017
aba3b3b
dir.c: regression fix for add_excludes with fscache
jeffhostetler Dec 20, 2017
e4bc62d
fetch-pack.c: enable fscache for stats under .git/objects
Nov 22, 2017
0b68195
checkout.c: enable fscache for checkout again
Jan 30, 2018
65c7726
Enable the filesystem cache (fscache) in refresh_index().
benpeart Sep 7, 2018
32c5e52
mem_pool: add GIT_TRACE_MEMPOOL support
benpeart Oct 4, 2018
8756c0a
fscache: use FindFirstFileExW to avoid retrieving the short name
benpeart Oct 23, 2018
6378e39
fscache: fscache takes an initial size
benpeart Nov 2, 2018
2795619
fscache: add GIT_TEST_FSCACHE support
benpeart Oct 4, 2018
332003f
fscache: update fscache to be thread specific instead of global
benpeart Oct 4, 2018
accc3b0
fscache: add fscache hit statistics
benpeart Sep 25, 2018
952e433
fscache: teach fscache to use mempool
benpeart Nov 2, 2018
b2dbe31
unpack-trees: enable fscache for sparse-checkout
derrickstolee Jun 12, 2019
135b2cf
fscache: remember the reparse tag for each entry
dscho Dec 11, 2018
932d3b2
fscache: make fscache_enable() thread safe
benpeart Nov 16, 2018
62cf57b
status: disable and free fscache at the end of the status command
benpeart Nov 1, 2018
80f9f76
Merge branch 'fscache'
dscho Nov 15, 2018
fcaf4cc
fscache: implement an FSCache-aware is_mount_point()
dscho Dec 11, 2018
bc199d2
fscache: teach fscache to use NtQueryDirectoryFile
benpeart Nov 15, 2018
9e7af57
Merge pull request #1909 from benpeart/free-fscache-after-status-gfw
dscho Nov 5, 2018
7591eeb
clean: make use of FSCache
dscho Dec 11, 2018
5a0705a
Merge remote-tracking branch 'benpeart/fscache-per-thread-gfw'
dscho Nov 16, 2018
2de9933
Merge branch 'dont-clean-junctions-fscache'
dscho Jul 23, 2019
21dab4c
mingw: explicitly specify with which cmd to prefix the cmdline
dscho Jul 20, 2017
7da099e
mingw: when path_lookup() failed, try BusyBox
dscho Jul 20, 2017
5b2f2b8
test-tool: learn to act as a drop-in replacement for `iconv`
dscho Jul 20, 2017
1163e1f
pack-objects (mingw): demonstrate a segmentation fault with large deltas
vangdfang Jan 9, 2014
b33b515
tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
dscho Jul 20, 2017
994b318
mingw: support long paths
kblees Jul 28, 2015
fcdead2
mingw: introduce code to detect whether we're inside a Windows container
zcube Apr 23, 2018
3f22655
Win32: symlink: move phantom symlink creation to a separate function
piscisaureus Oct 26, 2018
06acf32
gitattributes: mark .png files as binary
dscho Oct 11, 2018
23721ec
win32(long path support): leave drive-less absolute paths intact
dscho Sep 6, 2023
650c6e2
mingw: Support `git_terminal_prompt` with more terminals
kblees Mar 19, 2015
f019e94
mingw: when running in a Windows container, try to rename() harder
zcube Apr 23, 2018
3394e01
Introduce helper to create symlinks that knows about index_state
dscho Feb 11, 2019
15d2203
tests: move test PNGs into t/lib-diff/
dscho Aug 5, 2017
7373203
compat/fsmonitor/fsm-*-win32: support long paths
jeffhostetler Mar 25, 2022
56cc21f
compat/terminal.c: only use the Windows console if bash 'read -r' fails
kblees May 9, 2015
948807d
mingw: move the file_attr_to_st_mode() function definition
zcube Apr 23, 2018
82cf690
mingw: allow to specify the symlink type in .gitattributes
piscisaureus Oct 26, 2018
b28a90d
tests: only override sort & find if there are usable ones in /usr/bin/
dscho Jul 17, 2017
7f13315
clean: suggest using `core.longPaths` if paths are too long to remove
mathstuf Apr 22, 2022
48c7707
mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
dscho Feb 23, 2018
c6d8161
mingw: Windows Docker volumes are *not* symbolic links
dscho Apr 23, 2018
79b811d
mingw: work around rename() failing on a read-only file
dsl101 Jul 28, 2023
24f1828
Win32: symlink: add test for `symlink` attribute
piscisaureus Oct 26, 2018
8699090
tests: use the correct path separator with BusyBox
dscho Nov 19, 2018
452cc00
mingw: only use Bash-ism `builtin pwd -W` when available
dscho Jun 29, 2017
bb2194f
tests (mingw): remove Bash-specific pwd option
dscho Jun 30, 2017
6e73f85
test-lib: add BUSYBOX prerequisite
dscho Jul 19, 2017
d7ed9c9
t5003: use binary file from t/lib-diff/
dscho Aug 5, 2017
89ede41
t5532: workaround for BusyBox on Windows
dscho Jul 21, 2017
343213a
t5605: special-case hardlink test for BusyBox-w32
dscho Jul 21, 2017
f9da0b5
t5813: allow for $PWD to be a Windows path
dscho Jul 5, 2017
41814b8
mingw: kill child processes in a gentler way
dscho May 17, 2017
e05631f
t9200: skip tests when $PWD contains a colon
dscho Jul 7, 2017
40dcbcf
mingw: optionally enable wsl compability file mode bits
swigger Jun 7, 2023
d8b4bb2
mingw: really handle SIGINT
dscho Apr 22, 2018
0a0670a
Partially un-revert "editor: save and reset terminal after calling ED…
dscho Nov 25, 2021
e527f47
reset: reinstate support for the deprecated --stdin option
dscho Dec 10, 2019
80096a9
fsmonitor: reintroduce core.useBuiltinFSMonitor
vdye Apr 4, 2022
0110fc9
Add a GitHub workflow to monitor component updates
dscho Sep 29, 2020
beb773c
Describe Git for Windows' architecture
dscho Feb 13, 2023
b3921c2
dependabot: help keeping GitHub Actions versions up to date
dscho Feb 6, 2024
8c0db9a
Modify the Code of Conduct for Git for Windows
dscho Oct 11, 2019
9bda540
Merge branch 'gitk-and-git-gui-patches'
dscho Oct 11, 2018
1cbd77d
CONTRIBUTING.md: add guide for first-time contributors
derrickstolee Mar 1, 2018
1d3631a
Merge branch 'long-paths'
dscho Nov 15, 2018
2a827be
README.md: Add a Windows-specific preamble
dscho Jan 10, 2014
8127adf
Merge branch 'msys2'
dscho Nov 15, 2018
a959dd0
Add an issue template
shiftkey Feb 18, 2016
00848ca
Merge 'docker-volumes-are-no-symlinks'
dscho Oct 12, 2018
d4cc54f
Modify the GitHub Pull Request template (to reflect Git for Windows)
Dec 22, 2017
6dfd499
mingw: try resetting the read-only bit if rename fails (#4527)
dscho Aug 7, 2023
53fa513
SECURITY.md: document Git for Windows' policies
dscho Aug 23, 2019
b25ee84
Merge pull request #1897 from piscisaureus/symlink-attr
dscho Oct 31, 2018
8970d31
Merge branch 'busybox-w32'
dscho Feb 7, 2019
afb697b
Merge branch 'wsl-file-mode-bits'
dscho Aug 7, 2023
1b3b2af
Merge pull request #1170 from dscho/mingw-kill-process
dscho Oct 11, 2018
10aa5b3
Merge branch 'un-revert-editor-save-and-reset'
dscho Jan 15, 2022
c9c345b
Merge branch 'phase-out-reset-stdin'
dscho Jun 8, 2018
9c69e9f
Merge branch 'deprecate-core.useBuiltinFSMonitor'
dscho Jan 24, 2023
e217681
Merge pull request #2837 from dscho/monitor-component-updates
dscho Oct 7, 2020
2b8a3ab
Merge 'readme' into HEAD
dscho Jun 7, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Documentation/CodingGuidelines
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ For C programs:
walk_dog(dog[1]);

Cases where the array is employed as a whole rather than as its unit parts,
the plural forms is preferable. E.g:
the plural form is preferable. E.g:

char *dogs[] = ...;
walk_all_dogs(dogs);
Expand Down
20 changes: 10 additions & 10 deletions Documentation/RelNotes/2.54.0.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ UI, Workflows & Features
* Extend the alias configuration syntax to allow aliases using
characters outside ASCII alphanumeric (plus '-').

* A signature on a commit that was GPG signed long time ago ought to
* A signature on a commit that was GPG signed a long time ago ought to
be still valid after the key that was used to sign it has expired,
but we showed them in alarming red.

Expand Down Expand Up @@ -88,7 +88,7 @@ UI, Workflows & Features
* "git repo structure" command learns to report maximum values on
various aspects of objects it inspects.

* "git rebase" learns "--trailer" command to drive the
* "git rebase" learns "--trailer" option to drive the
interpret-trailers machinery.

* "git fast-import" learned to optionally replace signature on
Expand Down Expand Up @@ -119,7 +119,7 @@ UI, Workflows & Features
* "git replay" (experimental) learns, in addition to "pick" and
"replay", a new operating mode "revert".

* git replay now supports replaying down to the root commit.
* "git replay" now supports replaying down to the root commit.

* Handling of signed commits and tags in fast-import has been made more
configurable.
Expand Down Expand Up @@ -207,7 +207,7 @@ Performance, Internal Implementation, Development Support etc.
from getting added.

* The core.attributesfile is intended to be set per repository, but
were kept track of by a single global variable in-core, which has
was kept track of by a single global variable in-core, which has
been corrected by moving it to per-repository data structure.

* Use the hook API to replace ad-hoc invocation of hook scripts via
Expand All @@ -232,8 +232,8 @@ Performance, Internal Implementation, Development Support etc.
* Reduce dependence on the global the_hash_algo and the_repository
variables of wt-status code path.

* The way combined list-object filter options are parsed has been
revamped.
* The way combined list-object filter options are parsed has been
revamped.

* Editorconfig filename patterns were specified incorrectly, making
many source files inside subdirectories unaffected, which has been
Expand Down Expand Up @@ -272,7 +272,7 @@ Performance, Internal Implementation, Development Support etc.
* split-index.c has been updated to not use the global the_repository
and the_hash_algo variables.

* The unsigned integer that is used as an bitset to specify the kind
* The unsigned integer that is used as a bitset to specify the kind
of branches interpret_branch_name() function has been changed to
use a dedicated enum type.

Expand All @@ -282,7 +282,7 @@ Performance, Internal Implementation, Development Support etc.
* Code paths that loop over another array to push each element into a
strvec have been rewritten to use strvec_pushv() instead.

* In case homebrew breaks REG_ENHANCED again, leave a in-code comment
* In case homebrew breaks REG_ENHANCED again, leave an in-code comment
to suggest use of our replacement regex as a workaround.

* MinGW build updates.
Expand Down Expand Up @@ -382,7 +382,7 @@ Fixes since v2.53
(merge f4eff7116d ps/pack-concat-wo-backfill later to maint).

* "git switch <name>", in an attempt to create a local branch <name>
after a remote tracking branch of the same name gave an advise
after a remote tracking branch of the same name gave an advice
message to disambiguate using "git checkout", which has been
updated to use "git switch".
(merge 12fee11f21 jc/checkout-switch-restore later to maint).
Expand All @@ -396,7 +396,7 @@ Fixes since v2.53
* "git format-patch --from=<me>" did not honor the command line
option when writing out the cover letter, which has been corrected.

* Update build precedure for mergetool documentation in meson-based builds.
* Update build procedure for mergetool documentation in meson-based builds.
(merge 58e4eeeeb5 pw/meson-doc-mergetool later to maint).

* An earlier attempt to optimize "git subtree" discarded too much
Expand Down
2 changes: 1 addition & 1 deletion Documentation/config/pack.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ pack.usePathWalk::

pack.preferBitmapTips::
Specifies a ref hierarchy (e.g., "refs/heads/"); can be
given multiple times to specify more than one hierarchies.
given multiple times to specify more than one hierarchy.
When selecting which commits will receive bitmaps, prefer a
commit at the tip of a reference that is contained in any of
the configured hierarchies.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/config/sendemail.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ sendemail.smtpSSLClientCert::
sendemail.smtpSSLClientKey::
Path to the client private key file that corresponds to the client
certificate. To avoid misconfiguration, this configuration must be used
in conjunction with `sendemail.smtpSSLClientKey` or the
in conjunction with `sendemail.smtpSSLClientCert` or the
`--smtp-ssl-client-cert` option. If the client key is included in the
client certificate, the choice of private key depends on the format of
the certificate. Visit https://metacpan.org/pod/IO::Socket::SSL for more
Expand Down
2 changes: 1 addition & 1 deletion Documentation/config/submodule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ submodule.<name>.ignore::
takes only differences between the HEAD of the submodule and the commit
recorded in the superproject into account. "untracked" will additionally
let submodules with modified tracked files in their work tree show up.
When set to "none"(default) It also show submodules as changed if they have
When set to "none" (default) it also shows submodules as changed if they have
untracked files in their work tree.
This setting overrides any setting made in .gitmodules for this submodule,
both settings can be overridden on the command line by using the
Expand Down
3 changes: 3 additions & 0 deletions Documentation/git-multi-pack-index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ compact::
--[no-]bitmap::
Control whether or not a multi-pack bitmap is written.
--
+
Note that the compact command requires writing a version-2 midx that
cannot be read by versions of Git prior to v2.54.

verify::
Verify the contents of the MIDX file.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-rerere.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ will automatically invoke this command.
'forget' <pathspec>::

Reset the conflict resolutions which rerere has recorded for the current
conflict in paths that match <pathspec>.
conflicts in paths that match <pathspec>.

'diff'::

Expand Down
8 changes: 4 additions & 4 deletions Documentation/gitmodules.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ submodule.<name>.ignore::
--
all;; The submodule will never be considered modified (but will
nonetheless show up in the output of status and commit when it has
been staged). Add `(new commits)` can be overruled using the
`git add --force <submodule.path>`.
The setting affects `status`, `update-index`, `diff` and `log`(due
to underlaying `diff`).
been staged). Adding a submodule with `(new commits)` can be
overridden using `git add --force <submodule.path>`.
This setting affects `status`, `update-index`, `diff` and `log`
(due to underlying `diff`).

dirty;; All changes to the submodule's work tree will be ignored, only
committed differences between the `HEAD` of the submodule and its
Expand Down
2 changes: 1 addition & 1 deletion GIT-VERSION-GEN
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

DEF_VER=v2.54.0-rc2
DEF_VER=v2.54.0

LF='
'
Expand Down
4 changes: 3 additions & 1 deletion midx-write.c
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,6 @@ static int write_midx_internal(struct write_midx_opts *opts)
struct tempfile *incr;
struct write_midx_context ctx = {
.preferred_pack_idx = NO_PREFERRED_PACK,
.version = MIDX_VERSION_V2,
};
struct multi_pack_index *midx_to_free = NULL;
int bitmapped_packs_concat_len = 0;
Expand All @@ -1275,6 +1274,9 @@ static int write_midx_internal(struct write_midx_opts *opts)
ctx.repo = r;
ctx.source = opts->source;

ctx.version = ((opts->flags & MIDX_WRITE_COMPACT)
? MIDX_VERSION_V2
: MIDX_VERSION_V1);
repo_config_get_int(ctx.repo, "midx.version", &ctx.version);
if (ctx.version != MIDX_VERSION_V1 && ctx.version != MIDX_VERSION_V2)
die(_("unknown MIDX version: %d"), ctx.version);
Expand Down
35 changes: 35 additions & 0 deletions po/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Git Attributes for PO Files
#
# This file configures Git filters to automatically strip location information
# from PO files when committing, producing cleaner diffs and saving repository
# space.
#
# Two filter types are used:
# 1. gettext-no-location: Strips both filenames and line numbers
# (e.g., removes "#: main.c:123" entirely)
# 2. gettext-no-line-number: Preserves filenames but removes line numbers, which
# requires gettext 0.20 or higher
# (e.g., "#: main.c:123" becomes "#: main.c")
#
# See `po/README.md` for instructions on setting up the required filter drivers.

# Default: Strip the whole location comments for all .po files
*.po filter=gettext-no-location

# Legacy, unmaintained PO files: filter disabled to avoid index vs
# working-tree mismatch (these files still have location comments).
el.po -filter
is.po -filter
it.po -filter
ko.po -filter
pl.po -filter
pt_PT.po -filter

# These files use gettext-no-line-number (keep filenames, strip line
# numbers). The choice is per l10n team preference. Requires gettext 0.20+.
# The only benefit is locating source files from location comments when
# the .po file is not updated from the POT via make po-update.
ca.po filter=gettext-no-line-number
id.po filter=gettext-no-line-number
zh_CN.po filter=gettext-no-line-number
zh_TW.po filter=gettext-no-line-number
Loading
Loading