diff options
author | Thomas Harning <harningt@gmail.com> | 2007-11-22 15:19:40 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-22 14:21:59 -0800 |
commit | a00a42ae33708caa742d9e9fbf10692cfa42f032 (patch) | |
tree | d14676ffff8533ab5edd6c9bc790097c6f7e5dd6 /git.c | |
parent | a7d9da6c972cb7bc79ef47ad7199dfb2a8dcf67f (diff) | |
download | git-a00a42ae33708caa742d9e9fbf10692cfa42f032.tar.gz |
git-merge-ours: make it a builtin.
Except that this fixes a longstanding corner case bug by
tightening the way underlying diff-index command is run, it is
functionally equivalent to the scripted version.
Signed-off-by: Thomas Harning Jr <harningt@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -325,6 +325,7 @@ static void handle_internal_command(int argc, const char **argv) { "mailsplit", cmd_mailsplit }, { "merge-base", cmd_merge_base, RUN_SETUP }, { "merge-file", cmd_merge_file }, + { "merge-ours", cmd_merge_ours, RUN_SETUP }, { "mv", cmd_mv, RUN_SETUP | NEED_WORK_TREE }, { "name-rev", cmd_name_rev, RUN_SETUP }, { "pack-objects", cmd_pack_objects, RUN_SETUP }, |