summaryrefslogtreecommitdiff
path: root/git-commit-script
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-01-24 16:51:59 -0500
committerShawn O. Pearce <spearce@spearce.org>2007-01-25 00:25:31 -0500
commitb5b6b434527e5f0df43f994d690a48dad1fb4555 (patch)
tree760ac214f934bf7725033a8fc9e7872259268b37 /git-commit-script
parent0fd49d0a7d579722bd1a0a1645afc16646b05794 (diff)
git-gui: Implement basic branch switching through read-tree.
If the user selects a different branch from the Branch menu, or asks us to create a new branch and immediately checkout that branch we now perform the update of the working directory by way of a 2 way read-tree invocation. This emulates the behavior of `git checkout branch` or the behavior of `git checkout -b branch initrev`. We don't however support the -m style behavior, where a switch can occur with file level merging performed by merge-recursive. Support for this is planned for a future update. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'git-commit-script')
0 files changed, 0 insertions, 0 deletions