Search code examples
tig

Error while trying to set config in tigrc


I've below line in my tigrc file

set commit-title-graph = no

I'm getting this error when I run any tig command, and I'm not able to fine what it the issue.

tig warning: ~/.tigrc:1: Unknown option name: commit-title-graph
tig warning: Errors while loading /Users/johndoe/.tigrc.

Solution

  • According to man tigrc, commit-title is one of options in View Settings, not a variable. So the use case is like this:

    set main-view = \
        date:relative \
        author:abbreviated \
        id \
        commit-title:graph=v2,refs=true