…mmands For example, :rev-parse %(commit) -> git rev-parse <current commit ID>.
Also, color the different parts of the diff stat: file, +'s and -'s.
The "All branches" branch has a NULL author pointer and will cause a segfault when sorting the branches view by author. Also it should be always at the top. Signed-off-by: Sven Wegener <email@example.com> Signed-off-by: Jonas Fonseca <firstname.lastname@example.org>
Usually, OPT_OK != OK, so we'd usually treat success as an error, leading e.g. to errors like "Unable to parse '42' as a line number". Reported by Christian Ohm in Debian bug #626124. Signed-off-by: Sebastian Harl <email@example.com>
Problem: On a tr_TR.UTF-8 locale, adding a key binding to tigrc can not be correctly parsed if the keymap contains 'i' like main, generic, etc. as they are wrongly converted to upper case. In languages like Turkish, 'i' is not converted to 'I' as they're different characters. So one should never use locale-aware conversion methods which will break things in some locales. See: http://www.mattryall.net/blog/2009/02/the-infamous-turkish-locale-bug Signed-off-by: Jonas Fonseca <firstname.lastname@example.org>
Fixes regression introduced in recent refactorings.