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

'd' in main view ignores selection when used with 'set cmdline-args = --all' #431

Closed
bchallenor opened this issue Aug 22, 2015 · 3 comments

Comments

@bchallenor
Copy link

When in the main view, it's useful to be able to use 'd' or 'enter' to interact with the highlighted commit.

However I recently wanted to make --all the default when opening tig, and I found that I could do this by adding set cmdline-args = --all to tigrc. Now it seems that the highlighted commit is ignored - instead 'd' and 'enter' always apply to the last commit on master.

Interestingly this doesn't happen when I run tig --all directly, instead of specifying it in tigrc. So I'm not sure if this is a bug, or if attempting to set --all with cmdline-args is an unsupported hack. (In which case is there a better way to do it?)

@jonas
Copy link
Owner

jonas commented Aug 22, 2015

@bchallenor You should use main-options instead of cmdline-args for this. I've replied to the SO question.

@bchallenor
Copy link
Author

Thanks @jonas! Shall I close this issue?

@jonas jonas closed this as completed in 5f3d1a1 Aug 22, 2015
@jonas
Copy link
Owner

jonas commented Aug 22, 2015

@bchallenor Done as part of the a commit to remove the option all together.

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