Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
375 commits
Select commit Hold shift + click to select a range
6656931
win32: use native ANSI sequence processing, if possible
dscho Nov 22, 2023
67ecfcf
common-main.c: fflush stdout buffer upon exit
chengzhuo5 Apr 8, 2024
eeac35b
t5601/t7406(mingw): do run tests with symlink support
dscho Apr 9, 2024
ff08a3c
Fallback to AppData if XDG_CONFIG_HOME is unset
ariellourenco Jul 2, 2024
7d5245b
run-command: be helpful with Git LFS fails on Windows 7
dscho Jul 4, 2024
d5ce477
revision: create mark_trees_uninteresting_dense()
derrickstolee Sep 6, 2024
4df70a4
survey: stub in new experimental 'git-survey' command
Apr 29, 2024
f5aa03a
survey: add command line opts to select references
Apr 29, 2024
35ecab6
survey: start pretty printing data in table form
derrickstolee Sep 1, 2024
098aeda
survey: add object count summary
derrickstolee Sep 2, 2024
d2d7657
survey: summarize total sizes by object type
derrickstolee Sep 2, 2024
9929c61
survey: show progress during object walk
derrickstolee Sep 2, 2024
cd19a00
survey: add ability to track prioritized lists
derrickstolee Sep 2, 2024
6be9db7
survey: add report of "largest" paths
derrickstolee Sep 2, 2024
e69d05f
survey: add --top=<N> option and config
derrickstolee Sep 23, 2024
66e1be9
mingw: make sure `errno` is set correctly when socket operations fail
dscho Nov 14, 2019
8ea36b6
survey: clearly note the experimental nature in the output
dscho Jul 1, 2024
f801035
compat/mingw: handle WSA errors in strerror
rimrul Dec 22, 2024
fa66c2a
t5563: verify that NTLM authentication works
dscho Nov 26, 2025
b9111c1
compat/mingw: drop outdated comment
rimrul Dec 22, 2024
4ca4b4c
http: disallow NTLM authentication by default
dscho Nov 26, 2025
95af445
t0301: actually test credential-cache on Windows
rimrul Dec 29, 2024
03398c0
http: warn if might have failed because of NTLM
dscho Nov 26, 2025
8215d0d
credential-cache: handle ECONNREFUSED gracefully
rimrul Dec 22, 2024
2f66493
reftable: do make sure to use custom allocators
dscho Mar 6, 2025
8cf83e2
check-whitespace: avoid alerts about upstream commits
dscho Jun 3, 2025
d02d96a
t/t5571-prep-push-hook.sh: Add test with writing to stderr
t-b Jan 26, 2026
51703f5
credential: advertise NTLM suppression and allow helpers to re-enable
dscho Feb 9, 2026
4729347
mingw: Support `git_terminal_prompt` with more terminals
kblees Mar 19, 2015
e38ec6f
compat/terminal.c: only use the Windows console if bash 'read -r' fails
kblees May 9, 2015
80eee1e
dir: do not traverse mount points
maks244 Mar 30, 2026
e36e8b3
win32: thread-utils: handle multi-socket systems
rimrul Feb 21, 2026
daa7cb8
t5563: add tests for http.emptyAuth with Negotiate
mjcheetham Apr 13, 2026
696cadb
entry: flush fscache after creating directories and writing files
tyrielv May 18, 2026
2425a00
ci(macos): skip the `git p4` tests
dscho Nov 13, 2025
201144e
mingw (git_terminal_prompt): do fall back to CONIN$/CONOUT$ method
dscho Feb 23, 2018
6f26c2e
mingw: introduce code to detect whether we're inside a Windows container
zcube Apr 23, 2018
edef24d
Win32: symlink: move phantom symlink creation to a separate function
piscisaureus Oct 26, 2018
1d0d2da
mingw: when running in a Windows container, try to rename() harder
zcube Apr 23, 2018
7742d6e
Introduce helper to create symlinks that knows about index_state
dscho Feb 11, 2019
6efb3e0
mingw: move the file_attr_to_st_mode() function definition
zcube Apr 23, 2018
3b0859e
mingw: allow to specify the symlink type in .gitattributes
piscisaureus Oct 26, 2018
9c7424b
clean: do not traverse mount points
dscho Dec 7, 2018
0aec489
mingw: Windows Docker volumes are *not* symbolic links
dscho Apr 23, 2018
a373517
mingw: work around rename() failing on a read-only file
dsl101 Jul 28, 2023
00cc072
Win32: symlink: add test for `symlink` attribute
piscisaureus Oct 26, 2018
ad46370
clean: remove mount points when possible
dscho Dec 11, 2018
08aa7f0
diff-delta: widen struct delta_index size fields to size_t
dscho Jun 5, 2026
f547327
delta: widen create_delta_index() parameter to size_t
dscho Jun 5, 2026
f9115fb
pack-objects: widen delta-cache accounting to size_t
dscho Jun 5, 2026
e3eeda3
pack-objects: widen free_unpacked() return to size_t
dscho Jun 5, 2026
d6a088d
pack-objects: widen mem_usage and try_delta out-param to size_t
dscho Jun 5, 2026
d0c0268
delta: widen create_delta() and diff_delta() to size_t
dscho Jun 5, 2026
b314d6d
mingw: optionally enable wsl compability file mode bits
swigger Jun 7, 2023
f9b8367
Refuse to follow invalid paths in `.git` files
csware May 28, 2026
a3d106d
packfile, git-zlib: widen use_pack() and zstream avail fields to size_t
dscho Jun 5, 2026
877b9f1
diff: stop truncating the deflated-binary-diff size on Windows
dscho Jun 5, 2026
f7abcba
archive-zip: widen zlib_deflate_raw()'s maxsize local to size_t
dscho Jun 5, 2026
b0ab6b3
convert: widen gather_convert_stats() helpers to size_t
dscho Jun 5, 2026
b114b4c
diff: widen deflate_it()'s bound local from int to size_t
dscho Jun 5, 2026
c809997
read-cache: stop truncating index blob sizes on Windows
dscho Jun 5, 2026
b191f55
http-push: widen start_put()'s size local from ssize_t to size_t
dscho Jun 5, 2026
d7b636e
xdiff-interface: widen buffer_is_binary() size parameter to size_t
dscho Jun 5, 2026
214e5aa
t/helper/test-pack-deltas: widen do_compress()'s maxsize local to size_t
dscho Jun 5, 2026
1d1c735
combine-diff: stop truncating combined-diff blob sizes on Windows
dscho Jun 5, 2026
574d35e
git-zlib: widen git_deflate_bound() to size_t
dscho Jun 5, 2026
8588db3
pack-bitmap: stop truncating blob sizes used by --filter=blob:limit
dscho Jun 5, 2026
83f79b2
tree-walk: drop link_len cast in get_tree_entry_follow_symlinks()
dscho Jun 5, 2026
4887591
tree-walk: widen init_tree_desc() and init_tree_desc_gently() to size_t
dscho Jun 5, 2026
b9a3a29
diff: widen textconv_object() size out-param to size_t
dscho Jun 5, 2026
7c52478
pack-objects: drop the two tree-walk casts in the preferred-base path
dscho Jun 5, 2026
3fbab76
diffcore: widen struct diff_filespec.size to size_t
dscho Jun 5, 2026
23707af
diff-delta: widen sizeof_delta_index() return to size_t
dscho Jun 5, 2026
b0482ec
tree: widen struct tree.size and parse_tree_buffer() to size_t
dscho Jun 5, 2026
1a8ee4a
commit: widen the commit-buffer API to size_t
dscho Jun 5, 2026
ae5ac8f
blame: widen find_line_starts() len parameter to size_t
dscho Jun 5, 2026
7b85e2a
Merge branch 'size-t/pack-objects-delta'
dscho Jun 7, 2026
38e4d60
grep: widen struct grep_source.size and grep_buffer() to size_t
dscho Jun 5, 2026
663a6fb
fast-export: drop the export_blob() size cast and widen anonymize_blob()
dscho Jun 5, 2026
f91302c
repo: drop the inflated-size cast in count_objects()
dscho Jun 5, 2026
b0512d0
unpack-objects: widen the size-passing infrastructure to size_t
dscho Jun 5, 2026
ed85efb
Merge branch 'size-t/pack-bitmap'
dscho Jun 7, 2026
d921759
Merge branch 'size-t/diff'
dscho Jun 7, 2026
c1aede9
Merge branch 'size-t/diff-delta-sizeof'
dscho Jun 7, 2026
28dfd2a
Merge branch 'size-t/tree'
dscho Jun 7, 2026
03d577d
Merge branch 'size-t/commit'
dscho Jun 7, 2026
c561694
Merge branch 'size-t/blame'
dscho Jun 7, 2026
1c60a2f
Merge branch 'size-t/grep'
dscho Jun 7, 2026
ee017b4
Merge branch 'size-t/fast-export'
dscho Jun 7, 2026
f2e449f
Merge branch 'topic/size-t' into size-t-followups
dscho Jun 22, 2026
6056739
Merge branch 'size-t/repo'
dscho Jun 7, 2026
b2c4636
pack-objects: drop cast_size_t_to_ulong shims in get_delta()
dscho Jun 5, 2026
f7b285a
Merge branch 'size-t/unpack-objects'
dscho Jun 7, 2026
a79a242
pack-objects: drop cast_size_t_to_ulong shims in try_delta()
dscho Jun 5, 2026
2299301
pack-objects: drop the last size shim in write_no_reuse_object()
dscho Jun 5, 2026
9550ed9
blame: widen struct blame_scoreboard.final_buf_size to size_t
dscho Jun 5, 2026
5eced98
fast-import: drop the six size casts in the object-read paths
dscho Jun 5, 2026
c0930a7
t/helper/test-pack-deltas: drop the delta_size cast in write_ref_delta()
dscho Jun 5, 2026
cbebf58
Drop the `cast_size_t_to_ulong()` helper
dscho Jun 22, 2026
e99f8a9
Merge branch 'topic/size-t' (size_t evacuation, upstream-bound)
dscho Jun 7, 2026
0cece02
Merge branch 'bump-ci-actions/checkout-from-6-to-7'
dscho Jun 23, 2026
fb837c2
Merge branch 'topic/size-t-followups' (size_t followups depending on …
dscho Jun 7, 2026
9948570
coverity: skip building with Rust, for now
dscho Jun 23, 2026
85bdb59
Merge 'remote-hg-prerequisites' into HEAD
dscho Jun 8, 2018
2d96b40
Merge branch 'drive-prefix'
dscho Jun 8, 2018
c449af9
Merge branch 'msys2-python'
dscho May 31, 2019
930e4f3
Merge pull request #2375 from assarbad/reintroduce-sideband-config
dscho Oct 30, 2019
70699c3
Merge pull request #2488 from bmueller84/master
dscho Jan 22, 2020
b9aa871
Merge pull request #2501 from jeffhostetler/clink-debug-curl
dscho Jan 30, 2020
eaba944
Merge pull request #2504 from dscho/access-repo-via-junction
dscho Feb 1, 2020
27ca60e
Merge pull request #2535 from dscho/schannel-revoke-best-effort
dscho Mar 4, 2020
5f1033b
Merge pull request #2618 from dscho/avoid-d/f-conflict-in-vs/master
dscho May 9, 2020
6e91c63
Merge 'add-p-many-files'
dscho Jun 8, 2018
0dd92e2
Merge pull request #2714 from lbonanomi/crlf-scissors
dscho Jul 3, 2020
e367ca1
Merge pull request #2655 from jglathe/jg/t0014_trace_extra_info
dscho Oct 9, 2020
ff09d20
Merge 'git-gui/js/intent-to-add'
dscho Oct 18, 2020
de0a15f
Merge pull request #2351 from PhilipOakley/vcpkg-tip
dscho Oct 7, 2019
368b5c1
Merge pull request #2915 from dennisameling/windows-arm64-support
dscho Dec 9, 2020
125c8a0
Merge pull request #3327 from dennisameling/fix-host-cpu
dscho Jul 19, 2021
fa5d510
Merge pull request #3165 from dscho/increase-allowed-length-of-interp…
dscho Apr 3, 2021
73d6b2d
Merge pull request #3220 from dscho/there-is-no-vs/master-anymore
dscho May 17, 2021
f645380
Merge pull request #3293 from pascalmuller/http-support-automatically…
dscho Jun 24, 2021
ff7b1f8
Merge pull request #3349 from vdye/feature/ci-subtree-tests
dscho Aug 10, 2021
5a2fc9e
Merge pull request #3306 from PhilipOakley/vs-sln
dscho Oct 12, 2021
43ffa16
Merge pull request #3533 from PhilipOakley/hashliteral_t
dscho Dec 15, 2021
06815b7
Merge pull request #3791: Various fixes around `safe.directory`
derrickstolee Apr 13, 2022
b65f0ad
Merge pull request #3751 from rkitover/native-term
dscho Apr 21, 2022
47c7fd8
Merge pull request #3875 from 1480c1/wine/detect_msys_tty
dscho May 30, 2022
70f9270
Merge branch 'optionally-dont-append-atomically-on-windows'
dscho Jun 23, 2022
8e92f2a
Merge branch 'fsync-object-files-always'
dscho Oct 11, 2018
23b05e1
Merge pull request #3942 from rimrul/mingw-tsaware
dscho Jul 27, 2022
4b8b59e
Fix Windows version resources (#4092)
dscho Nov 3, 2022
5f7b555
Fix global repository field not being cleared (#4083)
dscho Dec 20, 2022
260447e
Skip linking the "dashed" `git-<command>`s for built-ins (#4252)
dscho Jan 31, 2023
05337ac
Add full `mingw-w64-git` (i.e. regular MSYS2 ecosystem) support (#5971)
dscho Nov 25, 2025
6c118a6
Merge pull request #2506 from dscho/issue-2283
dscho Feb 11, 2020
8a7e89d
Merge pull request #2974 from derrickstolee/maintenance-and-headless
dscho Jan 11, 2021
0dc754a
ARM64: Embed manifest properly (#4718)
dscho Dec 7, 2023
3dad219
Lazy load libcurl, allowing for an SSL/TLS backend-specific libcurl (…
dscho May 15, 2023
9cf037e
Merge branch 'nano-server'
dscho Aug 7, 2023
e626ced
Additional error checks for issuing the windows.appendAtomically warn…
dscho Aug 7, 2023
54ea07a
win32: use native ANSI sequence processing, if possible (#4700)
dscho Dec 2, 2023
300b168
common-main.c: fflush stdout buffer when exit (#4901)
dscho Apr 12, 2024
4e36e5c
Merge branch 'run-t5601-and-t7406-with-symlinks-on-windows-10'
dscho Jul 12, 2024
a566c47
Merge branch 'Fallback-to-AppData-if-XDG-CONFIG-HOME-is-unset'
dscho Jul 12, 2024
411acb1
Merge branch 'run-command-be-helpful-when-Git-LFS-fails-on-Windows-7'
dscho Jul 12, 2024
245d62a
Add path walk API and its use in 'git pack-objects' (#5171)
derrickstolee Sep 25, 2024
f7a4245
Add experimental 'git survey' builtin (#5174)
dscho Sep 26, 2024
9823649
credential-cache: handle ECONNREFUSED gracefully (#5329)
dscho Jan 1, 2025
2bfdc6d
Merge branch 'reftable-vs-custom-allocators'
dscho Jun 2, 2025
0589f3a
Merge branch 'check-whitespace-only-downstream'
dscho Jun 3, 2025
a0f56e9
t/t5571-prep-push-hook.sh: Add test with writing to stderr (#6063)
dscho Jan 27, 2026
b7ce571
Merge branch 'disallow-ntlm-auth-by-default'
dscho Feb 12, 2026
879b9ad
Don't traverse mount points in `remove_dir_recurse()` (#6151)
dscho Mar 31, 2026
211e55e
Detect number of cores better on multi-socket systems (#6108)
dscho Apr 6, 2026
35fdf96
http: fix emptyAuth=auto for Negotiate/SPNEGO (#6170)
dscho Apr 14, 2026
63d28e2
entry: flush fscache after creating directories and writing files (#6…
dscho Jun 8, 2026
1ae110c
ci(macos): skip the `git p4` tests (#5954)
dscho Nov 14, 2025
a32fc91
Merge branch 'msys2'
dscho Nov 15, 2018
8170097
Merge 'docker-volumes-are-no-symlinks'
dscho Oct 12, 2018
46c96cd
mingw: try resetting the read-only bit if rename fails (#4527)
dscho Aug 7, 2023
78b1518
Merge pull request #1897 from piscisaureus/symlink-attr
dscho Oct 31, 2018
ba4def7
Merge branch 'dont-clean-junctions'
dscho Jul 30, 2019
83ff9b2
Merge branch 'wsl-file-mode-bits'
dscho Aug 7, 2023
ae992ea
Merge branch 'validate-dotgit'
dscho Jun 23, 2026
a9a851b
Continue improving support for 4GB+ packs/clones/objects (#6289)
dscho Jun 23, 2026
cffbf5e
Merge branch 'skip-rust-in-the-coverity-builds'
dscho Jun 23, 2026
1205b2f
Merge branch 'ready-for-upstream'
dscho Oct 11, 2018
5295125
Win32: make FILETIME conversion functions public
kblees Jul 6, 2013
1fbc575
Win32: dirent.c: Move opendir down
kblees Sep 8, 2013
e47f876
mingw: make the dirent implementation pluggable
kblees Sep 8, 2013
789cce3
Win32: make the lstat implementation pluggable
kblees Sep 8, 2013
828fba0
mingw: add infrastructure for read-only file system level caches
kblees Sep 8, 2013
f721b71
mingw: add a cache below mingw's lstat and dirent implementations
kblees Oct 1, 2013
76033a2
fscache: load directories only once
kblees Jun 24, 2014
57f1941
fscache: add key for GIT_TRACE_FSCACHE
jeffhostetler Jan 24, 2017
34867a3
git-gui--askyesno: fix funny text wrapping
dscho Sep 20, 2017
dae9786
fscache: remember not-found directories
jeffhostetler Dec 13, 2016
97841aa
git-gui--askyesno (mingw): use Git for Windows' icon, if available
dscho Sep 20, 2017
3f6cb81
fscache: add a test for the dir-not-found optimization
dscho Jan 25, 2017
a2acda4
add: use preload-index and fscache for performance
jeffhostetler Nov 22, 2016
60a91f2
dir.c: make add_excludes aware of fscache during status
jeffhostetler Nov 1, 2017
781696d
fscache: make fscache_enabled() public
jeffhostetler Dec 20, 2017
a9cb81e
dir.c: regression fix for add_excludes with fscache
jeffhostetler Dec 20, 2017
d967a00
fetch-pack.c: enable fscache for stats under .git/objects
Nov 22, 2017
7cd9b48
checkout.c: enable fscache for checkout again
Jan 30, 2018
045ecbb
Enable the filesystem cache (fscache) in refresh_index().
benpeart Sep 7, 2018
633549a
fscache: use FindFirstFileExW to avoid retrieving the short name
benpeart Oct 23, 2018
ffc2bcb
fscache: add GIT_TEST_FSCACHE support
benpeart Oct 4, 2018
930225d
fscache: add fscache hit statistics
benpeart Sep 25, 2018
bf04a41
unpack-trees: enable fscache for sparse-checkout
derrickstolee Jun 12, 2019
e3fc287
status: disable and free fscache at the end of the status command
benpeart Nov 1, 2018
cb4b2b6
mem_pool: add GIT_TRACE_MEMPOOL support
benpeart Oct 4, 2018
33c9b66
fscache: fscache takes an initial size
benpeart Nov 2, 2018
2c8b97f
fscache: update fscache to be thread specific instead of global
benpeart Oct 4, 2018
5164e8b
fscache: remember the reparse tag for each entry
dscho Dec 11, 2018
7591efa
fscache: teach fscache to use mempool
benpeart Nov 2, 2018
292e0c1
fscache: Windows Docker volumes are *not* symbolic links
dscho Apr 23, 2018
3eda567
fscache: make fscache_enable() thread safe
benpeart Nov 16, 2018
98f89db
fscache: optionally enable wsl compability file mode bits
swigger Jun 7, 2023
dfbce1b
fscache: teach fscache to use NtQueryDirectoryFile
benpeart Nov 15, 2018
2c42f63
fscache: implement an FSCache-aware is_mount_point()
dscho Dec 11, 2018
84a1034
Merge branch 'fscache'
dscho Nov 15, 2018
e9e642f
clean: make use of FSCache
dscho Dec 11, 2018
6747cbd
Merge pull request #1909 from benpeart/free-fscache-after-status-gfw
dscho Nov 5, 2018
95eacb8
Merge remote-tracking branch 'benpeart/fscache-per-thread-gfw'
dscho Nov 16, 2018
724f472
Merge branch 'dont-clean-junctions-fscache'
dscho Jul 23, 2019
84a8e06
pack-objects (mingw): demonstrate a segmentation fault with large deltas
vangdfang Jan 9, 2014
9b7881d
mingw: support long paths
kblees Jul 28, 2015
277c715
mingw: explicitly specify with which cmd to prefix the cmdline
dscho Jul 20, 2017
dd28789
mingw: when path_lookup() failed, try BusyBox
dscho Jul 20, 2017
5fbb8d2
test-tool: learn to act as a drop-in replacement for `iconv`
dscho Jul 20, 2017
c9f34f8
tests(mingw): if `iconv` is unavailable, use `test-helper --iconv`
dscho Jul 20, 2017
7cd1dff
gitattributes: mark .png files as binary
dscho Oct 11, 2018
acd19f6
win32(long path support): leave drive-less absolute paths intact
dscho Sep 6, 2023
d48d198
tests: move test PNGs into t/lib-diff/
dscho Aug 5, 2017
3830de6
compat/fsmonitor/fsm-*-win32: support long paths
jeffhostetler Mar 25, 2022
044182f
tests: only override sort & find if there are usable ones in /usr/bin/
dscho Jul 17, 2017
73ae0c9
clean: suggest using `core.longPaths` if paths are too long to remove
mathstuf Apr 22, 2022
2c48841
tests: use the correct path separator with BusyBox
dscho Nov 19, 2018
0fd4359
mingw: only use Bash-ism `builtin pwd -W` when available
dscho Jun 29, 2017
67df04a
tests (mingw): remove Bash-specific pwd option
dscho Jun 30, 2017
af4f1d4
test-lib: add BUSYBOX prerequisite
dscho Jul 19, 2017
d586260
t5003: use binary file from t/lib-diff/
dscho Aug 5, 2017
39ea2c0
t5532: workaround for BusyBox on Windows
dscho Jul 21, 2017
95bb69c
t5605: special-case hardlink test for BusyBox-w32
dscho Jul 21, 2017
53cbcfc
t5813: allow for $PWD to be a Windows path
dscho Jul 5, 2017
a6aa3c8
t9200: skip tests when $PWD contains a colon
dscho Jul 7, 2017
c831b76
Partially un-revert "editor: save and reset terminal after calling ED…
dscho Nov 25, 2021
369e489
reset: reinstate support for the deprecated --stdin option
dscho Dec 10, 2019
efc4344
Describe Git for Windows' architecture
dscho Feb 13, 2023
0e7582c
Add an AGENTS.md file to help with AI-assisted debugging/development
dscho Jan 26, 2026
790003f
Modify the Code of Conduct for Git for Windows
dscho Oct 11, 2019
9511b9f
CONTRIBUTING.md: add guide for first-time contributors
derrickstolee Mar 1, 2018
ab988e9
README.md: Add a Windows-specific preamble
dscho Jan 10, 2014
bdbc5a5
Add a GitHub workflow to monitor component updates
dscho Sep 29, 2020
3913a2a
Add an issue template
shiftkey Feb 18, 2016
2d5aad5
fsmonitor: reintroduce core.useBuiltinFSMonitor
vdye Apr 4, 2022
463c323
dependabot: help keeping GitHub Actions versions up to date
dscho Feb 6, 2024
e47c424
Modify the GitHub Pull Request template (to reflect Git for Windows)
Dec 22, 2017
bf2f042
SECURITY.md: document Git for Windows' policies
dscho Aug 23, 2019
5bbbb0d
Merge branch 'gitk-and-git-gui-patches'
dscho Oct 11, 2018
a0840aa
ci: only run the expensive tests in the Windows tests for now
dscho Jun 12, 2026
af82121
Merge branch 'long-paths'
dscho Nov 15, 2018
d13eced
Merge branch 'busybox-w32'
dscho Feb 7, 2019
48d7dfc
Merge branch 'un-revert-editor-save-and-reset'
dscho Jan 15, 2022
5d7784b
Merge branch 'phase-out-reset-stdin'
dscho Jun 8, 2018
dd65b6d
Merge branch 'deprecate-core.useBuiltinFSMonitor'
dscho Jan 24, 2023
c05a5e8
Merge pull request #2837 from dscho/monitor-component-updates
dscho Oct 7, 2020
bf5afde
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
4 changes: 3 additions & 1 deletion Documentation/RelNotes/2.55.0.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ UI, Workflows & Features
subcommand "git url-parse".

* Misspelt proxy URL (e.g., httt://...) did not trigger any warning
or failure, which has been corrected.
or failure, which has been corrected. We had a regression in this
update that broke https:// proxies, but that has been caught and
corrected.

* Document the fact that .git/info/exclude is shared across worktrees
linked to the same repository.
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.55.0-rc2
DEF_VER=v2.55.0

LF='
'
Expand Down
2 changes: 2 additions & 0 deletions http.c
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,8 @@ static int set_curl_proxy_type(CURL *result, const char *protocol)
if (has_proxy_cert_password())
curl_easy_setopt(result, CURLOPT_PROXY_KEYPASSWD,
proxy_cert_auth.password);

return 0;
}

return -1;
Expand Down
51 changes: 50 additions & 1 deletion po/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,52 @@ etc.), and quotes exactly as in `msgid`. Only reorder placeholders with
positional syntax when needed (see Placeholder Reordering below).


### Preserving Quotation Marks

Some languages use language-specific UTF-8 quotation marks (curly/smart
quotes) rather than ASCII straight quotes. **Always preserve these
characters exactly as they appear in the source.** Do **not** convert them
to ASCII straight quotes.

**Protected quotation marks** (non-exhaustive list):

| Character | Unicode | Name | Languages |
|-----------|---------|------|-----------|
| „ | U+201E | DOUBLE LOW-9 QUOTATION MARK | Bulgarian, German, etc. |
| " | U+201C | LEFT DOUBLE QUOTATION MARK | Bulgarian, etc. |
| " | U+201D | RIGHT DOUBLE QUOTATION MARK | English, German, etc. |
| ' | U+2018 | LEFT SINGLE QUOTATION MARK | English, etc. |
| ' | U+2019 | RIGHT SINGLE QUOTATION MARK | English, etc. |
| « | U+00AB | LEFT-POINTING DOUBLE ANGLE QUOTATION MARK | French, Russian, etc. |
| » | U+00BB | RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK | French, Russian, etc. |
| ‹ | U+2039 | SINGLE LEFT-POINTING ANGLE QUOTATION MARK | French, etc. |
| › | U+203A | SINGLE RIGHT-POINTING ANGLE QUOTATION MARK | French, etc. |

**Why this matters in PO files**: In PO file format, the ASCII straight
double quote `"` (U+0022) is the **string delimiter**. If a translation
contains a curly quote that is incorrectly converted to `"` (U+0022),
the PO parser will interpret it as the end of the string, causing:

1. **String truncation**: The `msgstr` value is cut short at the
spurious quote character.
2. **Syntax errors**: `msgfmt --check` fails with parse errors at
the line where the string was prematurely terminated.
3. **Data loss**: Content after the accidental quote delimiter is
misinterpreted or lost.

**Rules**:

- **Never** replace language-specific quotation marks with ASCII
straight quotes `"` (U+0022) or `'` (U+0027).
- Apply this rule when translating PO files, PO multi-line strings,
and GETTEXT JSON `msgstr` array values.
- Apply this rule when generating suggested translations
(`suggest_msgstr`) during review.
- If the source `msgid` uses ASCII straight quotes, preserve them
as-is in the translation unless the target language convention
requires different quotation marks.


### Placeholder Reordering

When reordering placeholders relative to `msgid`, use positional syntax (`%n$`)
Expand Down Expand Up @@ -387,7 +433,10 @@ read and write this format.
- **Placeholders**: Preserve variables (`%s`, `{name}`, `$1`) exactly; use
positional parameters when reordering (see "Placeholder Reordering" above).
- **Special characters**: Preserve escape sequences (`\n`, `\"`, `\\`, `\t`),
placeholders exactly as in `msgid`. See "Preserving Special Characters" above.
placeholders exactly as in `msgid`. Preserve language-specific quotation
marks (curly/smart quotes like „, ", ", ', ') — do not convert them to
ASCII straight quotes. See "Preserving Special Characters" and
"Preserving Quotation Marks" above.
- **Plurals and gender**: Correct forms and agreement.
- **Context fit**: Suitable for UI space, tone, and use (e.g. error vs. tooltip).
- **Cultural appropriateness**: No offensive or ambiguous content.
Expand Down
6 changes: 3 additions & 3 deletions po/TEAMS
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ Members: Trần Ngọc Quân <vnwildman AT gmail.com>
Nguyễn Thái Ngọc Duy <pclouds AT gmail.com>

Language: zh_CN (Simplified Chinese)
Repository: https://github.com/dyrone/git/
Leader: Teng Long <dyroneteng AT gmail.com>
Repository: https://github.com/lilydjwg/git-po
Leader: 依云 <lilydjwg AT gmail.com>
Members: Ray Chen <oldsharp AT gmail.com>
依云 <lilydjwg AT gmail.com>
Fangyi Zhou <me AT fangyi.io>
Jiang Xin <worldhello.net AT gmail.com>
Teng Long <dyroneteng AT gmail.com>

Language: zh_TW (Traditional Chinese)
Repository: https://github.com/l10n-tw/git-po
Expand Down
Loading
Loading