<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/cmd.c, branch lh/grep</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/cmd.c?h=lh%2Fgrep</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/cmd.c?h=lh%2Fgrep'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2012-10-16T21:57:00Z</updated>
<entry>
<title>Grep the source, Luke</title>
<updated>2012-10-16T21:57:00Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-22T08:49:57Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=c028b604ef666d64a8aa9ebdfcf69675cd5d13fb'/>
<id>urn:sha1:c028b604ef666d64a8aa9ebdfcf69675cd5d13fb</id>
<content type='text'>
This is a PoC for grepping the blobs in the current tree.

Signed-off-by: Lars Hjemli &lt;larsh@hjemli.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'lh/panel'</title>
<updated>2011-05-23T21:29:24Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-05-23T21:29:24Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=2ffeecb7a6827dcf0f81cf543ed312155f6e8f83'/>
<id>urn:sha1:2ffeecb7a6827dcf0f81cf543ed312155f6e8f83</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'dm/disable-clone'</title>
<updated>2011-05-14T18:00:33Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-05-14T18:00:33Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=4837fddc35bbd8d6f66a40486f75cdee3197172d'/>
<id>urn:sha1:4837fddc35bbd8d6f66a40486f75cdee3197172d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ui-diff.c: create a control panel for diff options</title>
<updated>2011-03-06T22:59:56Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-03-06T22:59:56Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=962a24892feb9e3d69542bcf0a219dc14836e921'/>
<id>urn:sha1:962a24892feb9e3d69542bcf0a219dc14836e921</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add is_clone flag to available commands</title>
<updated>2011-02-19T13:57:48Z</updated>
<author>
<name>Dan McGee</name>
<email>dpmcgee@gmail.com</email>
</author>
<published>2011-01-12T18:06:06Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=35d33014fb897cac24f2ae42d8a2d9e005938bd9'/>
<id>urn:sha1:35d33014fb897cac24f2ae42d8a2d9e005938bd9</id>
<content type='text'>
This will be used to make these operations configurable via a config
option.

Signed-off-by: Dan McGee &lt;dpmcgee@gmail.com&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>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>ui-patch: Apply path limit to generated patch</title>
<updated>2010-06-19T08:40:23Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-06-09T23:09:33Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=eac1b675414722ae90df75abc727b2795bc096f0'/>
<id>urn:sha1:eac1b675414722ae90df75abc727b2795bc096f0</id>
<content type='text'>
Also indicate in the comment section of the patch that a path limit was
applied, too easily see when a generated patch is only partial.

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-commit: Limit diff based on path limit in qry.path</title>
<updated>2010-06-19T08:40:23Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-06-09T23:09:32Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=ab42741c49d369e41c1e1915c6c024d79509f7d6'/>
<id>urn:sha1:ab42741c49d369e41c1e1915c6c024d79509f7d6</id>
<content type='text'>
Signed-off-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>struct cgit_cmd: Differentiate between various usages of ctx.qry.path</title>
<updated>2010-06-19T08:40:22Z</updated>
<author>
<name>Johan Herland</name>
<email>johan@herland.net</email>
</author>
<published>2010-06-09T23:09:26Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=0ff143df7043b7dd87c31c50fa875bc96d1a7779'/>
<id>urn:sha1:0ff143df7043b7dd87c31c50fa875bc96d1a7779</id>
<content type='text'>
For many commands/pages (e.g. 'tree', 'diff', 'plain', etc.), the
ctx.qry.path argument is interpreted as a path within the "virtual" project
directory structure. However, for some other commands (notably 'refs', and
the clone-related commands) ctx.qry.path is used in a different context (as
a more or less "real" path within the '.git' directory).

This patch differentiates between these two usages of ctx.qry.path, by
introducing a new variable - ctx.qry.vpath - which is equal to ctx.qry.path
in the former case, and NULL in the latter.

This will become useful in future patches when we want various pages and the
links between them to preserve existing in-project paths.

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