From: Jonas Fonseca Date: Tue, 11 Apr 2006 00:35:28 +0000 (+0200) Subject: Show root; blast raw diff lines X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=67392cc46c61bba11049781e78240130c6f66fc7;p=tig.git Show root; blast raw diff lines --- diff --git a/cgit.c b/cgit.c index a22dfbe..6461e54 100644 --- a/cgit.c +++ b/cgit.c @@ -119,7 +119,7 @@ init(void) #define LOG_CMD \ "git-rev-list $(git-rev-parse --since=1.month) HEAD | " \ - "git-diff-tree --stdin --pretty -r" + "git-diff-tree --stdin --pretty -r --root" static void log_filter(char *line, int lineno) @@ -160,10 +160,12 @@ log_filter(char *line, int lineno) wattrset(mainwin, COLOR_PAIR(COLOR_MAGENTA)); } else if (line[0] == ':') { + pipe_lineno--; log_filter_skip = 1; return; } else if (log_filter_skip) { + pipe_lineno--; log_filter_skip = 0; return;