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

Support log.follow automatically #881

Closed
duncanmak opened this issue Jan 2, 2019 · 1 comment
Closed

Support log.follow automatically #881

duncanmak opened this issue Jan 2, 2019 · 1 comment

Comments

@duncanmak
Copy link

tig has the --follow option (#361), but since Git 2.9, there's a git config option called log.follow.

log.follow

If true, git log will act as if the --follow option was used when a single <path> is 
given. This has the same limitations as --follow, i.e. it cannot be used to follow 
multiple files and does not work well on non-linear history.

If this is turned on, tig gets a bit confused, and the commits start veering off to the right.

It would be great if --follow can be turned on automatically if log.follow is enabled.

I'm running tig version 2.4.1 on OS X.

@jonas jonas closed this as completed in 7cb680b Mar 22, 2019
jonas added a commit that referenced this issue Mar 22, 2019
Disable graph when a pathspec is specified
@duncanmak
Copy link
Author

Thanks @jonas!

With this change, what happens if log.follow is enabled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant