aboutsummaryrefslogtreecommitdiffstats
path: root/ui-tree.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2011-06-22 08:49:57 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2012-10-16 23:57:00 +0200
commitc028b604ef666d64a8aa9ebdfcf69675cd5d13fb (patch)
tree9c69df9b766d56d3c91c7c88c5ceb8ba40cb9dc1 /ui-tree.h
parentui-repolist: Rename section-sort to repository-sort. (diff)
downloadcgit-lh/grep.tar.xz
cgit-lh/grep.zip
Grep the source, Lukelh/grep
This is a PoC for grepping the blobs in the current tree. Signed-off-by: Lars Hjemli <larsh@hjemli.net>
Diffstat (limited to 'ui-tree.h')
-rw-r--r--ui-tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-tree.h b/ui-tree.h
index bbd34e3..2e0851f 100644
--- a/ui-tree.h
+++ b/ui-tree.h
@@ -2,5 +2,6 @@
#define UI_TREE_H
extern void cgit_print_tree(const char *rev, char *path);
+extern void cgit_grep(const char *rev, char *path, char *grep);
#endif /* UI_TREE_H */