From: Raman Gupta <rocketraman@gmail.com>
To: git@vger.kernel.org
Subject: [RFC] Git rerere and non-conflicting changes during conflict resolution
Date: Tue, 25 Jul 2017 11:09:55 -0400 [thread overview]
Message-ID: <17c46229-3b64-34f1-30fa-d40b77e1c054@gmail.com> (raw)
I had an interesting situation today: resolving a merge conflict
required modification in other files that were not themselves conflicting.
I just realized that rerere does not remember any changes to these
additional files -- only changes to the conflicting files. This makes
the end result of rerere obviously incorrect in this situation.
So my questions are:
1) Is this a known limitation or is there a reason rerere works in
this manner?
1b) If it is a limitation/bug, what would be needed to fix it? With
some guidance, I might be able to submit a patch...
2) In the meantime, is there a way I can identify these cases, without
which I cannot really trust rerere is doing the right thing?
Regards,
Raman
next reply other threads:[~2017-07-25 15:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-25 15:09 Raman Gupta [this message]
2017-07-25 17:52 ` [RFC] Git rerere and non-conflicting changes during conflict resolution Jeff King
2017-07-25 19:54 ` Raman Gupta
2017-07-25 20:25 ` Jeff King
2017-07-25 20:26 ` Junio C Hamano
2017-07-25 20:40 ` Junio C Hamano
2017-07-25 20:58 ` Jeff King
2017-07-26 7:14 ` Junio C Hamano
2017-07-27 21:01 ` Junio C Hamano
2017-07-26 8:06 ` Junio C Hamano
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17c46229-3b64-34f1-30fa-d40b77e1c054@gmail.com \
--to=rocketraman@gmail.com \
--cc=git@vger.kernel.org \
/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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).