<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin, branch v2.37.0-rc2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.37.0-rc2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.37.0-rc2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2022-06-20T23:20:45Z</updated>
<entry>
<title>name-rev: prefix annotate-stdin with '--' in message</title>
<updated>2022-06-20T23:20:45Z</updated>
<author>
<name>Alexander Shopov</name>
<email>ash@kambanaria.org</email>
</author>
<published>2022-06-20T16:44:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=325240dfd76bc6a47e5a89beccf27b236b70e2ac'/>
<id>urn:sha1:325240dfd76bc6a47e5a89beccf27b236b70e2ac</id>
<content type='text'>
This is an option rather than command.  Make the message convey this
similar to the other messages in the file.

Signed-off-by: Alexander Shopov &lt;ash@kambanaria.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>i18n: fix mismatched camelCase config variables</title>
<updated>2022-06-17T17:38:26Z</updated>
<author>
<name>Jiang Xin</name>
<email>zhiyou.jx@alibaba-inc.com</email>
</author>
<published>2022-06-17T10:03:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b4eda05d58ca3e4808d3d86ab5826c77995a06f7'/>
<id>urn:sha1:b4eda05d58ca3e4808d3d86ab5826c77995a06f7</id>
<content type='text'>
Some config variables are combinations of multiple words, and we
typically write them in camelCase forms in manpage and translatable
strings. It's not easy to find mismatches for these camelCase config
variables during code reviews, but occasionally they are identified
during localization translations.

To check for mismatched config variables, I introduced a new feature
in the helper program for localization[^1]. The following mismatched
config variables have been identified by running the helper program,
such as "git-po-helper check-pot".

Lowercase in manpage should use camelCase:

 * Documentation/config/http.txt: http.pinnedpubkey

Lowercase in translable strings should use camelCase:

 * builtin/fast-import.c:  pack.indexversion
 * builtin/gc.c:           gc.logexpiry
 * builtin/index-pack.c:   pack.indexversion
 * builtin/pack-objects.c: pack.indexversion
 * builtin/repack.c:       pack.writebitmaps
 * commit.c:               i18n.commitencoding
 * gpg-interface.c:        user.signingkey
 * http.c:                 http.postbuffer
 * submodule-config.c:     submodule.fetchjobs

Mismatched camelCases, choose the former:

 * Documentation/config/transfer.txt: transfer.credentialsInUrl
   remote.c:                          transfer.credentialsInURL

[^1]: https://github.com/git-l10n/git-po-helper

Signed-off-by: Jiang Xin &lt;zhiyou.jx@alibaba-inc.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'js/misc-fixes'</title>
<updated>2022-06-17T17:33:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-06-17T17:33:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e870c5857fbd67a7015b8c5539293bcb5d8e8ff5'/>
<id>urn:sha1:e870c5857fbd67a7015b8c5539293bcb5d8e8ff5</id>
<content type='text'>
Assorted fixes to problems found by Coverity.

* js/misc-fixes:
  relative_url(): fix incorrect condition
  pack-mtimes: avoid closing a bogus file descriptor
  read_index_from(): avoid memory leak
  submodule--helper: avoid memory leak when fetching submodules
  submodule-config: avoid memory leak
  fsmonitor: avoid memory leak in `fsm_settings__get_incompatible_msg()`
</content>
</entry>
<entry>
<title>submodule--helper: avoid memory leak when fetching submodules</title>
<updated>2022-06-16T20:22:03Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2022-06-15T23:35:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=41a86b64c093a6f36ffe0959aeed2e3f2590c7e8'/>
<id>urn:sha1:41a86b64c093a6f36ffe0959aeed2e3f2590c7e8</id>
<content type='text'>
In c51f8f94e5b3 (submodule--helper: run update procedures from C,
2021-08-24), we added code that first obtains the default remote, and
then adds that to a `strvec`.

However, we never released the default remote's memory.

