[tig] Feeding specific revisions to tig
- From
- Jean-Baptiste Quenot <jbq@caraldi.com>
- Date
- Jun 4, 2008, 18:52 UTC
- Message-ID
- <ae63f8b50806041152v11a2997y9411c5ea3ebc9598@mail.gmail.com>
Hi there,
In order to track changes between my development branch and the stable branch that goes to production, I'm using git-cherry-pick and git-cherry to list the changesets available for merging.
Ideally I'd like to feed this list of commits to tig, so that I can watch the commit diff and summary easily and switch from one commit to another. But tig only behaves as a pager, and does not help for this.
To make it short I'd like to do something like this:
git-cherry origin/stable origin/trunk | sed -ne 's/^+ //p' | tig
And browse every available commit with tig.
Does it make sense?
Cheers,
-- Jean-Baptiste Quenot http://jbq.caraldi.com/