Increase commit.title size from 75 to 128
authorAlexey Tourbin <at@altlinux.ru>
Sun, 29 Oct 2006 14:17:22 +0000 (15:17 +0100)
committerJonas Fonseca <fonseca@diku.dk>
Sun, 29 Oct 2006 14:20:48 +0000 (15:20 +0100)
Courtesy of Dmitry Levin, my current aterm session has COLUMNS=141
(1280x1024 with standard 9x15 font).  So in the main view I can see
some commit headlines truncated.  Changing hedline size from 75 to 128
characters seems to be reasonable.

tig.c

diff --git a/tig.c b/tig.c
index 8ccce74..5255e14 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -2683,7 +2683,7 @@ static struct view_ops blob_ops = {
 
 struct commit {
        char id[SIZEOF_REV];            /* SHA1 ID. */
-       char title[75];                 /* First line of the commit message. */
+       char title[128];                /* First line of the commit message. */
        char author[75];                /* Author of the commit. */
        struct tm time;                 /* Date from the author ident. */
        struct ref **refs;              /* Repository references. */