<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git, branch v1.7.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.7.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.7.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2010-07-21T19:55:50Z</updated>
<entry>
<title>Git 1.7.2</title>
<updated>2010-07-21T19:55:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-07-21T19:55:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=64fdc08dac6694d1e754580e7acb82dfa4988bb9'/>
<id>urn:sha1:64fdc08dac6694d1e754580e7acb82dfa4988bb9</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>tests: correct "does reflog exist?" tests</title>
<updated>2010-07-21T19:54:48Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-07-21T19:47:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6e6842e36f8c6c12ae0ddd7db98cd900b25bb8dc'/>
<id>urn:sha1:6e6842e36f8c6c12ae0ddd7db98cd900b25bb8dc</id>
<content type='text'>
These two tests weren't about how "git reflog show &lt;branch&gt;" exits when
there is no reflog, but were about "checkout" and "branch" create or not
create reflog when creating a new &lt;branch&gt;.  Update the tests to check
what we are interested in, using "git rev-parse --verify".

Also lose tests based on "test -f .git/logs/refs/heads/&lt;branch&gt;" from
nearby, to avoid exposing this particular implementation detail
unnecessarily.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t/: work around one-shot variable assignment with test_must_fail</title>
<updated>2010-07-21T18:54:34Z</updated>
<author>
<name>Brandon Casey</name>
<email>drafnel@gmail.com</email>
</author>
<published>2010-07-20T21:55:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b1edaf669d483e983f1849ce804baa178387e9a9'/>
<id>urn:sha1:b1edaf669d483e983f1849ce804baa178387e9a9</id>
<content type='text'>
See e2007832552ccea9befed9003580c494f09e666e

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t/README: correct an exception when breaking a &amp;&amp; chain in tests</title>
<updated>2010-07-21T18:52:26Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2010-07-21T00:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bdcaa325b47fcacfecb781a28801aafc249ba288'/>
<id>urn:sha1:bdcaa325b47fcacfecb781a28801aafc249ba288</id>
<content type='text'>
The correct advice should have been taken from c289c31 (t/t7006: ignore
return status of shell's unset builtin, 2010-06-02).  A real-life issue
we experienced was with "unset", not with "export" (exporting an
unset variable may have similar portability issues, though).

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t/{t5541,lib-httpd}: replace problematic '!()' notation with test_must_fail</title>
<updated>2010-07-20T18:37:45Z</updated>
<author>
<name>Brandon Casey</name>
<email>drafnel@gmail.com</email>
</author>
<published>2010-07-20T18:27:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=77b5be2abab69a69618dd40a6ca8b754388b8216'/>
<id>urn:sha1:77b5be2abab69a69618dd40a6ca8b754388b8216</id>
<content type='text'>
The '!()' notation is interpreted as a pattern-list on Ksh.  The Ksh man
page describe it as follows:

   !(pattern-list)
      Matches anything except one of the given patterns.

Ksh performs a file glob using the pattern-list and then tries to execute
the first file in the list.  If a space is added between the '!' and the
open parens, then Ksh will not interpret it as a pattern list, but in this
case, it is preferred to use test_must_fail, so lets do so.

Signed-off-by: Brandon Casey &lt;casey@nrlssc.navy.mil&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t/t3700: convert two uses of negation operator '!' to use test_must_fail</title>
<updated>2010-07-20T18:37:26Z</updated>
<author>
<name>Brandon Casey</name>
<email>drafnel@gmail.com</email>
</author>
<published>2010-07-20T15:24:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=460d562eab00070dfeb54f6ecbf803ad14aed4a5'/>
<id>urn:sha1:460d562eab00070dfeb54f6ecbf803ad14aed4a5</id>
<content type='text'>
These two lines use the negation '!' operator to negate the result of a
simple command.  Since these commands do not contain any pipes or other
complexities, the test_must_fail function can be used and is preferred
since it will additionally detect termination due to a signal.

This was noticed because the second use of '!' does not include a space
between the '!' and the opening parens.  Ksh interprets this as follows:

   !(pattern-list)
      Matches anything except one of the given patterns.

Ksh performs a file glob using the pattern-list and then tries to execute
the first file in the list.  If a space is added between the '!' and the
open parens, then Ksh will not interpret it as a pattern list, but in this
case, it is preferred to use test_must_fail, so lets do so.

Signed-off-by: Brandon Casey &lt;casey@nrlssc.navy.mil&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2010-07-20T18:29:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-07-20T18:29:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5f7baac1e34440d3805ef488c97af748f3c20640'/>
<id>urn:sha1:5f7baac1e34440d3805ef488c97af748f3c20640</id>
<content type='text'>
* maint:
  t/README: clarify test_must_fail description
  Check size of path buffer before writing into it

Conflicts:
	t/README
</content>
</entry>
<entry>
<title>t/README: clarify test_must_fail description</title>
<updated>2010-07-20T18:26:39Z</updated>
<author>
<name>Brandon Casey</name>
<email>drafnel@gmail.com</email>
</author>
<published>2010-07-20T17:17:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=971ecbd1f8d1468951274d01103f80dd7d32d110'/>
<id>urn:sha1:971ecbd1f8d1468951274d01103f80dd7d32d110</id>
<content type='text'>
Some have found the wording of the description to be somewhat ambiguous
with respect to when it is desirable to use test_must_fail instead of
"! &lt;git-command&gt;".  Tweak the wording somewhat to hopefully clarify that
it is _because_ test_must_fail can detect segmentation fault that it is
desirable to use it instead of "! &lt;git-command&gt;".

Signed-off-by: Brandon Casey &lt;casey@nrlssc.navy.mil&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Check size of path buffer before writing into it</title>
<updated>2010-07-20T16:17:39Z</updated>
<author>
<name>Greg Brockman</name>
<email>gdb@MIT.EDU</email>
</author>
<published>2010-07-20T04:46:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3c9d0414ed2db0167e6c828b547be8fc9f88fccc'/>
<id>urn:sha1:3c9d0414ed2db0167e6c828b547be8fc9f88fccc</id>
<content type='text'>
This prevents a buffer overrun that could otherwise be triggered by
creating a file called '.git' with contents

  gitdir: (something really long)

Signed-off-by: Greg Brockman &lt;gdb@mit.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2010-07-19T18:21:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-07-19T18:21:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c5212b87dafb3f559ceb898bd9b40bfc3cd0ad68'/>
<id>urn:sha1:c5212b87dafb3f559ceb898bd9b40bfc3cd0ad68</id>
<content type='text'>
* maint:
  update-server-info: Shorten read_pack_info_file()
  Documentation: Explain git-mergetool's use of temporary files
</content>
</entry>
</feed>
