All of lore.kernel.org
 help / color / mirror / Atom feed
* How do I get the name of the parent branch?
@ 2011-07-03 16:49 Bruce Korb
  2011-07-03 17:43 ` Jay Soffian
  0 siblings, 1 reply; 2+ messages in thread
From: Bruce Korb @ 2011-07-03 16:49 UTC (permalink / raw)
  To: GIT Development

Google results point to how to get to commits that have gone into
parent branches, but fundamentally I just want to have a script
that constructs a diff of what has changed since the latest branch
without having to do manual research to figure out the name.

As best as I can tell, you use:

    git format-patch -o pdir --ignore-if-in-upstream $branch

the hard part seems to be (but ought not be) figuring out
the value for "$branch".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-03 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-03 16:49 How do I get the name of the parent branch? Bruce Korb
2011-07-03 17:43 ` Jay Soffian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.