author | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 20 Jul 2007 08:10:13 +0000 (04:10 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 21 Jul 2007 09:00:37 +0000 (05:00 -0400) | ||
commit | 54febd4fe62cc32b1337cd928af17a5a09624d74 | |
tree | ef5ffe14721a55768161d15b361cd752e6c149c3 | tree | snapshot |
parent | dba07411da8debf9e39bf8d28f642b09c5794aff | commit | diff |
git-gui: Internally allow fetch without storing for future pull support
This is actually just an underlying code improvement that has no user
visible component yet. UI improvements to actually fetch and merge via
an arbitrary remote with no tracking branches must still follow to make
this change useful for the end-user.
Our tracking branch specifications are a Tcl list of three components:
- local tracking branch name
- remote name/url
- remote branch name/tag name
This change just makes the first element optional. If it is an empty
string we will run the fetch, but have the value be saved only into the
special .git/FETCH_HEAD, where we can pick it up and use it for this one
time operation.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This is actually just an underlying code improvement that has no user
visible component yet. UI improvements to actually fetch and merge via
an arbitrary remote with no tracking branches must still follow to make
this change useful for the end-user.
Our tracking branch specifications are a Tcl list of three components:
- local tracking branch name
- remote name/url
- remote branch name/tag name
This change just makes the first element optional. If it is an empty
string we will run the fetch, but have the value be saved only into the
special .git/FETCH_HEAD, where we can pick it up and use it for this one
time operation.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/checkout_op.tcl | diff | blob | history |