From: "Uwe Kleine-König" <ukleinek@informatik.uni-freiburg.de>
To: Junio C Hamano <gitster@pobox.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: rerere fails to record resolution if file doesn't exist in merge base
Date: Mon, 9 Jul 2007 13:35:43 +0200 [thread overview]
Message-ID: <20070709113543.GA12633@informatik.uni-freiburg.de> (raw)
In-Reply-To: <7vps32ugu2.fsf@assigned-by-dhcp.cox.net>
Hello Junio,
Junio C Hamano wrote:
> Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> writes:
>
> > Anyhow, the failure still exists, even though the original report was
> > sent when rerere was still a perl script ...
> >
> > zeisberg@cassiopeia:/tmp/rerere$ git init
> > Initialized empty Git repository in .git/
> > zeisberg@cassiopeia:/tmp/rerere$ mkdir .git/rerere
>
> This should be creating .git/rr-cache, but what you said in your
> message is correct regardless.
You're right. copy-n-paste error.
> > In my eyes the last command should have recorded the resolution for
> > lolo, shouldn't it?
>
> I think two-file merge (ancestor did not have it, and you and he
> added the path differently) is rare enough that it was dropped
> outside of the radar. A fix would probably be a trivial change
> to builtin-rerere.c::find_conflict(), I think. While it would
> still be sane to insist that we do not do rerere for symlinks,
> and require to have stages #2 and #3, we should be able to drop
> the requirement to have stage #1. rerere does not use
> information from there anyway.
>
> Not even compile tested, but something like this should do.
It compiles, but seems not to work. I will try to make up a test.
Best regards
Uwe
--
Uwe Kleine-König
http://www.google.com/search?q=5+choose+3
next prev parent reply other threads:[~2007-07-09 11:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-09 7:07 rerere fails to record resolution if file doesn't exist in merge base Uwe Kleine-König
2007-07-09 8:22 ` Junio C Hamano
2007-07-09 11:35 ` Uwe Kleine-König [this message]
2007-07-09 13:40 ` Johannes Schindelin
2007-07-09 13:47 ` [PATCH] rerere: record resolution even if file is not " Johannes Schindelin
2007-07-09 15:32 ` Uwe Kleine-König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070709113543.GA12633@informatik.uni-freiburg.de \
--to=ukleinek@informatik.uni-freiburg.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).