author | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 4 Jul 2007 05:10:41 +0000 (01:10 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 9 Jul 2007 01:12:49 +0000 (21:12 -0400) | ||
commit | 79a060e477a743ad49508aec9a491fe1aa7d7c3b | |
tree | d29e07457278131e7f71363641e40200b7677026 | tree | snapshot |
parent | 6f2a3fc812623bc82fb4997adb5a9a547b5dae1a | commit | diff |
git-gui: Maintain remote and source ref for tracking branches
In the next change I want to let the user create their local branch
name to match the remote branch name, so that the existing push
dialog can push the branch back up to the remote repository without
needing to do any sort of remapping. To do that we need to know
exactly what branch name the remote system is using.
So all_tracking_branches returns a list of specifications, where
each specification is itself a list of:
- local ref name (destination we fetch into)
- remote name (repository we fetch from)
- remote ref name (source ref we fetch from)
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
In the next change I want to let the user create their local branch
name to match the remote branch name, so that the existing push
dialog can push the branch back up to the remote repository without
needing to do any sort of remapping. To do that we need to know
exactly what branch name the remote system is using.
So all_tracking_branches returns a list of specifications, where
each specification is itself a list of:
- local ref name (destination we fetch into)
- remote name (repository we fetch from)
- remote ref name (source ref we fetch from)
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/choose_rev.tcl | diff | blob | history | |
lib/remote.tcl | diff | blob | history |