git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Guided merge with override
@ 2008-06-16  4:16 Geoff Russell
  2008-06-16  9:25 ` Miklos Vajna
  0 siblings, 1 reply; 23+ messages in thread
From: Geoff Russell @ 2008-06-16  4:16 UTC (permalink / raw)
  To: git

I have a two repositories A and B.  B is a tiny subset of the files in
A and all have been
modified.   If I do a "git pull B" into A, I get conflicts. I always
want to resolve these
by accepting the version from B. Is there a magic "override" switch to
let me do this?

Cheers,
Geoff Russell

^ permalink raw reply	[flat|nested] 23+ messages in thread
* [PATCH 0/2] jc/merge-theirs, rebased on top of mv/merge-in-c
@ 2008-06-23 12:45 Miklos Vajna
  2008-06-23 12:45 ` [PATCH 2/2] git-merge-recursive-{ours,theirs} Miklos Vajna
  0 siblings, 1 reply; 23+ messages in thread
From: Miklos Vajna @ 2008-06-23 12:45 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

On Mon, Jun 23, 2008 at 12:15:35AM -0700, Junio C Hamano <gitster@pobox.com> wrote:
> Currently tip of 'pu' is broken and does not pass tests, as j6t/mingw
> has interaction with dr/ceiling and jc/merge-theirs has interaction
> with mv/merge-in-c.

Here is jc/merge-theirs, on top of mv/merge-in-c. Now all tests pass
here if I merge both to master.

To avoid unnecessary traffic, I do not send e0aafb4 ([PATCH 1/2]
git-merge-file --ours, --theirs"), as that is unchanged.

Junio C Hamano (2):
  git-merge-file --ours, --theirs
  git-merge-recursive-{ours,theirs}

 Documentation/git-merge-file.txt |   12 +++++++-
 Makefile                         |    3 ++
 builtin-merge-file.c             |   10 +++++-
 builtin-merge-recursive.c        |   37 ++++++++++++++++++++++---
 builtin-merge.c                  |    2 +
 git.c                            |    2 +
 ll-merge.c                       |   24 ++++++++++------
 ll-merge.h                       |    4 ++-
 t/t6034-merge-ours-theirs.sh     |   56 ++++++++++++++++++++++++++++++++++++++
 xdiff/xdiff.h                    |    8 +++++-
 xdiff/xmerge.c                   |   24 +++++++++++-----
 11 files changed, 155 insertions(+), 27 deletions(-)
 create mode 100755 t/t6034-merge-ours-theirs.sh

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2008-06-23 12:46 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-16  4:16 Guided merge with override Geoff Russell
2008-06-16  9:25 ` Miklos Vajna
2008-06-16 10:16   ` Johannes Sixt
2008-06-16 21:16     ` Miklos Vajna
2008-06-16 22:21     ` Sverre Rabbelier
2008-06-16 22:45       ` Geoff Russell
2008-06-17 20:04         ` Junio C Hamano
2008-06-18 15:19           ` Johannes Schindelin
2008-06-18 15:28             ` Johannes Schindelin
2008-06-18 16:31               ` Junio C Hamano
2008-06-18 19:29                 ` Johannes Schindelin
2008-06-20  7:38                 ` [PATCH 1/2] git-merge-file --ours, --theirs Junio C Hamano
2008-06-20  7:48                   ` [PATCH 2/2] git-merge-recursive-{ours,theirs} Junio C Hamano
2008-06-20 12:58                     ` Johannes Schindelin
2008-06-21  9:46                       ` Junio C Hamano
2008-06-21 16:29                         ` Johannes Schindelin
2008-06-21 16:56                         ` Jakub Narebski
2008-06-17  6:16       ` Guided merge with override Johannes Sixt
2008-06-17  8:53         ` Sverre Rabbelier
2008-06-17  9:48           ` Johannes Schindelin
2008-06-17  9:53             ` Sverre Rabbelier
2008-06-17 10:17               ` Johannes Schindelin
  -- strict thread matches above, loose matches on Subject: below --
2008-06-23 12:45 [PATCH 0/2] jc/merge-theirs, rebased on top of mv/merge-in-c Miklos Vajna
2008-06-23 12:45 ` [PATCH 2/2] git-merge-recursive-{ours,theirs} Miklos Vajna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).