<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/git.git, branch jc/strbuf-add-lines-avoid-sp-ht-sequence</title>
<subtitle>github.com: git/git.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/'/>
<entry>
<title>strbuf_add_commented_lines(): avoid SP-HT sequence in commented lines</title>
<updated>2014-10-27T21:13:59+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-27T21:13:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=d55aeb7687448189327ad058096b55431da5ea42'/>
<id>d55aeb7687448189327ad058096b55431da5ea42</id>
<content type='text'>
The strbuf_add_commented_lines() function passes a pair of prefixes,
one to be used for a non-empty line, and the other for an empty
line, to underlying add_lines().  The former is set to a comment
char followed by a SP, while the latter is set to just the comment
char.  This is designed to give a SP after the comment character,
e.g. "# &lt;user text&gt;\n", on a line with some text, and to avoid
emitting an unsightly "# \n" for an empty line.

Teach this machinery to also use the latter space-less prefix when
the payload line begins with a tab, to show e.g. "#\t&lt;user text&gt;\n";
otherwise we will end up showing "# \t&lt;user text&gt;\n" which is
similarly unsightly.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The strbuf_add_commented_lines() function passes a pair of prefixes,
one to be used for a non-empty line, and the other for an empty
line, to underlying add_lines().  The former is set to a comment
char followed by a SP, while the latter is set to just the comment
char.  This is designed to give a SP after the comment character,
e.g. "# &lt;user text&gt;\n", on a line with some text, and to avoid
emitting an unsightly "# \n" for an empty line.

Teach this machinery to also use the latter space-less prefix when
the payload line begins with a tab, to show e.g. "#\t&lt;user text&gt;\n";
otherwise we will end up showing "# \t&lt;user text&gt;\n" which is
similarly unsightly.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint-2.0' into maint</title>
<updated>2014-10-07T20:40:51+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-07T20:40:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=3c2dc76f015b4d52ef02a08c59a4546d00b475e1'/>
<id>3c2dc76f015b4d52ef02a08c59a4546d00b475e1</id>
<content type='text'>
* maint-2.0:
  git-tag.txt: Add a missing hyphen to `-s`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* maint-2.0:
  git-tag.txt: Add a missing hyphen to `-s`
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint-1.9' into maint-2.0</title>
<updated>2014-10-07T20:40:39+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-07T20:40:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=76f8611a5fb7e81c1bada0fb190d573a66fc03f6'/>
<id>76f8611a5fb7e81c1bada0fb190d573a66fc03f6</id>
<content type='text'>
* maint-1.9:
  git-tag.txt: Add a missing hyphen to `-s`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* maint-1.9:
  git-tag.txt: Add a missing hyphen to `-s`
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint-1.8.5' into maint-1.9</title>
<updated>2014-10-07T20:40:19+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-07T20:40:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=9181365b856a63f8c5486ad0fe48f1cd60852da3'/>
<id>9181365b856a63f8c5486ad0fe48f1cd60852da3</id>
<content type='text'>
* maint-1.8.5:
  git-tag.txt: Add a missing hyphen to `-s`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* maint-1.8.5:
  git-tag.txt: Add a missing hyphen to `-s`
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'jk/mbox-from-line' into maint</title>
<updated>2014-10-07T20:39:27+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-07T20:39:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=b6e8269e9ba131b6ea6a10088be139dc89704fb6'/>
<id>b6e8269e9ba131b6ea6a10088be139dc89704fb6</id>
<content type='text'>
Some MUAs mangled a line in a message that begins with "From " to
"&gt;From " when writing to a mailbox file and feeding such an input to
"git am" used to lose such a line.

* jk/mbox-from-line:
  mailinfo: work around -Wstring-plus-int warning
  mailinfo: make "&gt;From" in-body header check more robust
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some MUAs mangled a line in a message that begins with "From " to
"&gt;From " when writing to a mailbox file and feeding such an input to
"git am" used to lose such a line.

* jk/mbox-from-line:
  mailinfo: work around -Wstring-plus-int warning
  mailinfo: make "&gt;From" in-body header check more robust
</pre>
</div>
</content>
</entry>
<entry>
<title>git-tag.txt: Add a missing hyphen to `-s`</title>
<updated>2014-10-07T18:08:06+00:00</updated>
<author>
<name>Wieland Hoffmann</name>
<email>themineo@gmail.com</email>
</author>
<published>2014-10-04T16:27:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=eeff891ac756fd97a05476446f15269b714ce4cc'/>
<id>eeff891ac756fd97a05476446f15269b714ce4cc</id>
<content type='text'>
Signed-off-by: Wieland Hoffmann &lt;themineo@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Wieland Hoffmann &lt;themineo@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Git 2.1.2</title>
<updated>2014-09-30T05:15:00+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-09-30T05:15:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=80b616d04b8f5a15b5d5587d67baf6e2e28c9f87'/>
<id>80b616d04b8f5a15b5d5587d67baf6e2e28c9f87</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'jk/fsck-exit-code-fix' into maint</title>
<updated>2014-09-30T05:10:55+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-09-30T05:10:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=46c8f859b7eebe962d99c8547b0c908bbf8ecf0f'/>
<id>46c8f859b7eebe962d99c8547b0c908bbf8ecf0f</id>
<content type='text'>
"git fsck" failed to report that it found corrupt objects via its
exit status in some cases.

* jk/fsck-exit-code-fix:
  fsck: return non-zero status on missing ref tips
  fsck: exit with non-zero status upon error from fsck_obj()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"git fsck" failed to report that it found corrupt objects via its
exit status in some cases.

* jk/fsck-exit-code-fix:
  fsck: return non-zero status on missing ref tips
  fsck: exit with non-zero status upon error from fsck_obj()
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'ta/config-add-to-empty-or-true-fix' into maint</title>
<updated>2014-09-30T05:10:25+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-09-30T05:10:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=102edda4dfa3f2119119c2b52c90a9337a03178f'/>
<id>102edda4dfa3f2119119c2b52c90a9337a03178f</id>
<content type='text'>
"git config --add section.var val" used to lose existing
section.var whose value was an empty string.

* ta/config-add-to-empty-or-true-fix:
  config: avoid a funny sentinel value "a^"
  make config --add behave correctly for empty and NULL values
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"git config --add section.var val" used to lose existing
section.var whose value was an empty string.

* ta/config-add-to-empty-or-true-fix:
  config: avoid a funny sentinel value "a^"
  make config --add behave correctly for empty and NULL values
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'mk/reachable-protect-detached-head' into maint</title>
<updated>2014-09-30T05:10:04+00:00</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-09-30T05:10:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/git.git/commit/?id=421ec4f8d1f616ba3cb82204e9973be45b61eea0'/>
<id>421ec4f8d1f616ba3cb82204e9973be45b61eea0</id>
<content type='text'>
Reachability check (used in "git prune" and friends) did not add a
detached HEAD as a starting point to traverse objects still in use.

* mk/reachable-protect-detached-head:
  reachable.c: add HEAD to reachability starting commits
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reachability check (used in "git prune" and friends) did not add a
detached HEAD as a starting point to traverse objects still in use.

* mk/reachable-protect-detached-head:
  reachable.c: add HEAD to reachability starting commits
</pre>
</div>
</content>
</entry>
</feed>
