<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-log.c, branch lh/grep</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/ui-log.c?h=lh%2Fgrep</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/ui-log.c?h=lh%2Fgrep'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2012-01-03T16:06:58Z</updated>
<entry>
<title>Merge branch 'stable'</title>
<updated>2012-01-03T16:06:58Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2012-01-03T16:06:58Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=04254fa903701943bd45a479a952cc213a5b112a'/>
<id>urn:sha1:04254fa903701943bd45a479a952cc213a5b112a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ui-log.c: do not show remote heads if enable-remote-branches=0</title>
<updated>2012-01-03T15:35:06Z</updated>
<author>
<name>Georg Müller</name>
<email>georgmueller@gmx.net</email>
</author>
<published>2012-01-03T15:30:50Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=0b6a716d1b9f18e8cc00940a7962e542b9358238'/>
<id>urn:sha1:0b6a716d1b9f18e8cc00940a7962e542b9358238</id>
<content type='text'>
If remote branches are not enabled, the branches are still listed in
the log view. This patch removes them if enable-remote-branches=0.
</content>
</entry>
<entry>
<title>Merge branch 'stable'</title>
<updated>2011-06-02T10:33:23Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-02T10:33:23Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=7eb9f9e980c2ce1d93c979c4725cf7b60083b7b4'/>
<id>urn:sha1:7eb9f9e980c2ce1d93c979c4725cf7b60083b7b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ui-log.c: do not link from age column</title>
<updated>2011-06-02T10:30:26Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-02T10:30:26Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=d885158f6ac29e04bd14dd132331c7e3a93e7490'/>
<id>urn:sha1:d885158f6ac29e04bd14dd132331c7e3a93e7490</id>
<content type='text'>
The link url wasn't properly escaped, and since the link was identical
to the one used on the commit message it didn't serve any special purpose.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>make enable-log-linecount independent of -filecount</title>
<updated>2011-03-26T14:20:55Z</updated>
<author>
<name>Julius Plenz</name>
<email>plenz@cis.fu-berlin.de</email>
</author>
<published>2011-03-10T16:03:22Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=2e6721edbb3c94a70f4ef0ead5e55b9da19fb806'/>
<id>urn:sha1:2e6721edbb3c94a70f4ef0ead5e55b9da19fb806</id>
<content type='text'>
You should be able to independently switch file and line count on and
off. This patch makes the code work like the documentation suggests: no
dependency for line counts to be displayed only when file counts are.

Signed-off-by: Julius Plenz &lt;plenz@cis.fu-berlin.de&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-log: Move 'Age' column when commit graph is present</title>
<updated>2010-11-16T07:18:37Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-11-15T17:39:53Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=c2bfd40f8aaaa69a66c6eb729c202e42a43ec166'/>
<id>urn:sha1:c2bfd40f8aaaa69a66c6eb729c202e42a43ec166</id>
<content type='text'>
When the commit graph is present, we prefer to draw it along the left edge,
and moving the 'Age' column to the right of the 'Author' column, like in gitk.

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: Line-wrap long commit subjects when showmsg is enabled</title>
<updated>2010-11-16T07:18:37Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-11-15T17:39:52Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=ad230267f8ecae6cb4f0da17d7a5f75ba38203e2'/>
<id>urn:sha1:ad230267f8ecae6cb4f0da17d7a5f75ba38203e2</id>
<content type='text'>
When showmsg is disabled ui-log truncates long commit subjects. This is good.
However, the same is not desirable when showmsg is enabled, since you then
end up with a truncated commit subject followed by the rest of the commit
message below.

Instead, when showmsg is enabled (and we're using all this space to display
the entire commit message, anyway), line-wrap the commit subject instead of
truncating it.

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: Colorize commit graph</title>
<updated>2010-11-16T07:18:37Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-11-15T17:39:51Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=268b34af23cdcac87aed3300bfe6154cbc65753e'/>
<id>urn:sha1:268b34af23cdcac87aed3300bfe6154cbc65753e</id>
<content type='text'>
Use the existing coloring logic in Git's graph code to color the lines
between commits in the commit graph.

Whereas Git normally uses ANSI color escapes to produce colors, we here
use graph_set_column_colors() to replace those with HTML color escapes,
that embed the graph lines in &lt;span&gt; tags that apply the desired color
using CSS.

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: 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: Change display of full commit messages (and notes)</title>
<updated>2010-11-16T07:18:36Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-11-15T17:39:49Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=5a36c2a291a00b59b8ec2f112453e117797c2fe5'/>
<id>urn:sha1:5a36c2a291a00b59b8ec2f112453e117797c2fe5</id>
<content type='text'>
When showmsg is enabled, ui-log (in addition to the table row containing
the details of the current commit) adds a second table row containing the
remainder of the commit message, and yet another table row containing the
commit notes (if any). The vertical margins between commit subject, commit
message and commit notes are controlled by CSS.

In preparation for the commit graph (which will be printed to the left of
the commit message/notes) we need to eliminate these vertical margins (as
they would produce ugly gaps in the commit graph) and instead achieve them
by adding newlines to the commit message/notes. Furthermore, we can no
longer print the "Notes:" header in the "Age" column, since the graph will
be drawn between the "Age" column and the "Commit message" column.

This patch therefore prepares the commit message and commit notes in a
single buffer (properly formatting the notes using the NOTES_SHOW_HEADER
and NOTES_INDENT flags to format_note()), and then prints the entire
buffer into a single table row.

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