takaaki-kasai / git-foresta

git-foresta: Text-based git log graph viewer
GNU General Public License v3.0
222 stars 11 forks source link

Show all stashes #10

Open plaffitt opened 4 months ago

plaffitt commented 4 months ago

It would be nice to add a flag to show all stashes in the graph. A way to do it right now is git-foresta $(git reflog show --format="%h" stash). git reflog show --format="%h" stash list all stashes hashes, passing it as parameters to git-foresta which makes it display them. But being able to do this with a flag would be easier. I currently use an alias to do it.

TamaMcGlinn commented 4 months ago

For what it's worth, vim-flog has this out-of-the-box. As of v2, vim-flog has it's own implementation rather than using git-foresta; you could ask about this in an issue in his repo if you want it in git-foresta. It looks like this:

Screenshot from 2024-07-18 18-03-48