~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a2d5d9e
)
More blame view fixes
author
Jonas Fonseca
<fonseca@diku.dk>
Sun, 23 Mar 2008 13:50:48 +0000
(14:50 +0100)
committer
Jonas Fonseca
<fonseca@diku.dk>
Sun, 23 Mar 2008 13:51:05 +0000
(14:51 +0100)
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index
493c428
..
1f4c620
100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-3414,6
+3414,8
@@
blame_open(struct view *view)
view->offset = view->lines = view->lineno = 0;
view->line = NULL;
view->start_time = time(NULL);
view->offset = view->lines = view->lineno = 0;
view->line = NULL;
view->start_time = time(NULL);
+
+ return TRUE;
}
static struct blame_commit *
}
static struct blame_commit *
@@
-3465,7
+3467,6
@@
parse_blame_commit(struct view *view, char *text, int *blamed)
char *pos = text + SIZEOF_REV - 1;
size_t lineno;
size_t group;
char *pos = text + SIZEOF_REV - 1;
size_t lineno;
size_t group;
- struct line *line;
if (strlen(text) <= SIZEOF_REV || *pos != ' ')
return NULL;
if (strlen(text) <= SIZEOF_REV || *pos != ' ')
return NULL;