<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/command-list.txt, branch v2.32.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.32.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.32.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2021-01-12T22:04:39Z</updated>
<entry>
<title>mailmap doc: create a new "gitmailmap(5)" man page</title>
<updated>2021-01-12T22:04:39Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2021-01-12T20:17:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=42957af0273a338de232a6a0071a3ddcf92f9fee'/>
<id>urn:sha1:42957af0273a338de232a6a0071a3ddcf92f9fee</id>
<content type='text'>
Create a gitmailmap(5) page similar to how .gitmodules and .gitignore
have their own pages at gitmodules(5) and gitignore(5). Now instead of
"check-mailmap", "blame" and "shortlog" documentation including the
description of the format we link to one canonical place.

This makes things easier for readers, since in our manpage or
web-based[1] output it's not clear that the "MAPPING AUTHORS" sections
aren't subtly different, as opposed to just included.

1. https://git-scm.com/docs/git-check-mailmap

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ab/retire-parse-remote'</title>
<updated>2020-12-03T08:18:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-12-03T08:18:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e89ecfbb13f600e7fc0272c29de432e424a97aaa'/>
<id>urn:sha1:e89ecfbb13f600e7fc0272c29de432e424a97aaa</id>
<content type='text'>
"git-parse-remote" shell script library outlived its usefulness.

* ab/retire-parse-remote:
  submodule: fix fetch_in_submodule logic
  parse-remote: remove this now-unused library
  submodule: remove sh function in favor of helper
  submodule: use "fetch" logic instead of custom remote discovery
</content>
</entry>
<entry>
<title>parse-remote: remove this now-unused library</title>
<updated>2020-11-16T21:19:30Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2020-11-14T12:21:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a89a2fbfccd88bc8a3c8cce8d7bc03de3830ea25'/>
<id>urn:sha1:a89a2fbfccd88bc8a3c8cce8d7bc03de3830ea25</id>
<content type='text'>
The previous two commits removed the last use of a function in this
library, but most of it had been dead code for a while[1][2]. Only the
"get_default_remote" function was still being used.

Even though we had a manual page for this library it was never
intended (or I expect, actually) used outside of git.git. Let's just
remove it, if anyone still cares about a function here they can pull
them into their own project[3].

1. Last use of error_on_missing_default_upstream():
   d03ebd411c ("rebase: remove the rebase.useBuiltin setting",
   2019-03-18)