Reported by Coverity.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>builtin/rebase: remove a redundant space in l10n string</title>
<updated>2022-06-16T18:15:23Z</updated>
<author>
<name>Fangyi Zhou</name>
<email>me@fangyi.io</email>
</author>
<published>2022-06-16T17:18:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3b9a5a33c2986522736d484da497ccd99d715220'/>
<id>urn:sha1:3b9a5a33c2986522736d484da497ccd99d715220</id>
<content type='text'>
Found in l10n.

Signed-off-by: Fangyi Zhou &lt;me@fangyi.io&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'po/rebase-preserve-merges'</title>
<updated>2022-06-15T22:09:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-06-15T22:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=589bc0942b2c14e9361deedc468a233e0571136f'/>
<id>urn:sha1:589bc0942b2c14e9361deedc468a233e0571136f</id>
<content type='text'>
Various error messages that talk about the removal of
"--preserve-merges" in "rebase" have been strengthened, and "rebase
--abort" learned to get out of a state that was left by an earlier
use of the option.

* po/rebase-preserve-merges:
  rebase: translate a die(preserve-merges) message
  rebase: note `preserve` merges may be a pull config option
  rebase: help users when dying with `preserve-merges`
  rebase.c: state preserve-merges has been removed
</content>
</entry>
<entry>
<title>Merge branch 'jc/revert-show-parent-info'</title>
<updated>2022-06-15T22:09:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-06-15T22:09:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bfca6316345ffd717c717d2e36365239a3070124'/>
<id>urn:sha1:bfca6316345ffd717c717d2e36365239a3070124</id>
<content type='text'>
"git revert" learns "--reference" option to use more human-readable
reference to the commit it reverts in the message template it
prepares for the user.

* jc/revert-show-parent-info:
  revert: --reference should apply only to 'revert', not 'cherry-pick'
  revert: optionally refer to commit in the "reference" format
</content>
</entry>
<entry>
<title>push: fix capitalisation of the option name autoSetupMerge</title>
<updated>2022-06-15T18:45:46Z</updated>
<author>
<name>Fangyi Zhou</name>
<email>me@fangyi.io</email>
</author>
<published>2022-06-15T15:35:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1f8496c65f963d2b75ef57dc4f09dbc2f5646bf3'/>
<id>urn:sha1:1f8496c65f963d2b75ef57dc4f09dbc2f5646bf3</id>
<content type='text'>
This was found during l10n process by Jiang Xin.

Reported-by: Jiang Xin &lt;worldhello.net@gmail.com&gt;
Signed-off-by: Fangyi Zhou &lt;me@fangyi.io&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'tb/show-ref-optim'</title>
<updated>2022-06-13T22:53:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-06-13T22:53:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2246937e4165d4a7a238f1ea52da36bc7aa1274a'/>
<id>urn:sha1:2246937e4165d4a7a238f1ea52da36bc7aa1274a</id>
<content type='text'>
"git show-ref --heads" (and "--tags") still iterated over all the
refs only to discard refs outside the specified area, which has
been corrected.

* tb/show-ref-optim:
  builtin/show-ref.c: avoid over-iterating with --heads, --tags
</content>
</entry>
<entry>
<title>Merge branch 'ab/bug-if-bug'</title>
<updated>2022-06-10T22:04:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-06-10T22:04:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4da14b574f2e52eb05e4fef7ed169a8f9e3a8b67'/>
<id>urn:sha1:4da14b574f2e52eb05e4fef7ed169a8f9e3a8b67</id>
<content type='text'>
A new bug() and BUG_if_bug() API is introduced to make it easier to
uniformly log "detect multiple bugs and abort in the end" pattern.

* ab/bug-if-bug:
  cache-tree.c: use bug() and BUG_if_bug()
  receive-pack: use bug() and BUG_if_bug()
  parse-options.c: use optbug() instead of BUG() "opts" check
  parse-options.c: use new bug() API for optbug()
  usage.c: add a non-fatal bug() function to go with BUG()
  common-main.c: move non-trace2 exit() behavior out of trace2.c
</content>
</entry>
</feed>
