<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/MyFirstContribution.txt, branch v2.29.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.29.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.29.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2020-08-17T22:35:47Z</updated>
<entry>
<title>config: drop git_config_get_string_const()</title>
<updated>2020-08-17T22:35:47Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2020-08-17T21:33:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9a53219f69bd470053cf93c3f4d2a77b6d4df3e5'/>
<id>urn:sha1:9a53219f69bd470053cf93c3f4d2a77b6d4df3e5</id>
<content type='text'>
As evidenced by the leak fixes in the previous commit, the "const" in
git_config_get_string_const() clearly misleads people into thinking that
it does not allocate a copy of the string. We can fix this by renaming
it, but it's easier still to just drop it. Of the four remaining
callers:

  - The one in git_config_parse_expiry() still needs to allocate, since
    that's what its callers expect. We can just use the non-const
    version and cast our pointer. Slightly ugly, but the damage is
    contained in one spot.

  - The two in apply are writing to global "const char *" variables, and
    need to continue allocating. We often mark these as const because we
    assign default string literals to them. But in this case we don't do
    that, so we can just declare them as real "char *" pointers and use
    the non-const version.

  - The call in checkout doesn't actually need a copy; it can just use
    the non-allocating "tmp" version of the function.

The function is also mentioned in the MyFirstContribution document. We
can swap that call out for the non-allocating "tmp" variant, which fits
well in the example given.

We'll drop the "configset" and "repo" variants, as well (which are
unused).

