From: Alexey Tourbin Date: Sun, 29 Oct 2006 14:17:22 +0000 (+0100) Subject: Increase commit.title size from 75 to 128 X-Git-Tag: tig-0.6~4^2~3 X-Git-Url: https://git.distorted.org.uk/~mdw/tig/commitdiff_plain/aea510c85bbf27d4cc7603b026ab760f98de6bb1?hp=cf4d82e60e23c1a6a457c2df0b9b4c8afef40bef Increase commit.title size from 75 to 128 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. --- diff --git a/tig.c b/tig.c index 8ccce74..5255e14 100644 --- 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. */