<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-commit-tree.txt, branch v1.7.8.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.7.8.4</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.7.8.4'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2011-10-14T02:03:24Z</updated>
<entry>
<title>Merge branch 'jn/ident-from-etc-mailname'</title>
<updated>2011-10-14T02:03:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-10-14T02:03:24Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=3022386fee01512c8a46bbad68fe32d4fabeba48'/>
<id>urn:sha1:3022386fee01512c8a46bbad68fe32d4fabeba48</id>
<content type='text'>
* jn/ident-from-etc-mailname:
  ident: do not retrieve default ident when unnecessary
  ident: check /etc/mailname if email is unknown
</content>
</entry>
<entry>
<title>ident: check /etc/mailname if email is unknown</title>
<updated>2011-10-03T19:00:44Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2011-10-03T06:16:33Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=8a55caa8a3d9169ba14861b8917e739a50a322fa'/>
<id>urn:sha1:8a55caa8a3d9169ba14861b8917e739a50a322fa</id>
<content type='text'>
Before falling back to gethostname(), check /etc/mailname if
GIT_AUTHOR_EMAIL is not set in the environment or through config
files.  Only fall back if /etc/mailname cannot be opened or read.

The /etc/mailname convention comes from Debian policy section 11.6
("mail transport, delivery and user agents"), though maybe it could be
useful sometimes on other machines, too.  The lack of this support was
noticed by various people in different ways:

 - Ian observed that git was choosing the address
   'ian@anarres.relativity.greenend.org.uk' rather than
   'ian@davenant.greenend.org.uk' as it should have done.

 - Jonathan noticed that operations like "git commit" were needlessly
   slow when using a resolver that was slow to handle reverse DNS
   lookups.

Alas, after this patch, if /etc/mailname is set up and the [user] name
and email configuration aren't, the committer email will not provide a
charming reminder of which machine commits were made on any more.  But
I think it's worth it.

Mechanics: the functionality of reading mailname goes in its own
function, so people who care about other distros can easily add an
implementation to a similar location without making copy_email() too
long and losing clarity.  While at it, we split out the fallback
default logic that does gethostname(), too (rearranging it a little
and adding a check for errors from gethostname while at it).

Based on a patch by Gerrit Pape &lt;pape@smarden.org&gt;.

Requested-by: Ian Jackson &lt;ijackson@chiark.greenend.org.uk&gt;
Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Improved-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: use [verse] for SYNOPSIS sections</title>
<updated>2011-07-06T21:26:26Z</updated>
<author>
<name>Martin von Zweigbergk</name>
<email>martin.von.zweigbergk@gmail.com</email>
</author>
<published>2011-07-02T02:38:26Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=7791a1d9b9a4f4e15662c7c9c7f5837f461bb987'/>
<id>urn:sha1:7791a1d9b9a4f4e15662c7c9c7f5837f461bb987</id>
<content type='text'>
The SYNOPSIS sections of most commands that span several lines already
use [verse] to retain line breaks. Most commands that don't span
several lines seem not to use [verse]. In the HTML output, [verse]
does not only preserve line breaks, but also makes the section
indented, which causes a slight inconsistency between commands that
use [verse] and those that don't. Use [verse] in all SYNOPSIS sections
for consistency.

Also remove the blank lines from git-fetch.txt and git-rebase.txt to
align with the other man pages. In the case of git-rebase.txt, which
already uses [verse], the blank line makes the [verse] not apply to
the last line, so removing the blank line also makes the formatting
within the document more consistent.

While at it, add single quotes to 'git cvsimport' for consistency with
other commands.

Signed-off-by: Martin von Zweigbergk &lt;martin.von.zweigbergk@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: drop author/documentation sections from most pages</title>
<updated>2011-03-11T15:59:16Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2011-03-11T05:52:08Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=48bb914ed641fc0880d86b16cbb17c84769c320a'/>
<id>urn:sha1:48bb914ed641fc0880d86b16cbb17c84769c320a</id>
<content type='text'>
The point of these sections is generally to:

  1. Give credit where it is due.

  2. Give the reader an idea of where to ask questions or
     file bug reports.

But they don't do a good job of either case. For (1), they
are out of date and incomplete. A much more accurate answer
can be gotten through shortlog or blame.  For (2), the
correct contact point is generally git@vger, and even if you
wanted to cc the contact point, the out-of-date and
incomplete fields mean you're likely sending to somebody
useless.

So let's drop the fields entirely from all manpages except
git(1) itself. We already point people to the mailing list
for bug reports there, and we can update the Authors section
to give credit to the major contributors and point to
shortlog and blame for more information.

Each page has a "This is part of git" footer, so people can
follow that to the main git manpage.
</content>
</entry>
<entry>
<title>Use parentheses and `...' where appropriate</title>
<updated>2010-10-08T19:31:07Z</updated>
<author>
<name>Štěpán Němec</name>
<email>stepan.nemec@gmail.com</email>
</author>
<published>2010-10-08T17:31:17Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=0adda9362ab080b0994355c5a3183a896a606cc0'/>
<id>urn:sha1:0adda9362ab080b0994355c5a3183a896a606cc0</id>
<content type='text'>
Remove some stray usage of other bracket types and asterisks for the
same purpose.

Signed-off-by: Štěpán Němec &lt;stepnem@gmail.com&gt;
Acked-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: remove backslashes in manpage synopses</title>
<updated>2010-08-20T21:16:22Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2010-08-20T10:31:58Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=12378c0aa8d06cb0e965935ca6d393a9b66b095a'/>
<id>urn:sha1:12378c0aa8d06cb0e965935ca6d393a9b66b095a</id>
<content type='text'>
For some reason, various manual pages have an asterisk escaped
with \ in the synopsis.  Since there is no other asterisk to pair it
with, Asciidoc does not consider this asterisk escapable, so it passes
the backslash through.

Each page either uses [verse] or has only one asterisk, so it
is safe to drop the backslashes (checked with asciidoc 8.5.2).

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: spell 'git cmd' without dash throughout</title>
<updated>2010-01-10T12:01:28Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2010-01-09T23:33:00Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=0b444cdb19bcfcc7f59b7b00783cbfbbc5ddcf63'/>
<id>urn:sha1:0b444cdb19bcfcc7f59b7b00783cbfbbc5ddcf63</id>
<content type='text'>
The documentation was quite inconsistent when spelling 'git cmd' if it
only refers to the program, not to some specific invocation syntax:
both 'git-cmd' and 'git cmd' spellings exist.

The current trend goes towards dashless forms, and there is precedent
in 647ac70 (git-svn.txt: stop using dash-form of commands.,
2009-07-07) to actively eliminate the dashed variants.

Replace 'git-cmd' with 'git cmd' throughout, except where git-shell,
git-cvsserver, git-upload-pack, git-receive-pack, and
git-upload-archive are concerned, because those really live in the
$PATH.
</content>
</entry>
<entry>
<title>Document date formats accepted by parse_date()</title>
<updated>2009-12-03T20:41:37Z</updated>
<author>
<name>Miklos Vajna</name>
<email>vmiklos@frugalware.org</email>
</author>
<published>2009-12-02T23:49:19Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=788070a261ecc3a37a7e0ed9301ecec4a333586d'/>
<id>urn:sha1:788070a261ecc3a37a7e0ed9301ecec4a333586d</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix passwd(5) ref and reflect that commit doens't use commit-tree</title>
<updated>2008-09-03T21:51:19Z</updated>
<author>
<name>Jonas Fonseca</name>
<email>fonseca@diku.dk</email>
</author>
<published>2008-09-03T08:50:43Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=73bae1dc468734bad3ff7d1b8e93e7ac5f9d3dff'/>
<id>urn:sha1:73bae1dc468734bad3ff7d1b8e93e7ac5f9d3dff</id>
<content type='text'>
Signed-off-by: Jonas Fonseca &lt;fonseca@diku.dk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: commit-tree: remove 16 parents restriction</title>
<updated>2008-08-08T10:01:52Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2008-08-08T07:52:55Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=b3bc97cba45e3b97243d31927fbf2343c21b6766'/>
<id>urn:sha1:b3bc97cba45e3b97243d31927fbf2343c21b6766</id>
<content type='text'>
ef98c5ca lifted the 16 parents restriction in builtin-commit-tree.c,
but forgot to update the documentation.

Signed-off-by: Thomas Rast &lt;trast@student.ethz.ch&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
