diff options
author | Junio C Hamano <junkio@cox.net> | 2006-01-12 14:04:36 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-01-13 16:52:37 -0800 |
commit | 1be0659efca4a1f69c851f95563e930d70d8baf2 (patch) | |
tree | 2141250aceef41362c4bc636c4642690e4afb6fe /http.h | |
parent | checkout: automerge local changes while switching branches. (diff) | |
download | tgif-1be0659efca4a1f69c851f95563e930d70d8baf2.tar.xz |
checkout: merge local modifications while switching branches.
* Instead of going interactive, introduce a command line switch
'-m' to allow merging changes when normal two-way merge by
read-tree prevents branch switching.
* Leave the unmerged stages intact if automerge fails, but
reset index entries of cleanly merged paths to that of the
new branch, so that "git diff" (not "git diff HEAD") would
show the local modifications.
* Swap the order of trees in read-tree three-way merge used in
the fallback, so that `git diff` to show the conflicts become
more natural.
* Describe the new option and give more examples in the documentation.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http.h')
0 files changed, 0 insertions, 0 deletions