No need to use --stat for the default TIG_MAIN_CMD
authorJonas Fonseca <fonseca@diku.dk>
Wed, 12 Jul 2006 20:40:09 +0000 (22:40 +0200)
committerJonas Fonseca <fonseca@antimatter.localdomain>
Wed, 12 Jul 2006 20:40:09 +0000 (22:40 +0200)
My plans to use it to add special categorization/highlighting to commits
never became interesting. Now the complete history of the grafted ELinks'
repo loads in 4 seconds instead of some 240 seconds.

tig.c

diff --git a/tig.c b/tig.c
index 01cc75c..8bae0d5 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -80,7 +80,7 @@ static size_t utf8_length(const char *string, size_t max_width, int *coloffset,
        "git log --cc --stat -n100 %s"
 
 #define TIG_MAIN_CMD \
-       "git log --topo-order --stat --pretty=raw %s"
+       "git log --topo-order --pretty=raw %s"
 
 /* XXX: Needs to be defined to the empty string. */
 #define TIG_HELP_CMD   ""