git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Finding the name of the parent branch?
@ 2009-01-30 10:56 Pascal Obry
  2009-01-30 11:18 ` Santi Béjar
  2009-01-30 14:26 ` Thomas Koch
  0 siblings, 2 replies; 11+ messages in thread
From: Pascal Obry @ 2009-01-30 10:56 UTC (permalink / raw)
  To: Git Mailing List

I want to find the name of the parent branch in a script. What is the best way?

                         o---o---o---C
                         /
                    o---o---o---B
                   /
           ---o---o---o---o---o---A

For B I want to get A and for C I want to get B.

All this can be found in gitk, but from a script I did not found a
good solution.

Any idea?

Thanks.
Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595

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

end of thread, other threads:[~2009-01-30 15:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-30 10:56 Finding the name of the parent branch? Pascal Obry
2009-01-30 11:18 ` Santi Béjar
2009-01-30 12:56   ` Pascal Obry
2009-01-30 13:16     ` Santi Béjar
2009-01-30 13:35       ` Pascal Obry
2009-01-30 13:57         ` Santi Béjar
2009-01-30 14:06           ` Pascal Obry
2009-01-30 14:46             ` Santi Béjar
2009-01-30 13:35     ` Michael J Gruber
2009-01-30 14:26 ` Thomas Koch
2009-01-30 15:58   ` Pascal Obry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).