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

allow tig to "follow" renamed files #361

Closed
dustymabe opened this issue Jan 9, 2015 · 2 comments
Closed

allow tig to "follow" renamed files #361

dustymabe opened this issue Jan 9, 2015 · 2 comments

Comments

@dustymabe
Copy link

Is it possible to have tig "follow" history of renamed files.. Specifically if I run git log --oneline --follow renamed_file.txt then I am able to see all the history of that file. If I just run tig renamed_file.txt then I don't see it. My suggestion would be to add a mode to tig (just like git log) that allows history to be followed: tig --follow

Is this possible already? Did I miss it somewhere.

Thanks,
Dusty

@vivien
Copy link
Contributor

vivien commented Jan 9, 2015

Indeed, options are passed to git, so tig --follow renamed_file.txt will work as expected.

@dustymabe
Copy link
Author

you are right!! wow.. some programs allow you to specify arguments anywhere on the line and so I was mistakenly running it this way: tig renamed_file.txt --follow. It works if you put --follow first.

Thanks

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

2 participants