<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/commit.c, branch v1.5.0-rc3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.5.0-rc3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.5.0-rc3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2007-01-13T18:10:20Z</updated>
<entry>
<title>Use log output encoding in --pretty=email headers.</title>
<updated>2007-01-13T18:10:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2007-01-13T01:32:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f7e68b2967182f14547125d1369f37ad4d83187e'/>
<id>urn:sha1:f7e68b2967182f14547125d1369f37ad4d83187e</id>
<content type='text'>
Private functions add_rfc2047() and pretty_print_commit() assumed
they are only emitting UTF-8.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>merge-base: do not leak commit list</title>
<updated>2007-01-09T07:10:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2007-01-09T07:10:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1295228d1fdda17c2ef62e712649c962c3da5eb7'/>
<id>urn:sha1:1295228d1fdda17c2ef62e712649c962c3da5eb7</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>short i/o: fix calls to write to use xwrite or write_in_full</title>
<updated>2007-01-08T23:44:47Z</updated>
<author>
<name>Andy Whitcroft</name>
<email>apw@shadowen.org</email>
</author>
<published>2007-01-08T15:58:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=93822c2239a336e5cb583549071c59202ef6c5b2'/>
<id>urn:sha1:93822c2239a336e5cb583549071c59202ef6c5b2</id>
<content type='text'>
We have a number of badly checked write() calls.  Often we are
expecting write() to write exactly the size we requested or fail,
this fails to handle interrupts or short writes.  Switch to using
the new write_in_full().  Otherwise we at a minimum need to check
for EINTR and EAGAIN, where this is appropriate use xwrite().

Note, the changes to config handling are much larger and handled
in the next patch in the sequence.

Signed-off-by: Andy Whitcroft &lt;apw@shadowen.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Skip excessive blank lines before commit body</title>
<updated>2007-01-03T16:29:01Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-01-03T13:34:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f3a47405bb27846d62d20b056817f9c7d320e2db'/>
<id>urn:sha1:f3a47405bb27846d62d20b056817f9c7d320e2db</id>
<content type='text'>
This modifies pretty_print_commit() to make the output of git-rev-list and
friends a bit more predictable.

A commit body starting with blank lines might be unheard-of, but still possible
to create using git-commit-tree (so is bound to appear somewhere, sometime).

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>i18n: do not leak 'encoding' header even when we cheat the conversion.</title>
<updated>2007-01-01T02:55:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2007-01-01T02:18:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e90068a9046ccaf0bed82fd180b4748edbd5659a'/>
<id>urn:sha1:e90068a9046ccaf0bed82fd180b4748edbd5659a</id>
<content type='text'>
We special case the case where encoding recorded in the commit
and the output encoding are the same and do not call iconv().
But we should drop 'encoding' header for this case as well for
consistency.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>i18n: drop "encoding" header in the output after re-coding.</title>
<updated>2006-12-31T00:35:57Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-12-30T23:49:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=53af9816bcb1d441fef76c3adaf0c4cb858768ac'/>
<id>urn:sha1:53af9816bcb1d441fef76c3adaf0c4cb858768ac</id>
<content type='text'>
After re-coding the commit message into the encoding the user
specified (either with core.logoutputencidng or --encoding
option), this drops the "encoding" header altogether.  The
output is after re-coding as the user asked (either with the
config or --encoding=&lt;encoding&gt; option), and the extra header
becomes redundant information.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>commit re-encoding: fix confusion between no and default conversion.</title>
<updated>2006-12-30T10:18:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-12-30T10:18:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4b46e22d48271d1a220133a925dc5009048eb577'/>
<id>urn:sha1:4b46e22d48271d1a220133a925dc5009048eb577</id>
<content type='text'>
Telling the git-log family not to do any character conversion is
done with --encoding=none, which sets log_output_encoding to an
empty string.  However, logmsg_reencode() confused this with
log_output_encoding and commit_encoding set to NULL.  The latter
means we should use the default encoding (i.e. utf-8).

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/utf8'</title>
<updated>2006-12-29T03:03:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-12-29T03:03:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eff73751bb94b0241fd2204effb8680fe9973cbf'/>
<id>urn:sha1:eff73751bb94b0241fd2204effb8680fe9973cbf</id>
<content type='text'>
* jc/utf8:
  t3900: test conversion to non UTF-8 as well
  Rename t3900 test vector file
  UTF-8: introduce i18n.logoutputencoding.
  Teach log family --encoding
  i18n.logToUTF8: convert commit log message to UTF-8
  Move encoding conversion routine out of mailinfo to utf8.c

Conflicts:

	commit.c
</content>
</entry>
<entry>
<title>UTF-8: introduce i18n.logoutputencoding.</title>
<updated>2006-12-28T00:41:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-12-28T00:41:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d2c11a38c476bdfa3dd2387a0d933b8c00e4dfe3'/>
<id>urn:sha1:d2c11a38c476bdfa3dd2387a0d933b8c00e4dfe3</id>
<content type='text'>
It is plausible for somebody to want to view the commit log in a
different encoding from i18n.commitencoding -- the project's
policy may be UTF-8 and the user may be using a commit message
hook to run iconv to conform to that policy (and either not have
i18n.commitencoding to default to UTF-8 or have it explicitly
set to UTF-8).  Even then, Latin-1 may be more convenient for
the usual pager and the terminal the user uses.

The new variable i18n.logoutputencoding is used in preference to
i18n.commitencoding to decide what encoding to recode the log
output in when git-log and friends formats the commit log message.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' into js/shallow</title>
<updated>2006-12-27T10:43:46Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-12-27T10:43:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=37818d7db070f67a20df58ac7d5e04cc63ef1867'/>
<id>urn:sha1:37818d7db070f67a20df58ac7d5e04cc63ef1867</id>
<content type='text'>
This is to adjust to:

  count-objects -v: show number of packs as well.

which will break a test in this series.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
