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

tig-stash: pass through options / display only matching stashes #1022

Closed
blueyed opened this issue Jul 10, 2020 · 0 comments · Fixed by #1030
Closed

tig-stash: pass through options / display only matching stashes #1022

blueyed opened this issue Jul 10, 2020 · 0 comments · Fixed by #1030
Labels

Comments

@blueyed
Copy link
Contributor

blueyed commented Jul 10, 2020

tig log foo will display only log entries for foo.
It would be nice if tig log foo would only display stashes changing foo.

I've not really investigated, but it might be as simple as passing through (some) options similar to how it is done for tig log.
But e.g. tig log -S "some pattern" (also with specifying HEAD explicitly) results in tig: No revisions match the given arguments. (i.e. it behaves different from git log … / does not handle the -S option already).
So it appears that for tig-log already handling of options could benefit from passing through / handling more?

Currently tig stash appears to ignore any options/arguments (apart from -h).

koutcher added a commit to koutcher/tig that referenced this issue Jul 21, 2020
As the stash reference does not necessarily match the line number anymore,
take it from the output of git stash list.

Closes jonas#1022
koutcher added a commit to koutcher/tig that referenced this issue Jul 23, 2020
As the stash reference does not necessarily match the line number anymore,
take it from the output of git stash list.

Closes jonas#1022
koutcher added a commit to koutcher/tig that referenced this issue Jul 23, 2020
As the stash reference does not necessarily match the line number anymore,
take it from the output of git stash list.

Closes jonas#1022
koutcher added a commit to koutcher/tig that referenced this issue Jul 24, 2020
As the stash reference does not necessarily match the line number anymore,
take it from the output of git stash list.

Closes jonas#1022
koutcher added a commit to koutcher/tig that referenced this issue Oct 13, 2020
As the stash reference does not necessarily match the line number anymore,
take it from the output of git stash list.

Closes jonas#1022
koutcher added a commit to koutcher/tig that referenced this issue Dec 13, 2020
As the stash reference does not necessarily match the line number anymore,
take it from the output of git stash list.

Closes jonas#1022
koutcher added a commit that referenced this issue Dec 13, 2020
As the stash reference does not necessarily match the line number anymore,
take it from the output of git stash list.

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

Successfully merging a pull request may close this issue.

2 participants