get upstream branch

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

get upstream branch

From: Jeff Whiteside <hidden>
Date: 2016-06-15 22:45:44

Hi,

Does anyone know how to programmatically get the upstream/parent
branch of a branch?  I'm trying to write a gui, but looking at gitk's
tcl code isn't helping me much.

Thanks,

Whiteside

Re: get upstream branch

From: Peter Harris <hidden>
Date: 2016-06-15 22:45:45

On Mon, Dec 8, 2008 at 11:52 PM, Jeff Whiteside wrote:
Does anyone know how to programmatically get the upstream/parent
branch of a branch?  I'm trying to write a gui, but looking at gitk's
tcl code isn't helping me much.
Would C++ code be a better help?

qgit is somewhat similar to gitk:
http://digilander.libero.it/mcostalba/
git://git.kernel.org/pub/scm/qgit/qgit.git
git://git.kernel.org/pub/scm/qgit/qgit4.git

Peter Harris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help