diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-08-30 07:52:24 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-30 19:57:55 -0700 |
commit | 0cf8581e330e7140c9f5c94a53d441187c0f8ff9 (patch) | |
tree | a1e46a0198f62914d29e8e1429b8efce58ada4ee /exec_cmd.c | |
parent | 29a1f99b4b81cd28163de1275265234c5ab804b4 (diff) | |
download | git-0cf8581e330e7140c9f5c94a53d441187c0f8ff9.tar.gz |
checkout -m: recreate merge when checking out of unmerged index
This teaches git-checkout to recreate a merge out of unmerged
index entries while resolving conflicts.
With this patch, checking out an unmerged path from the index
now have the following possibilities:
* Without any option, an attempt to checkout an unmerged path
will atomically fail (i.e. no other cleanly-merged paths are
checked out either);
* With "-f", other cleanly-merged paths are checked out, and
unmerged paths are ignored;
* With "--ours" or "--theirs, the contents from the specified
stage is checked out;
* With "-m" (we should add "--merge" as synonym), the 3-way merge
is recreated from the staged object names and checked out.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'exec_cmd.c')
0 files changed, 0 insertions, 0 deletions