summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 900666f)
raw | patch | inline | side by side (parent: 900666f)
author | Jonas Fonseca <fonseca@diku.dk> | |
Sun, 21 May 2006 02:08:52 +0000 (04:08 +0200) | ||
committer | Jonas Fonseca <fonseca@antimatter.localdomain> | |
Sun, 21 May 2006 02:08:52 +0000 (04:08 +0200) |
tig.c | patch | blob | history |
index faf9193b85db08112f9437213bf82b84421a2e19..53d477025f2422f70c3debf127dbdef8bcf87c83 100644 (file)
--- a/tig.c
+++ b/tig.c
unsigned int next:1; /* For ref lists: are there more refs? */
};
-struct commit {
- char id[41]; /* SHA1 ID. */
- char title[75]; /* The first line of the commit message. */
- char author[75]; /* The author of the commit. */
- struct tm time; /* Date from the author ident. */
- struct ref **refs; /* Repository references; tags & branch heads. */
-};
+static struct ref **get_refs(char *id);
/*
/*
- * View backend handlers
+ * Pager backend
*/
static bool
};
-static struct ref **get_refs(char *id);
+/*
+ * Main view backend
+ */
+
+struct commit {
+ char id[41]; /* SHA1 ID. */
+ char title[75]; /* The first line of the commit message. */
+ char author[75]; /* The author of the commit. */
+ struct tm time; /* Date from the author ident. */
+ struct ref **refs; /* Repository references; tags & branch heads. */
+};
static bool
main_draw(struct view *view, unsigned int lineno)