Re: How can I easily verify my diffs are in parent branch?
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Apr 4, 2007, 12:28 UTC
- Message-ID
- <81b0412b0704040528g3fd6b3d0id9cc1b98fe58d8e@mail.gmail.com>
- In-Reply-To
- <1175686583.19898.68.camel@okra.transitives.com>
On 4/4/07, Alex Bennee <kernel-hacker@bennee.com> wrote:
> Is there an invocation of git-diff or another tool that can tell me all > my diffs are present in the big uber-commit of my master branch baseline > release?
You can limit git-diff to the pathnames you touched in your commits (assuming you now the first commit you sent upstream).
git diff-tree --name-only first HEAD | while read f; do git diff-tree --shortstat upstream HEAD -- "$f" done
It is very inefficient, though