Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parsing of repo info, for case when current dir starting from dot #172

Commits on Jul 18, 2013

  1. Fix parsing of repo info, for case when current dir starting from dot

    In this case command
    $(git rev-parse --git-dir --is-inside-work-tree --show-cdup --show-prefix)
    will print some thing like this:
    {code}
    /tig/.git
    true
    ../
    .started-from-dot/
    {/code}
    
    And after this in read_repo_info() it will overwrite "opt_cdup", by
    "--show-prefix" value, and for example $(tig blame ../io.h) from
    ".started-from-dot" directory will fail, because of wrong opt_cdup.
    azat committed Jul 18, 2013
    Configuration menu
    Copy the full SHA
    50f1519 View commit details
    Browse the repository at this point in the history