main: add toggle for commit title overflow
commit240e3aaf86f619892d4038dcce5af793c85eae70
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Tue, 12 Mar 2013 18:04:04 +0000 (12 14:04 -0400)
committerJonas Fonseca <fonseca@diku.dk>
Sat, 30 Mar 2013 03:08:20 +0000 (29 23:08 -0400)
treebdaafd4be4c2cf68799f83c2ce5e5e3826ce207b
parent374d9dc1f98b881f224de80aa0704edbacc3055d
main: add toggle for commit title overflow

Many developers and tools use the Git convention for commit titles,
as discussed in the git-commit(1) man page:

  Though not required, it's a good idea to begin the commit message with
  a single short (less than 50 character) line summarizing the change

This patch adds the ability to highlight text exceeding a specified
width in commit titles, through a "title-overflow" option.

As a boolean, it enables/disables the highlighting, with a default value
of 50. As a int, it enables and uses the value as the maximum width for
a title to be considered short.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Minor improvement of the option description.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
NEWS
manual.txt
tig.c
tigrc.5.txt