<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t, 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:54:48Z</updated>
<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>git submodule add: Require the new --force option to add ignored paths</title>
<updated>2010-07-19T18:10:43Z</updated>
<author>
<name>Jens Lehmann</name>
<email>Jens.Lehmann@web.de</email>
</author>
<published>2010-07-17T15:11:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d27b876b284b8fb82db971bc7cea8c9782614ab2'/>
<id>urn:sha1:d27b876b284b8fb82db971bc7cea8c9782614ab2</id>
<content type='text'>
To make the behavior of "git submodule add" more consistent with "git add"
ignored submodule paths should not be silently added when they match an
entry in a .gitignore file. To be able to override that default behavior
in the same way as we can do that for "git add", the new option "--force"
is introduced.

Signed-off-by: Jens Lehmann &lt;Jens.Lehmann@web.de&gt;
Acked-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jl/add-n-ignore-missing'</title>
<updated>2010-07-19T18:09:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-07-19T18:09:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8fbe9b32ce6f5e12ba3f8b9d4e3ccb0b8acf529f'/>
<id>urn:sha1:8fbe9b32ce6f5e12ba3f8b9d4e3ccb0b8acf529f</id>
<content type='text'>
* jl/add-n-ignore-missing:
  git add: Add the "--ignore-missing" option for the dry run
</content>
</entry>
<entry>
<title>Only run aggregate-results over actual counts</title>
<updated>2010-07-16T20:25:01Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2010-07-16T09:37:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7ea3ddf818dbd59ae8002e98f56e60742746db45'/>
<id>urn:sha1:7ea3ddf818dbd59ae8002e98f56e60742746db45</id>
<content type='text'>
The current make target 'aggregate-results' scanned all files matching
test-results/t*-*.  Normally these are only the test counts (and the
exit values, which are ignored), but with --tee the suite also dumps
all output.  Furthermore, with --verbose t1450 contains several lines
starting with "broken link from ..." which matches the criteria used
by aggregate-results.sh.

Rename the counts output files to *.counts, and only scan those.

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