<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/shared.c, branch v0.9</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/shared.c?h=v0.9</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/shared.c?h=v0.9'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2010-11-16T07:18:36Z</updated>
<entry>
<title>ui-log: Implement support for commit graphs</title>
<updated>2010-11-16T07:18:36Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-11-15T17:39:50Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=9a8d39c668b98464bac97d4e5442966de63f97b2'/>
<id>urn:sha1:9a8d39c668b98464bac97d4e5442966de63f97b2</id>
<content type='text'>
Teach CGit to print an ASCII art commit graph to the left of the commit
message, similar to 'git log --graph'. The graph adds extra lines (table
rows) to the log when needed to add/remove/shuffle edges in the graph.

When 'showmsg' is enabled, the graph is automatically padded to account
for the extra lines added by the commit message/notes.

This feature is controlled by a new config variable: "enable-commit-graph"
(disabled by default), and individual repos can control it by setting
"repo.enable-commit-graph".

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-log: Fix filecount/linecount when path limit is in effect</title>
<updated>2010-11-09T15:37:39Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-09-30T18:15:14Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=1415f3f3e017d0123e850707c55cb7e5e5887406'/>
<id>urn:sha1:1415f3f3e017d0123e850707c55cb7e5e5887406</id>
<content type='text'>
When using ui-log with path limits, the listing of commits enables parent
rewriting in Git's internal log machinery. This did not work well together
with cgit_diff_commit() which is used to generate the filecount and
linecount numbers for each commit in the log view. cgit_diff_commit() would
operate without any path limits, and would therefore process the full diff
between the commits shown (which, because of parent rewriting, is not the
same as processing the diff for the commit itself). Additionally, the bottom
commit in the log view would (again, because of parent rewriting) have zero
parents, causing us to process the entire diff between the empty tree and
that commit. Since path limits were not in effect, this would (in large
projects) reports thousands of files and millions of lines changed in that
bottom commit.

This patch fixes the issue by applying the same path limit to
cgit_diff_commit() as is applied to the rest of the log view. The result is
that the filecount/linecount now only reflects the diff as it pertains to
the given path limit.

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add support for "readme" option</title>
<updated>2010-08-22T11:35:47Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2010-08-21T13:08:01Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=515edb0da3b9156e07e269621d7474cdea82acaf'/>
<id>urn:sha1:515edb0da3b9156e07e269621d7474cdea82acaf</id>
<content type='text'>
The value of this option is used as the default value for repo.readme.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jh/ignorews'</title>
<updated>2010-07-18T13:03:30Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2010-07-18T13:03:30Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=6821d8ea4a64d15b8f284d1af01ab184ef1e76c3'/>
<id>urn:sha1:6821d8ea4a64d15b8f284d1af01ab184ef1e76c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'lh/macros'</title>
<updated>2010-07-18T13:03:08Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2010-07-18T13:03:08Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=5c5d189635287a3bfaa1a4aef133dc0c582a27c2'/>
<id>urn:sha1:5c5d189635287a3bfaa1a4aef133dc0c582a27c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add URL parameter 'ignorews' for optionally ignoring whitespace in diffs</title>
<updated>2010-07-18T08:53:48Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-06-24T15:52:57Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=2cc8b99f083014c58d8937bfa4dcd2bc47cd7e58'/>
<id>urn:sha1:2cc8b99f083014c58d8937bfa4dcd2bc47cd7e58</id>
<content type='text'>
The new ctx.qry.ignorews variable is passed via cgit_diff_files() and
cgit_diff_tree() to Git's diff machinery. This is equivalent to passing
--ignore-all-space to 'git diff'.

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jh/context-lines'</title>
<updated>2010-06-22T14:16:12Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2010-06-22T14:16:12Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=6f92f332e6a9ee3e16051bda9fe148607af67f65'/>
<id>urn:sha1:6f92f332e6a9ee3e16051bda9fe148607af67f65</id>
<content type='text'>
Conflicts:
	cgit.c
	cgit.h
</content>
</entry>
<entry>
<title>Merge branch 'jh/path-limit'</title>
<updated>2010-06-22T14:15:48Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2010-06-22T14:15:48Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=37a24e4e39737edaa5cdde501346a65eeb280e63'/>
<id>urn:sha1:37a24e4e39737edaa5cdde501346a65eeb280e63</id>
<content type='text'>
Conflicts:
	cgit.h
	ui-commit.c
</content>
</entry>
<entry>
<title>Add URL parameter 'context' for changing the number of context lines in diffs</title>
<updated>2010-06-19T11:00:07Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-06-10T18:15:27Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=6180e6169d6e87a3bea7e4da835dca17f93e5cfd'/>
<id>urn:sha1:6180e6169d6e87a3bea7e4da835dca17f93e5cfd</id>
<content type='text'>
The new ctx.qry.context variable is picked up by cgit_print_diff(), and
passed via cgit_diff_files() to Git's diff machinery.

Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sn/subject-link'</title>
<updated>2010-06-19T09:38:46Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2010-06-19T09:38:46Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=9af580d8f6e31ccd68307a728a710c525e4133ab'/>
<id>urn:sha1:9af580d8f6e31ccd68307a728a710c525e4133ab</id>
<content type='text'>
</content>
</entry>
</feed>
