From: "Paul E. McKenney" <paulmck@linux.ibm.com>
To: Akira Yokosawa <akiyks@gmail.com>
Cc: perfbook@vger.kernel.org
Subject: Re: [PATCH 0/5] Misc updates
Date: Mon, 1 Oct 2018 08:34:38 -0700 [thread overview]
Message-ID: <20181001153438.GB4222@linux.ibm.com> (raw)
In-Reply-To: <17f8f5c6-3c41-0a6f-9665-57abb57fe887@gmail.com>
On Tue, Oct 02, 2018 at 12:26:16AM +0900, Akira Yokosawa wrote:
> On 2018/10/01 08:18:10 -0700, Paul E. McKenney wrote:
> > On Mon, Oct 01, 2018 at 10:48:48PM +0900, Akira Yokosawa wrote:
> >> >From c545a33aea39aeae40bcff478285f814c32a4456 Mon Sep 17 00:00:00 2001
> >> From: Akira Yokosawa <akiyks@gmail.com>
> >> Date: Mon, 1 Oct 2018 22:05:58 +0900
> >> Subject: [PATCH 0/5] Misc updates
> >>
> >> Hi Paul,
> >>
> >> This is a miscellaneous collection of updates.
> >>
> >> Patch #1 fixes build error you'd encounter when you do "make"
> >> after doing "make" under CodeSamples/ directory.
> >>
> >> Patches #2 and #3 fix trivial typos in FAQ-BUILD.txt and
> >> tooldoftrade, respectively.
> >>
> >> Patch #4 removes obsolete workaround code in perfbook.tex.
> >>
> >> Patch #5 removes rules in Makefile used to support a hi-res
> >> figure in QC section.
> >>
> >> Once Patch #5 is applied, you can remove orphaned files listed
> >> below:
> >>
> >> future/Bloch_Sphere.svg
> >> future/QC-FormConstant.eps
> >> future/QS1_1.svg
> >> future/T2h1lc19xmqrdlsor.eps
> >> future/ibmqx2-labeled.svg
> >>
> >> As a matter of fact, I have prepared a patch to remove
> >> them, but it would be too large to submit.
> >
> > Applied and queued them, along with a sixth patch to remove the above
> > files with your Suggested-by, thank you!!!
> >
> > I never have tried it myself, but they say that the -D argument to
> > "git diff", "git show", and "git format-patch" will create a summarized
> > patch that can then be pulled in by "git am" and friends. If either of
> > us remembers next time, we can try the experiment. ;-)
>
> man page of git-format-patch says the following on the -D option:
>
> -D, --irreversible-delete
> Omit the preimage for deletes, i.e. print only the header but not
> the diff between the preimage and /dev/null. The resulting patch is
> not meant to be applied with patch or git apply; this is solely for
> people who want to just concentrate on reviewing the text after the
> change. In addition, the output obviously lack enough information
> to apply such a patch in reverse, even manually, hence the name of
> the option.
>
> So, I'm not sure if the resulting patch can be applied by "git am".
> Or can a recent version of git handle such patches?
$ git show HEAD > /tmp/diffs
$ git checkout 985015444691d4443263b3002ea4c87b7d8e6aae
Note: checking out '985015444691d4443263b3002ea4c87b7d8e6aae'.
[ . . . ]
HEAD is now at 985015444691 Makefile: Remove rules for QC section
$ git am /tmp/diffs
Patch format detection failed.
So you are absolutely right!
Thanx, Paul
> Thanks, Akira
>
> >
> > Thanx, Paul
> >
> >> Thanks, Akira
> >> --
> >> Akira Yokosawa (5):
> >> CodeSamples: Exclude meta command lines in building api.h
> >> FAQ-BUILD.txt: Fix typo
> >> toolsoftrade: Fix typo DEFINE_PER_THREAD() -> DEFINE_PER_CPU()
> >> Remove workaround for Fedora 23 Tex Live bug
> >> Makefile: Remove rules for QC section
> >>
> >> .gitignore | 1 -
> >> CodeSamples/Makefile | 4 +++-
> >> FAQ-BUILD.txt | 2 +-
> >> Makefile | 25 +++++--------------------
> >> perfbook.tex | 14 --------------
> >> toolsoftrade/toolsoftrade.tex | 2 +-
> >> utilities/gen_snippet_d.pl | 16 ++++++++--------
> >> 7 files changed, 18 insertions(+), 46 deletions(-)
> >>
> >> --
> >> 2.7.4
> >>
> >
>
prev parent reply other threads:[~2018-10-01 22:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-01 13:48 [PATCH 0/5] Misc updates Akira Yokosawa
2018-10-01 13:50 ` [PATCH 1/5] CodeSamples: Exclude meta command lines in building api.h Akira Yokosawa
2018-10-01 13:51 ` [PATCH 2/5] FAQ-BUILD.txt: Fix typo Akira Yokosawa
2018-10-01 13:53 ` [PATCH 3/5] toolsoftrade: Fix typo DEFINE_PER_THREAD() -> DEFINE_PER_CPU() Akira Yokosawa
2018-10-01 13:55 ` [PATCH 4/5] Remove workaround for Fedora 23 Tex Live bug Akira Yokosawa
2018-10-01 13:56 ` [PATCH 5/5] Makefile: Remove rules for QC section Akira Yokosawa
2018-10-01 15:18 ` [PATCH 0/5] Misc updates Paul E. McKenney
2018-10-01 15:26 ` Akira Yokosawa
2018-10-01 15:34 ` Paul E. McKenney [this message]
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=20181001153438.GB4222@linux.ibm.com \
--to=paulmck@linux.ibm.com \
--cc=akiyks@gmail.com \
--cc=perfbook@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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.