<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/tests/t0105-commit.sh, branch ch/git-2-54</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>https://git.zx2c4.com/cgit/atom/tests/t0105-commit.sh?h=ch%2Fgit-2-54</id>
<link rel='self' href='https://git.zx2c4.com/cgit/atom/tests/t0105-commit.sh?h=ch%2Fgit-2-54'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/'/>
<updated>2020-10-20T21:57:12Z</updated>
<entry>
<title>global: replace hard coded hash length</title>
<updated>2020-10-20T21:57:12Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2020-10-20T21:46:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=a4de0e810b69710c3b32f6d253d80d16dec09f36'/>
<id>urn:sha1:a4de0e810b69710c3b32f6d253d80d16dec09f36</id>
<content type='text'>
With sha1 we had a guaranteed length of 40 hex chars. This changes now
that we have to support sha256 with 64 hex chars... Support both.

Signed-off-by: Christian Hesse &lt;mail@eworm.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/t0105-commit.sh: expect commit decorations</title>
<updated>2009-01-27T21:59:23Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-01-27T21:59:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=38fde35f9a28263e3e89dc9504cb8fb72d98a748'/>
<id>urn:sha1:38fde35f9a28263e3e89dc9504cb8fb72d98a748</id>
<content type='text'>
When a commit is referenced by a branch or tag the commit subject-
line will be suffixed with the proper decorations, hence the test
for this line needs to be updated.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Include commit-id in link from diff-stat</title>
<updated>2008-05-18T19:33:30Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-05-18T19:21:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=8907f2a03195abec409540ab11293fe748468413'/>
<id>urn:sha1:8907f2a03195abec409540ab11293fe748468413</id>
<content type='text'>
This fixes a regression created by fe1230dece81450004d02fa8a470f8dab8f7fdd9,
and modifies a test to avoid future regressions.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-commit: handle root commits</title>
<updated>2008-05-18T19:13:21Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2008-05-18T19:09:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=502d57596e645ec91bb9b8ca62833cdb0de4a3b1'/>
<id>urn:sha1:502d57596e645ec91bb9b8ca62833cdb0de4a3b1</id>
<content type='text'>
Both cgit_print_diff() and cgit_diff_tree() handles root commits nicely,
but cgit_print_commit() forgot to check the case of 0 parents.

This fixes it, and adds tests to avoid future regressions.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix html error detected by test-suite</title>
<updated>2007-11-11T12:04:28Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-11-11T12:04:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=2915483ef6c9c29ac1493e6945688bb62f7825b4'/>
<id>urn:sha1:2915483ef6c9c29ac1493e6945688bb62f7825b4</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Create initial testsuite</title>
<updated>2007-11-11T11:00:13Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-11-10T23:40:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=b4649fc90597910c89c3f37a6aec9af54d9f416b'/>
<id>urn:sha1:b4649fc90597910c89c3f37a6aec9af54d9f416b</id>
<content type='text'>
This creates a simple testsuite, heavily inspired by the testsuite in git.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
</feed>
