Skip to content

Commit

Permalink
Remove unused blame line attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas committed Apr 6, 2008
1 parent 1f1349b commit fcd29a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tig.c
Original file line number Diff line number Diff line change
Expand Up @@ -607,8 +607,6 @@ LINE(STAT_NONE, "", COLOR_DEFAULT, COLOR_DEFAULT, 0), \
LINE(STAT_STAGED, "", COLOR_MAGENTA, COLOR_DEFAULT, 0), \
LINE(STAT_UNSTAGED,"", COLOR_MAGENTA, COLOR_DEFAULT, 0), \
LINE(STAT_UNTRACKED,"", COLOR_MAGENTA, COLOR_DEFAULT, 0), \
LINE(BLAME_AUTHOR, "", COLOR_GREEN, COLOR_DEFAULT, 0), \
LINE(BLAME_COMMIT, "", COLOR_DEFAULT, COLOR_DEFAULT, 0), \
LINE(BLAME_ID, "", COLOR_MAGENTA, COLOR_DEFAULT, 0)

enum line_type {
Expand Down Expand Up @@ -3533,7 +3531,7 @@ blame_read_file(struct view *view, char *line)
blame->commit = NULL;
strncpy(blame->text, line, linelen);
blame->text[linelen] = 0;
return add_line_data(view, blame, LINE_BLAME_COMMIT) != NULL;
return add_line_data(view, blame, LINE_BLAME_ID) != NULL;
}
}

Expand Down

0 comments on commit fcd29a2

Please sign in to comment.