Note that this frees up the "const" name, so we could rename the "tmp"
variant back to that. But let's give some time for topics in flight to
adapt to the new code before doing so (if we do it too soon, the
function semantics will change but the compiler won't alert us).

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>docs: adjust for the recent rename of `pu` to `seen`</title>
<updated>2020-06-25T16:18:53Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-06-25T12:18:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=828197de8f2c1103e23a37d0ee32b76e899cf267'/>
<id>urn:sha1:828197de8f2c1103e23a37d0ee32b76e899cf267</id>
<content type='text'>
As of "What's cooking in git.git (Jun 2020, #04; Mon, 22)", there is no
longer any `pu` branch, but a `seen` branch.

While we technically do not even need to update the manual pages, it
makes sense to update them because they clearly talk about branches in
git.git.

Please note that in two instances, this patch not only updates the
branch name, but also the description "(proposed updates)".

Where appropriate, quotes have been added for readability.

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>MyFirstContribution: rephrase contact info</title>
<updated>2020-02-14T17:36:56Z</updated>
<author>
<name>Emily Shaffer</name>
<email>emilyshaffer@google.com</email>
</author>
<published>2020-02-14T02:03:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a2dc43414c2ab480a923b1f8afdb61e005e97ef6'/>
<id>urn:sha1:a2dc43414c2ab480a923b1f8afdb61e005e97ef6</id>
<content type='text'>
Make an effort not to discourage new users from mailing questions to
git@vger.kernel.org, and explain the purpose of the mentoring list in
contrast to the main list.

Signed-off-by: Emily Shaffer &lt;emilyshaffer@google.com&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>MyFirstContribution: add avenues for getting help</title>
<updated>2020-01-24T22:05:42Z</updated>
<author>
<name>Emily Shaffer</name>
<email>emilyshaffer@google.com</email>
</author>
<published>2020-01-24T21:26:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4bb4fd429089dd97a268ddfab42d36432b53de21'/>
<id>urn:sha1:4bb4fd429089dd97a268ddfab42d36432b53de21</id>
<content type='text'>
With https://lore.kernel.org/git/20191114194708.GD60198@google.com/ we
now have a mentoring mailing list, to which we should direct new
contributors who have questions.

Mention #git-devel, which is targeted for Git contributors; asking for
help with getting a first contribution together is on-topic for that
channel. Also mention some of the conventions in case folks are
unfamiliar with IRC.

Because the mentoring list and #git-devel are both a subset of Git
contributors, finally list the main Git list and mention some of the
posting conventions.

Signed-off-by: Emily Shaffer &lt;emilyshaffer@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/lore-is-the-archive'</title>
<updated>2019-12-06T23:09:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-12-06T23:09:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3b3d9ea6a8fbf36a8710b855062c685d9a7d33e3'/>
<id>urn:sha1:3b3d9ea6a8fbf36a8710b855062c685d9a7d33e3</id>
<content type='text'>
Doc update for the mailing list archiving and nntp service.

* jk/lore-is-the-archive:
  doc: replace public-inbox links with lore.kernel.org
  doc: recommend lore.kernel.org over public-inbox.org
</content>
</entry>
<entry>
<title>doc: recommend lore.kernel.org over public-inbox.org</title>
<updated>2019-11-30T17:12:04Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2019-11-27T12:53:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=46c67492aa3ab2779f9322790ca8fffcd5bfaa80'/>
<id>urn:sha1:46c67492aa3ab2779f9322790ca8fffcd5bfaa80</id>
<content type='text'>
Since lore.kernel.org now has the same archive as public-inbox.org and
may have more longevity going forward[1], let's recommend people use it
for finding or referencing messages.

[1] https://public-inbox.org/git/20191120195556.GA25189@dcvr/
      or if you like:
    https://lore.kernel.org/git/20191120195556.GA25189@dcvr/

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Acked-by: Eric Wong &lt;e@80x24.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>myfirstcontrib: hint to find gitgitgadget allower</title>
<updated>2019-11-02T06:24:00Z</updated>
<author>
<name>Emily Shaffer</name>
<email>emilyshaffer@google.com</email>
</author>
<published>2019-10-31T21:03:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3c8d754c4b7123e57febdcf95330a073c8eeec7e'/>
<id>urn:sha1:3c8d754c4b7123e57febdcf95330a073c8eeec7e</id>
<content type='text'>
GitGitGadget, a handy tool for converting pull requests against Git into
Git-mailing-list-friendly-patch-emails, requires as anti-spam that all
new users be "/allow"ed by an existing user once before it will do
anything for that new user. While this tutorial explained that
mechanism, it did not give much hint on how to go about finding someone
to allow your new pull request. So, teach our new GitGitGadget user
where to look for someone who can add their name to the list.

The advice in this patch is based on the advice proposed for
GitGitGadget: https://github.com/gitgitgadget/gitgitgadget/pull/138

Signed-off-by: Emily Shaffer &lt;emilyshaffer@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>myfirstcontrib: add dependency installation step</title>
<updated>2019-11-02T06:23:59Z</updated>
<author>
<name>Emily Shaffer</name>
<email>emilyshaffer@google.com</email>
</author>
<published>2019-10-31T21:03:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3ada78de3f8dbe2b0a2b67cade25d29a86f734c3'/>
<id>urn:sha1:3ada78de3f8dbe2b0a2b67cade25d29a86f734c3</id>
<content type='text'>
Indicate that the user needs some dependencies before the build will run
happily on their machine; this dependency list doesn't seem to be made
clear anywhere else in the project documentation. Then, so the user can
be certain any build failures are due to their code and not their
environment, perform a build on a clean checkout of 'master'. Also, move
the note about build parallelization up here, so that it appears next to
the very first build invocation in the tutorial.

Reported-by: Heba Waly &lt;heba.waly@gmail.com&gt;
Signed-off-by: Emily Shaffer &lt;emilyshaffer@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>myfirstcontrib: add 'psuh' to command-list.txt</title>
<updated>2019-11-02T06:23:59Z</updated>
<author>
<name>Emily Shaffer</name>
<email>emilyshaffer@google.com</email>
</author>
<published>2019-10-31T21:03:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4ed5562925539ef76b6e4b2002b98a8e734cf223'/>
<id>urn:sha1:4ed5562925539ef76b6e4b2002b98a8e734cf223</id>
<content type='text'>
Users can discover commands and their brief usage by running 'git help
git' or 'git help -a'; both of these pages list all available commands
based on the contents of 'command-list.txt'. That means adding a new
command there is an important part of the new command process, and
therefore belongs in the new command tutorial.

Teach new users how to add their command, and include a brief overview
of how to discover which attributes to place on the command in the list.

Since 'git psuh' prints some workspace info, doesn't modify anything,
and is targeted as a user-facing porcelain command, list it as a
'mainporcelain' and 'info' command.

As the usage string is required to generate this documentation, don't
add the command to the list until after the usage string is added to the
tutorial.

Reported-by: SZEDER Gábor &lt;szeder.dev@gmail.com&gt;
Signed-off-by: Emily Shaffer &lt;emilyshaffer@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: MyFirstContribution: fix cmd placement instructions</title>
<updated>2019-09-28T03:27:38Z</updated>
<author>
<name>Pedro Sousa</name>
<email>pedroteosousa@gmail.com</email>
</author>
<published>2019-09-26T19:05:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=24c681794f125b5be27d2d2cfb9b28cf3ff3ee01'/>
<id>urn:sha1:24c681794f125b5be27d2d2cfb9b28cf3ff3ee01</id>
<content type='text'>
Using the pull command instead of push is more accurate when giving
instructions on placing the psuh command in alphabetical order.

Signed-off-by: Pedro Sousa &lt;pedroteosousa@gmail.com&gt;
Acked-by: Philip Oakley &lt;philipoakley@iee.email&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