2. Last use of get_remote_merge_branch(): 49eb8d39c7 ("Remove
   contrib/examples/*", 2018-03-25)

3. https://lore.kernel.org/git/87a6vmhdka.fsf@evledraar.gmail.com/

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>for-each-repo: run subcommands on configured repos</title>
<updated>2020-09-25T17:59:44Z</updated>
<author>
<name>Derrick Stolee</name>
<email>dstolee@microsoft.com</email>
</author>
<published>2020-09-11T17:49:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4950b2a2b5c4731e4c9d5b803739a6979b23fed6'/>
<id>urn:sha1:4950b2a2b5c4731e4c9d5b803739a6979b23fed6</id>
<content type='text'>
It can be helpful to store a list of repositories in global or system
config and then iterate Git commands on that list. Create a new builtin
that makes this process simple for experts. We will use this builtin to
run scheduled maintenance on all configured repositories in a future
change.

The test is very simple, but does highlight that the "--" argument is
optional.

Signed-off-by: Derrick Stolee &lt;dstolee@microsoft.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>maintenance: create basic maintenance runner</title>
<updated>2020-09-17T18:30:04Z</updated>
<author>
<name>Derrick Stolee</name>
<email>dstolee@microsoft.com</email>
</author>
<published>2020-09-17T18:11:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2057d75038541cd16debb1c55f3f897fd244965c'/>
<id>urn:sha1:2057d75038541cd16debb1c55f3f897fd244965c</id>
<content type='text'>
The 'gc' builtin is our current entrypoint for automatically maintaining
a repository. This one tool does many operations, such as repacking the
repository, packing refs, and rewriting the commit-graph file. The name
implies it performs "garbage collection" which means several different
things, and some users may not want to use this operation that rewrites
the entire object database.

Create a new 'maintenance' builtin that will become a more general-
purpose command. To start, it will only support the 'run' subcommand,
but will later expand to add subcommands for scheduling maintenance in
the background.

For now, the 'maintenance' builtin is a thin shim over the 'gc' builtin.
In fact, the only option is the '--auto' toggle, which is handed
directly to the 'gc' builtin. The current change is isolated to this
simple operation to prevent more interesting logic from being lost in
all of the boilerplate of adding a new builtin.

Use existing builtin/gc.c file because we want to share code between the
two builtins. It is possible that we will have 'maintenance' replace the
'gc' builtin entirely at some point, leaving 'git gc' as an alias for
some specific arguments to 'git maintenance run'.

Create a new test_subcommand helper that allows us to test if a certain
subcommand was run. It requires storing the GIT_TRACE2_EVENT logs in a
file. A negation mode is available that will be used in later tests.

Helped-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Derrick Stolee &lt;dstolee@microsoft.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>command-list.txt: add missing 'gitcredentials' and 'gitremote-helpers'</title>
<updated>2020-08-05T01:34:01Z</updated>
<author>
<name>Philippe Blain</name>
<email>levraiphilippeblain@gmail.com</email>
</author>
<published>2020-08-05T01:19:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2135e1ad7037f72c1a96d4ae11eef8e0ed1cbc65'/>
<id>urn:sha1:2135e1ad7037f72c1a96d4ae11eef8e0ed1cbc65</id>
<content type='text'>
The guides 'gitcredentials' and 'gitremote-helpers' do not currently
appear in command-list.txt.

'gitcredentials' was forgotten back when guides were added to
command-list.txt in 1b81d8cb19 (help: use command-list.txt for the
source of guides, 2018-05-20).

'gitremote-helpers' was moved to section 7 in 439cc74632 (docs: move
gitremote-helpers into section 7, 2019-03-25), but command-list.txt was
not updated at the time.

Add these two guides to the list of guides in 'command-list.txt', so
that they appear in the output of 'git help --guides', and capitalize
the first word of the description of 'gitcredentials', as was done in
1b81d8c (help: use command-list.txt for the source of guides,
2018-05-20) for the other guides.

While at it, add a comment in Documentation/Makefile to remind developers
to update command-list.txt if they add a new guide.

Signed-off-by: Philippe Blain &lt;levraiphilippeblain@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bash-completion: add git-prune into bash completion</title>
<updated>2020-06-22T18:29:38Z</updated>
<author>
<name>John Lin</name>
<email>johnlinp@gmail.com</email>
</author>
<published>2020-06-22T00:13:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=81120a90aa32f545ce3b68f49d2877ccff29a6e3'/>
<id>urn:sha1:81120a90aa32f545ce3b68f49d2877ccff29a6e3</id>
<content type='text'>
Sometimes git would suggest the user to run `git prune` when there are
too many unreachable loose objects. It's more user-friendly if we add
git-prune into bash completion.

Signed-off-by: John Lin &lt;johnlinp@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bc/faq'</title>
<updated>2020-05-25T02:39:36Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-05-25T02:39:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=80e013c0fd3daf0dfe2e047bd3349056192f8b18'/>
<id>urn:sha1:80e013c0fd3daf0dfe2e047bd3349056192f8b18</id>
<content type='text'>
"git help guides" now includes the newly added FAQ document.

* bc/faq:
  command-list.txt: add gitfaq to the list of guides
</content>
</entry>
<entry>
<title>command-list.txt: add gitfaq to the list of guides</title>
<updated>2020-05-20T16:00:58Z</updated>
<author>
<name>Philippe Blain</name>
<email>levraiphilippeblain@gmail.com</email>
</author>
<published>2020-05-20T14:44:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2cf579c27657b9524c782abcfecfe6204569bf4c'/>
<id>urn:sha1:2cf579c27657b9524c782abcfecfe6204569bf4c</id>
<content type='text'>
When 'gitfaq.txt' was added in 2149b6748f (docs: add a FAQ, 2020-03-30),
it was added to the Makefile but not to command-list.txt.

Add it there also, so that the new FAQ is listed in the output of
`git help --guides`.

Signed-off-by: Philippe Blain &lt;levraiphilippeblain@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bugreport: add tool to generate debugging info</title>
<updated>2020-04-16T22:23:42Z</updated>
<author>
<name>Emily Shaffer</name>
<email>emilyshaffer@google.com</email>
</author>
<published>2020-04-16T21:18:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=238b439d69890980dafc5154895d425cb4cf4a5e'/>
<id>urn:sha1:238b439d69890980dafc5154895d425cb4cf4a5e</id>
<content type='text'>
Teach Git how to prompt the user for a good bug report: reproduction
steps, expected behavior, and actual behavior. Later, Git can learn how
to collect some diagnostic information from the repository.

If users can send us a well-written bug report which contains diagnostic
information we would otherwise need to ask the user for, we can reduce
the number of question-and-answer round trips between the reporter and
the Git contributor.

Users may also wish to send a report like this to their local "Git
expert" if they have put their repository into a state they are confused
by.

Signed-off-by: Emily Shaffer &lt;emilyshaffer@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
