<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/tests/t0108-patch.sh, branch v1.2.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>https://git.zx2c4.com/cgit/atom/tests/t0108-patch.sh?h=v1.2.2</id>
<link rel='self' href='https://git.zx2c4.com/cgit/atom/tests/t0108-patch.sh?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/'/>
<updated>2014-12-28T13:44:44Z</updated>
<entry>
<title>ui-patch: match git-format-patch(1) output</title>
<updated>2014-12-28T13:44:44Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2014-12-28T13:10:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=7552266aaccb9445e082fc04215afcb55ad543d8'/>
<id>urn:sha1:7552266aaccb9445e082fc04215afcb55ad543d8</id>
<content type='text'>
Using (DIFF_FORMAT_DIFFSTAT | DIFF_FORMAT_PATCH) causes Git to emit a
"---" line between the commit message and the body of the patch, which
fixes a regression introduced in commit 455b598 (ui-patch.c: Use
log_tree_commit() to generate diffs, 2013-08-20), prior to which we
inserted the "---" line ourselves.

DIFF_FORMAT_SUMMARY is added so that we match the output of
git-format-patch(1) without the "-p" option.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>t0108: modernize style</title>
<updated>2014-12-28T13:43:51Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2014-12-28T13:10:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=ce8f4902295fbc774454362600007c971770631a'/>
<id>urn:sha1:ce8f4902295fbc774454362600007c971770631a</id>
<content type='text'>
* &amp;&amp;-chaining
* use test_cmp instead of cmp
* use strip_headers instead of knowing how many lines there will be

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>t0108: Add tests for revision ranges</title>
<updated>2013-08-26T19:03:53Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2013-08-26T18:38:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=5a8862723f6609b916a8550e190087b47f1e5f38'/>
<id>urn:sha1:5a8862723f6609b916a8550e190087b47f1e5f38</id>
<content type='text'>
Add tests to check whether generating multiple patches at once works.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>t0108: Compare output with git-format-patch(1)</title>
<updated>2013-08-26T19:03:35Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2013-08-26T18:38:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=b5b1f0715ad2e5db133c7f14217a14c0bffcd8ac'/>
<id>urn:sha1:b5b1f0715ad2e5db133c7f14217a14c0bffcd8ac</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>ui-patch.c: Add additional newline after each patch</title>
<updated>2013-08-26T19:03:23Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2013-08-26T18:38:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=840858594e8b48560541792b717a71dd802d5d80'/>
<id>urn:sha1:840858594e8b48560541792b717a71dd802d5d80</id>
<content type='text'>
For consistency with git-format-patch(1).

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>t0108: Avoid unnecessary fork()</title>
<updated>2013-08-26T19:01:11Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2013-08-26T18:38:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=370535fc70e87e465e0d6b39420b0b6a72056b37'/>
<id>urn:sha1:370535fc70e87e465e0d6b39420b0b6a72056b37</id>
<content type='text'>
Use `git rev-list --max-parents=0 HEAD` instead of `git rev-list HEAD |
tail -1` to get the root commit. This works since Git 1.7.4.2.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>tests: use Git's test framework</title>
<updated>2013-04-08T20:27:11Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-04-01T14:09:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=c95cc5ec56dbb7394015eb18201403be6d80f69b'/>
<id>urn:sha1:c95cc5ec56dbb7394015eb18201403be6d80f69b</id>
<content type='text'>
This allows tests to run in parallel as well as letting us use "prove"
or another TAP harness to run the tests.

Git's test framework requires Git to be fully built before letting any
tests run, so add a new target to the top-level Makefile which builds
all of Git instead of just libgit.a and make the "test" target depend on
that.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>tests: make whitespace consistent</title>
<updated>2013-03-05T00:39:07Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-03-04T21:58:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=f9b801a1746d6c4476b230659d2e1f3714986550'/>
<id>urn:sha1:f9b801a1746d6c4476b230659d2e1f3714986550</id>
<content type='text'>
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>tests: "grep -e" is not portable to all platforms</title>
<updated>2013-03-05T00:38:44Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-03-04T21:58:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=392e07d28a23aec9942b9ed0d122e35d2d268fb9'/>
<id>urn:sha1:392e07d28a23aec9942b9ed0d122e35d2d268fb9</id>
<content type='text'>
The "-e" option to grep is not needed unless specifying more than one
pattern, which we don't do.  Remove it to avoid restricting the tests on
platforms that do not have a grep that recognises "-e".

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
</content>
</entry>
<entry>
<title>tests: handle paths with whitespace</title>
<updated>2012-03-18T10:54:42Z</updated>
<author>
<name>Ferry Huberts</name>
<email>ferry.huberts@pelagic.nl</email>
</author>
<published>2012-03-18T10:43:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=f8492f79a3b1193ae1a412eb7c4f3b0c2b21ecaa'/>
<id>urn:sha1:f8492f79a3b1193ae1a412eb7c4f3b0c2b21ecaa</id>
<content type='text'>
v2: incorporate remarks of Lukas

Signed-off-by: Ferry Huberts &lt;ferry.huberts@pelagic.nl&gt;
</content>
</entry>
</feed>
