From: Jonathan Nieder <jrnieder@gmail.com>
To: Justin Frankel <justin@cockos.com>
Cc: git@vger.kernel.org, Eyvind Bernhardsen <eyvind.bernhardsen@gmail.com>
Subject: Re: [PATCH 0/2] git-merge: ignore space support
Date: Mon, 23 Aug 2010 14:33:00 -0500 [thread overview]
Message-ID: <20100823193300.GA2120@burratino> (raw)
In-Reply-To: <20100822054321.GA64856@ns1.cockos.com>
(+cc: Eyvind Bernhardsen, resident scholar on LF/CRLF conflicts)
Hi!
Justin Frankel wrote:
> I've added support for merging with ignoring line endings (specifically
> --ignore-space-at-eol) when using recursive merging. I've added this as a
> strategy-option, so that you can do:
>
> git merge --strategy-option=ignore-space-at-eol <branch>
>
> and
>
> git rebase --strategy-option=ignore-space-at-eol <branch>
>
> The only option I needed was ignore-space-at-eol, however it made some sense (to
> me at least) to include the other xdiff options (ignore-space-change,
> ignore-all-space, patient).
Interesting. The idea seems sane, provided it copes with edge cases
well (haven't checked the code yet).
I have even wished for a "merge -Xpatience" from time to time.
> Which branches should we derive from for things like this? The first patch is
> for master, the second for next (there were enough changes in ll-merge that
> the implementations are a bit different).
See Documentation/SubmittingPatches, section labelled "Decide what to
base your work on".
Generally the rule is to develop features against "master", or on top
of a relevant topic branch from "next" or "pu" if your implementation
requires features from it (or if it is likely to create heavy
conflicts).
If the patches seem sane, is it all right if we forge your sign-off? (See
Documentation/SubmittingPatches for what this means.)
Since the threading does not seem to have worked correctly, here are
the patches, for reference.
for master: http://thread.gmane.org/gmane.comp.version-control.git/154166
for next: http://thread.gmane.org/gmane.comp.version-control.git/154167
Thanks,
Jonathan
next prev parent reply other threads:[~2010-08-23 19:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-22 5:43 [PATCH 0/2] git-merge: ignore space support Justin Frankel
2010-08-23 19:33 ` Jonathan Nieder [this message]
2010-08-23 20:34 ` Justin Frankel
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=20100823193300.GA2120@burratino \
--to=jrnieder@gmail.com \
--cc=eyvind.bernhardsen@gmail.com \
--cc=git@vger.kernel.org \
--cc=justin@cockos.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).