<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/pretty.c, branch v1.6.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-04-01T18:05:31Z</updated>
<entry>
<title>format_sanitized_subject: Don't trim past initial length of strbuf</title>
<updated>2009-04-01T18:05:31Z</updated>
<author>
<name>Stephen Boyd</name>
<email>bebarino@gmail.com</email>
</author>
<published>2009-03-31T23:24:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=871d21d42e0f782b7cb111beec8c252e9aa627ff'/>
<id>urn:sha1:871d21d42e0f782b7cb111beec8c252e9aa627ff</id>
<content type='text'>
If the subject line is '...' the strbuf will be accessed before the
first dot is added; potentially changing the strbuf passed into the
function or accessing sb-&gt;buf[-1] if it was originally empty.

Reported-by: René Scharfe &lt;rene.scharfe@lsrfire.ath.cx&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pretty.c: add %f format specifier to format_commit_message()</title>
<updated>2009-03-23T04:32:13Z</updated>
<author>
<name>Stephen Boyd</name>
<email>bebarino@gmail.com</email>
</author>
<published>2009-03-23T02:14:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=46d164b0cd1d5d254047d7573c53e368e42bf5e5'/>
<id>urn:sha1:46d164b0cd1d5d254047d7573c53e368e42bf5e5</id>
<content type='text'>
This specifier represents the sanitized and filename friendly subject
line of a commit. No checks are made against the length of the string,
so users may need to trim the result to the desired length if using as a
filename. This is commonly used by format-patch to massage commit
subjects into filenames and output patches to files.

Signed-off-by: Stephen Boyd &lt;bebarino@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Remove unused assignments</title>
<updated>2009-03-14T20:36:34Z</updated>
<author>
<name>Benjamin Kramer</name>
<email>benny.kra@googlemail.com</email>
</author>
<published>2009-03-13T12:51:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8e76bf3fc915ff9c530842123263e7147df207bb'/>
<id>urn:sha1:8e76bf3fc915ff9c530842123263e7147df207bb</id>
<content type='text'>
These variables were always overwritten or the assigned
value was unused:

  builtin-diff-tree.c::cmd_diff_tree(): nr_sha1
  builtin-for-each-ref.c::opt_parse_sort(): sort_tail
  builtin-mailinfo.c::decode_header_bq(): in
  builtin-shortlog.c::insert_one_record(): len
  connect.c::git_connect(): path
  imap-send.c::v_issue_imap_cmd(): n
  pretty.c::pp_user_info(): filler
  remote::parse_refspec_internal(): llen

Signed-off-by: Benjamin Kramer &lt;benny.kra@googlemail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2009-03-08T06:34:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-08T06:34:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=934f788981de941814e821217f32451a5c715d5d'/>
<id>urn:sha1:934f788981de941814e821217f32451a5c715d5d</id>
<content type='text'>
* maint:
  builtin-revert.c: release index lock when cherry-picking an empty commit
  document config --bool-or-int
  t1300: use test_must_fail as appropriate
  cleanup: add isascii()
  Documentation: fix badly indented paragraphs in "--bisect-all" description
</content>
</entry>
<entry>
<title>cleanup: add isascii()</title>
<updated>2009-03-07T19:22:42Z</updated>
<author>
<name>René Scharfe</name>
<email>rene.scharfe@lsrfire.ath.cx</email>
</author>
<published>2009-03-07T13:06:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c2e9364a06df55e70d7652d37bb4d712f6b3bb3e'/>
<id>urn:sha1:c2e9364a06df55e70d7652d37bb4d712f6b3bb3e</id>
<content type='text'>
Add a standard definition of isascii() and use it to replace an open
coded high-bit test in pretty.c.  While we're there, write the ESC
char as the more commonly used '\033' instead of as 0x1b to enhance
its grepability.

Signed-off-by: Rene Scharfe &lt;rene.scharfe@lsrfire.ath.cx&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ns/pretty-format'</title>
<updated>2009-03-05T23:41:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-05T23:41:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=458eaf5bf895c2df8e0ef81a4c9606d179082e68'/>
<id>urn:sha1:458eaf5bf895c2df8e0ef81a4c9606d179082e68</id>
<content type='text'>
* ns/pretty-format:
  bash completion: add --format= and --oneline options for "git log"
  Add tests for git log --pretty, --format and --oneline.
  Add --oneline that is a synonym to "--pretty=oneline --abbrev-commit"
  Give short-hands to --pretty=tformat:%formatstring
  Add --format that is a synonym to --pretty
</content>
</entry>
<entry>
<title>Merge branch 'al/ansi-color'</title>
<updated>2009-03-05T23:41:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-05T23:41:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4a2caf691232ef9599ee3f1a1a04a47f309e65c1'/>
<id>urn:sha1:4a2caf691232ef9599ee3f1a1a04a47f309e65c1</id>
<content type='text'>
* al/ansi-color:
  builtin-branch.c: Rename branch category color names
  Clean up use of ANSI color sequences
</content>
</entry>
<entry>
<title>Give short-hands to --pretty=tformat:%formatstring</title>
<updated>2009-02-25T07:53:38Z</updated>
<author>
<name>Nanako Shiraishi</name>
<email>nanako3@lavabit.com</email>
</author>
<published>2009-02-24T09:59:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=36407548a2825462a91b456755412a65fd611fc0'/>
<id>urn:sha1:36407548a2825462a91b456755412a65fd611fc0</id>
<content type='text'>
Allow --pretty="%h %s" (and --format="%h %s") as shorthand for an often
used option --pretty=tformat:"%h %s".

Signed-off-by: Nanako Shiraishi &lt;nanako3@lavabit.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ms/mailmap'</title>
<updated>2009-02-15T09:44:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-02-15T09:44:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=160d2bc35382fb23beb99457e9111d15554bf223'/>
<id>urn:sha1:160d2bc35382fb23beb99457e9111d15554bf223</id>
<content type='text'>
* ms/mailmap:
  Move mailmap documentation into separate file
  Change current mailmap usage to do matching on both name and email of author/committer.
  Add map_user() and clear_mailmap() to mailmap
  Add find_insert_index, insert_at_index and clear_func functions to string_list
  Add mailmap.file as configurational option for mailmap location
</content>
</entry>
<entry>
<title>Clean up use of ANSI color sequences</title>
<updated>2009-02-14T01:27:58Z</updated>
<author>
<name>Arjen Laarhoven</name>
<email>arjen@yaph.org</email>
</author>
<published>2009-02-13T21:53:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dc6ebd4cc5028d59146e02e30f7945ee91974e6e'/>
<id>urn:sha1:dc6ebd4cc5028d59146e02e30f7945ee91974e6e</id>
<content type='text'>
Remove the literal ANSI escape sequences and replace them by readable
constants.

Signed-off-by: Arjen Laarhoven &lt;arjen@yaph.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
