From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 0/4] rt-tests: patches rename & versoin bump & support of non-NPTL tools
Date: Tue, 11 Nov 2014 16:10:56 +0100 [thread overview]
Message-ID: <20141111161056.52d0cee7@free-electrons.com> (raw)
In-Reply-To: <1415718077.4122.19.camel@abrodkin-8560l.internal.synopsys.com>
Dear Alexey Brodkin,
On Tue, 11 Nov 2014 15:01:17 +0000, Alexey Brodkin wrote:
> > * You should never resend a new version of just one patch. Always send
> > the complete series again, even if only one patch has changed. I was
> > mistaken when looking at patchwork, and originally only applied the
> > patch removing the NPTL dependency, because it was available
> > standalone, outside of any series.
>
> Indeed my bad, I was not sure if I may re-send only 1 patch so I asked
> if that's ok but never got an answer here
> http://permalink.gmane.org/gmane.comp.lib.uclibc.buildroot/99171
>
> Nevertheless I understand that that's my fault and I'll try to not do
> such silly things in the future, so thanks for this comment.
No problem! Everybody learns progressively how to do things :)
> > * You should use 'git format-patch -M' to enable rename detection. It
> > would have made patch 1 a lot smaller, and easier to review.
>
> Hm, I didn't know about this actually.
> I did "git mv" and believed that there's nothing else I may do to
> simplify rename changes. Will do it this way next time.
I must confess that I don't actually don't know precisely how git
encodes renames. But basically, my understanding is that even if you do
"git mv", "git format-patch" will encode a rename as a complete removal
+ a complete addition, because that's the only way, in the traditional
patch format, to express a rename. However, by passing -M to git
format-patch, you tell git that it can generate a git patch, making the
assumption that it's git that will be used to apply the patch, and not
just the basic "patch" tool. In this case, it can encode the rename in
a smarter way.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-11-11 15:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-10 9:59 [Buildroot] [PATCH 0/4] rt-tests: patches rename & versoin bump & support of non-NPTL tools Alexey Brodkin
2014-11-10 9:59 ` [Buildroot] [PATCH 1/4] rt-tests: rename patch to the new convention Alexey Brodkin
2014-11-10 9:59 ` [Buildroot] [PATCH 2/4] rt-tests: switch site from Debian snapshot to Linux's git Alexey Brodkin
2014-11-10 9:59 ` [Buildroot] [PATCH 3/4] rt-tests: bump version to 0.89 Alexey Brodkin
2014-11-10 9:59 ` [Buildroot] [PATCH 4/4] rt-tests: allow building subset of tests with non-NPTL toolchains Alexey Brodkin
2014-11-10 10:06 ` Thomas Petazzoni
2014-11-10 10:24 ` Alexey Brodkin
2014-11-11 14:43 ` [Buildroot] [PATCH 0/4] rt-tests: patches rename & versoin bump & support of non-NPTL tools Thomas Petazzoni
2014-11-11 15:01 ` Alexey Brodkin
2014-11-11 15:10 ` Thomas Petazzoni [this message]
2014-11-11 20:59 ` Peter Korsgaard
2014-11-11 22:15 ` Thomas Petazzoni
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=20141111161056.52d0cee7@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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