Code

git-gui: Added support for pulling from default branch of a remote.
authorShawn O. Pearce <spearce@spearce.org>
Tue, 7 Nov 2006 10:02:15 +0000 (05:02 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 7 Nov 2006 10:02:15 +0000 (05:02 -0500)
commitd33ba5fa809be1714c7f31f128a7a72461a96d96
treeb24ca9d7330cdca89a81adff443c3cacd0635250
parent0d4f3eb5f330a53300e630c1ffe4ea1fa61f5dd9
git-gui: Added support for pulling from default branch of a remote.

We now create one menu entry per remote listing the first Pull: or fetch
entry associated with that remote as the branch to pull into the current
branch.

This is actually quite incorrect as we should be using the default
remote branch name listed in branch.<name>.merge for a new-style remote
described in the config file.  But its a good default to get started with.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui