Closed thenbe closed 1 year ago
Hi. Is there a way to get the stash, where the output would be similar to:
git stash list git log -g stash lazygit stash
I would've thought the following would work similar to git log -g stash, but the -g, --walk-reflogs flag is not supported at the moment:
git log -g stash
-g, --walk-reflogs
DiffviewFileHistory -g --range=stash
As a workaround, I found this to work but it's missing the stash index (stash@{2}):
stash@{2}
DiffviewFileHistory --reflog --merges --grep='^WIP|^On'
We can add support for --walk-reflogs. I imagine that should be pretty straight forward. However, I don't have time to work on this at the moment. PR's are welcome.
--walk-reflogs
Hi. Is there a way to get the stash, where the output would be similar to:
I would've thought the following would work similar to
git log -g stash
, but the-g, --walk-reflogs
flag is not supported at the moment:As a workaround, I found this to work but it's missing the stash index (
stash@{2}
):