summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-19Git 2.44-rc2v2.44.0-rc2Junio C Hamano
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-02-19Merge branch 'la/trailer-cleanups'Junio C Hamano
Fix to an already-graduated topic. * la/trailer-cleanups: trailer: fix comment/cut-line regression with opts->no_divider
2024-02-19trailer: fix comment/cut-line regression with opts->no_dividerJeff King
Commit 97e9d0b78a (trailer: find the end of the log message, 2023-10-20) combined two code paths for finding the end of the log message. For the "no_divider" case, we used to use find_trailer_end(), and that has now been rolled into find_end_of_log_message(). But there's a regression; that function returns early when no_divider is set, returning the whole string. That's not how find_trailer_end() behaved. Although it did skip the "---" processing (which is what "no_divider" is meant to do), we should still respect ignored_log_message_bytes(), which covers things like comments, "commit -v" cut lines, and so on. The bug is actually in the interpret-trailers command, but the obvious way to experience it is by running "commit -v" with a "--trailer" option. The new trailer will be added at the end of the verbose diff, rather than before it (and consequently will be ignored entirely, since everything after the diff's intro scissors line is thrown away). I've added two tests here: one for interpret-trailers directly, which shows the bug via the parsing routines, and one for "commit -v". The fix itself is pretty simple: instead of returning early, no_divider just skips the "---" handling but still calls ignored_log_message_bytes(). Reported-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-02-19Merge tag 'l10n-2.44.0-rnd3' of https://github.com/git-l10n/git-poJunio C Hamano
l10n-2.44.0-rnd3 * tag 'l10n-2.44.0-rnd3' of https://github.com/git-l10n/git-po: l10n: zh_TW: Git 2.44 l10n: zh_CN: for git 2.44 rounds l10n: Update German translation l10n: tr: Update Turkish translations for 2.44 l10n: fr.po: v2.44.0 round 3 l10n: bg.po: Updated Bulgarian translation (5610t) l10n: sv.po: Update Swedish translation l10n: Update Catalan translation l10n: po-id for 2.44 (round 1) l10n: ci: disable cache for setup-go to suppress warnings l10n: ci: remove unused param for add-pr-comment@v2 l10n: uk: v2.44 update (round 3) l10n: uk: v2.44 update (round 2) l10n: uk: v2.44 localization update l10n: bump Actions versions in l10n.yml
2024-02-18l10n: zh_TW: Git 2.44Yi-Jyun Pan
Co-Authored-By: lumynou5 <lumynou5.tw@gmail.com> Signed-off-by: Yi-Jyun Pan <pan93412@gmail.com>
2024-02-18Merge branch 'master' of github.com:ralfth/gitJiang Xin
* 'master' of github.com:ralfth/git: l10n: Update German translation
2024-02-18Merge branch 'po-id' of github.com:bagasme/git-poJiang Xin
* 'po-id' of github.com:bagasme/git-po: l10n: po-id for 2.44 (round 1)
2024-02-18Merge branch '2.44-uk-update' of github.com:arkid15r/git-ukrainian-l10nJiang Xin
* '2.44-uk-update' of github.com:arkid15r/git-ukrainian-l10n: l10n: uk: v2.44 update (round 3) l10n: uk: v2.44 update (round 2) l10n: uk: v2.44 localization update
2024-02-18Merge branch 'master' of github.com:alshopov/git-poJiang Xin
* 'master' of github.com:alshopov/git-po: l10n: bg.po: Updated Bulgarian translation (5610t)
2024-02-18Merge branch 'tr-l10n' of github.com:bitigchi/git-poJiang Xin
* 'tr-l10n' of github.com:bitigchi/git-po: l10n: tr: Update Turkish translations for 2.44
2024-02-18Merge branch 'fr_2.44.0' of github.com:jnavila/gitJiang Xin
* 'fr_2.44.0' of github.com:jnavila/git: l10n: fr.po: v2.44.0 round 3
2024-02-18Merge branch 'catalan-l10n' of github.com:Softcatala/git-poJiang Xin
* 'catalan-l10n' of github.com:Softcatala/git-po: l10n: Update Catalan translation
2024-02-18Merge branch 'master' of github.com:nafmo/git-l10n-svJiang Xin
* 'master' of github.com:nafmo/git-l10n-sv: l10n: sv.po: Update Swedish translation
2024-02-18l10n: zh_CN: for git 2.44 roundsTeng Long
In addition to the localized translation in 2.44, for zh_CN, we have uniformly modified the translation of the word "commit-graph" to make it more consistent with language usage habits. Signed-off-by: Teng Long <dyroneteng@gmail.com>
2024-02-17RelNotes: minor typo fixes in 2.44.0 draftTodd Zullinger
Signed-off-by: Todd Zullinger <tmz@pobox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-02-17l10n: Update German translationRalf Thielow
Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
2024-02-16l10n: tr: Update Turkish translations for 2.44Emir SARI
Signed-off-by: Emir SARI <emir_sari@icloud.com>
2024-02-16l10n: fr.po: v2.44.0 round 3Jean-Noël Avila
Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
2024-02-16l10n: bg.po: Updated Bulgarian translation (5610t)Alexander Shopov
Signed-off-by: Alexander Shopov <ash@kambanaria.org>
2024-02-16l10n: sv.po: Update Swedish translationPeter Krefting
Signed-off-by: Peter Krefting <peter@softwolves.pp.se>
2024-02-16l10n: Update Catalan translationJordi Mas
Signed-off-by: Jordi Mas <jmas@softcatala.org>
2024-02-16l10n: po-id for 2.44 (round 1)Bagas Sanjaya
Update following components: * builtin/replay.c * command-list.h * commit-graph.c * pack-bitmap.c * sequencer.c Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
2024-02-16l10n: ci: disable cache for setup-go to suppress warningsJiang Xin
After we upgraded actions/setup-go to v5, the following warning message was reported every time we ran the CI. Restore cache failed: Dependencies file is not found ... Disable cache to suppress warning messages as described in the solution below. https://github.com/actions/setup-go/issues/427 Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2024-02-16l10n: ci: remove unused param for add-pr-comment@v2Jiang Xin
When we upgraded GitHub Actions "mshick/add-pr-comment" to v2, the following warning message was reported every time we ran the CI. Unexpected input(s) 'repo-token-user-login', valid inputs ... Removed the obsolete parameter "repo-token-user-login" to suppress warning messages. Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
2024-02-15l10n: uk: v2.44 update (round 3)Arkadii Yakovets
Signed-off-by: Arkadii Yakovets <ark@cho.red>
2024-02-15l10n: uk: v2.44 update (round 2)Arkadii Yakovets
Signed-off-by: Arkadii Yakovets <ark@cho.red>
2024-02-15l10n: uk: v2.44 localization updateArkadii Yakovets
Co-authored-by: Kate Golovanova <kate@kgthreads.com> Signed-off-by: Arkadii Yakovets <ark@cho.red> Signed-off-by: Kate Golovanova <kate@kgthreads.com>
2024-02-16Merge branch 'master' of github.com:git/gitJiang Xin
* 'master' of github.com:git/git: diff: mark param1 and param2 as placeholders
2024-02-15Merge branch 'jx/dirstat-parseopt-help'Junio C Hamano
The mark-up of diff options has been updated to help translators. * jx/dirstat-parseopt-help: diff: mark param1 and param2 as placeholders
2024-02-15Merge branch 'master' of github.com:git/gitJiang Xin
* 'master' of github.com:git/git: (51 commits) Hopefully the last batch of fixes before 2.44 final Git 2.43.2 A few more fixes before -rc1 write-or-die: fix the polarity of GIT_FLUSH environment variable A few more topics before -rc1 completion: add and use __git_compute_second_level_config_vars_for_section completion: add and use __git_compute_first_level_config_vars_for_section completion: complete 'submodule.*' config variables completion: add space after config variable names also in Bash 3 receive-pack: use find_commit_header() in check_nonce() ci(linux32): add a note about Actions that must not be updated ci: bump remaining outdated Actions versions unit-tests: do show relative file paths on non-Windows, too receive-pack: use find_commit_header() in check_cert_push_options() prune: mark rebase autostash and orig-head as reachable sequencer: unset GIT_CHERRY_PICK_HELP for 'exec' commands ref-filter.c: sort formatted dates by byte value ssh signing: signal an error with a negative return value bisect: document command line arguments for "bisect start" bisect: document "terms" subcommand more fully ...
2024-02-14Hopefully the last batch of fixes before 2.44 finalJunio C Hamano
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-02-14Merge branch 'pb/complete-config'Junio C Hamano
The command line completion script (in contrib/) learned to complete configuration variable names better. * pb/complete-config: completion: add and use __git_compute_second_level_config_vars_for_section completion: add and use __git_compute_first_level_config_vars_for_section completion: complete 'submodule.*' config variables completion: add space after config variable names also in Bash 3
2024-02-14Merge branch 'js/check-null-from-read-object-file'Junio C Hamano
The code paths that call repo_read_object_file() have been tightened to react to errors. * js/check-null-from-read-object-file: Always check the return value of `repo_read_object_file()`
2024-02-14Merge branch 'rs/receive-pack-remove-find-header'Junio C Hamano
Code simplification. * rs/receive-pack-remove-find-header: receive-pack: use find_commit_header() in check_nonce() receive-pack: use find_commit_header() in check_cert_push_options()
2024-02-14Merge branch 'vn/rebase-with-cherry-pick-authorship'Junio C Hamano
"git cherry-pick" invoked during "git rebase -i" session lost the authorship information, which has been corrected. * vn/rebase-with-cherry-pick-authorship: sequencer: unset GIT_CHERRY_PICK_HELP for 'exec' commands
2024-02-14Merge branch 'pw/gc-during-rebase'Junio C Hamano
The sequencer machinery does not use the ref API and instead records names of certain objects it needs for its correct operation in temporary files, which makes these objects susceptible to loss by garbage collection. These temporary files have been added as starting points for reachability analysis to fix this. * pw/gc-during-rebase: prune: mark rebase autostash and orig-head as reachable
2024-02-14diff: mark param1 and param2 as placeholdersJiang Xin
Some l10n translators translated the parameters "files", "param1" and "param2" in the following message: "synonym for --dirstat=files,param1,param2..." Translating "param1" and "param2" is OK, but changing the parameter "files" is wrong. The parameters that are not meant to be used verbatim should be marked as placeholders, but the verbatim parameter not marked as a placeholder should be left as is. This change is a complement for commit 51e846e673 (doc: enforce placeholders in documentation, 2023-12-25). With the help of Jean-Noël,some parameter combinations in one placeholder (e.g. "<param1,param2>...") are splited into seperate placeholders. Helped-by: Jean-Noël Avila <jn.avila@free.fr> Signed-off-by: Jiang Xin <worldhello.net@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-02-13Git 2.44-rc1v2.44.0-rc1Junio C Hamano
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-02-13Git 2.43.2v2.43.2Junio C Hamano
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-02-13Merge branch 'pb/template-for-single-commit-pr' into maint-2.43Junio C Hamano
Doc update. * pb/template-for-single-commit-pr: .github/PULL_REQUEST_TEMPLATE.md: add a note about single-commit PRs
2024-02-13Merge branch 'jc/bisect-doc' into maint-2.43Junio C Hamano
Doc update. * jc/bisect-doc: bisect: document command line arguments for "bisect start" bisect: document "terms" subcommand more fully
2024-02-13Merge branch 'js/win32-retry-pipe-write-on-enospc' into maint-2.43Junio C Hamano
Update to the code that writes to pipes on Windows. * js/win32-retry-pipe-write-on-enospc: win32: special-case `ENOSPC` when writing to a pipe
2024-02-13Merge branch 'tb/pack-bitmap-drop-unused-struct-member' into maint-2.43Junio C Hamano
Code clean-up. * tb/pack-bitmap-drop-unused-struct-member: pack-bitmap: drop unused `reuse_objects`
2024-02-13Merge branch 'jt/p4-spell-re-with-raw-string' into maint-2.43Junio C Hamano
"git p4" update to squelch warnings from Python. * jt/p4-spell-re-with-raw-string: git-p4: use raw string literals for regular expressions
2024-02-13Merge branch 'jc/coc-whitespace-fix' into maint-2.43Junio C Hamano
Docfix. * jc/coc-whitespace-fix: CoC: whitespace fix
2024-02-13Merge branch 'sd/negotiate-trace-fix' into maint-2.43Junio C Hamano
Tracing fix. * sd/negotiate-trace-fix: push: region_leave trace for negotiate_using_fetch
2024-02-13Merge branch 'jc/majordomo-to-subspace' into maint-2.43Junio C Hamano
Doc update. * jc/majordomo-to-subspace: Docs: majordomo@vger.kernel.org has been decomissioned
2024-02-13Merge branch 'nb/rebase-x-shell-docfix' into maint-2.43Junio C Hamano
Doc update. * nb/rebase-x-shell-docfix: rebase: fix documentation about used shell in -x
2024-02-13Merge branch 'la/strvec-comment-fix' into maint-2.43Junio C Hamano
Comment fix. * la/strvec-comment-fix: strvec: use correct member name in comments
2024-02-13Merge branch 'ne/doc-filter-blob-limit-fix' into maint-2.43Junio C Hamano
Docfix. * ne/doc-filter-blob-limit-fix: rev-list-options: fix off-by-one in '--filter=blob:limit=<n>' explainer