From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: monstr@seznam.cz
Cc: linux-kernel@vger.kernel.org
Subject: Re: microblaze: Merge window + git
Date: Fri, 11 Apr 2008 12:51:42 +0200 [thread overview]
Message-ID: <47FF42BE.8030005@s5r6.in-berlin.de> (raw)
In-Reply-To: <47FF183D.8060408@seznam.cz>
Michal Simek wrote:
> Can you tell me when is open next merge window?
When 2.6.25 is being released.
> and my next question is about GIT.
>
> I have second release at my git server and I have some changes which you
> reported. I would like to collect all changes in the same set of patches.
>
> I mean I have patch with 4 files and I did next changes. I would like to
> integrate these changes to the same patches. Is it possible to do it?
> It is easier to review all changes together.
>
> I think it is no good way to send first release with reported bugs and new diffs.
You can combine several commits into one in a few ways. Of course the
combined commit is an entirely new one (with its own SHA1 etc.). One
possible way:
# you are at <commit0>
$ git cherry-pick --no-commit <commit1> # apply but don't commit yet
$ git cherry-pick --edit <commit2> # apply, edit the changelog, commit
There will now be a <commit3> whose parent is <commit0>. <commit3>
incorporates changes of <commit1> and <commit2>.
Another way:
# you are at <commit0>
$ patch < ~/diff-from-somewhere
$ git commit --amend # replace <commit0> by new amended commit
There will now be a <commit4> instead of <commit0>, with the same
parent(s) which <commit0> had. <commit4> incorporates changes of
<commit0> and the diff.
However, I am no expert on doing these things in git since I only
develop with quilt. I use git only to publish the state of development
and the state for upstream merge.
--
Stefan Richter
-=====-==--- -=-- -=-==
http://arcgraph.de/sr/
next prev parent reply other threads:[~2008-04-11 10:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-11 7:50 microblaze: Merge window + git Michal Simek
2008-04-11 10:51 ` Stefan Richter [this message]
2008-04-11 12:45 ` Ilpo Järvinen
2008-04-12 21:21 ` H. Peter Anvin
2008-04-13 11:32 ` Michal Simek
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=47FF42BE.8030005@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=linux-kernel@vger.kernel.org \
--cc=monstr@seznam.cz \
/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