[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [QUESTION] Pushing patches.
From: |
Ralf Wildenhues |
Subject: |
Re: [QUESTION] Pushing patches. |
Date: |
Thu, 15 Jul 2010 07:43:10 +0200 |
User-agent: |
Mutt/1.5.20 (2010-04-22) |
Hi Stefano,
* Stefano Lattarini wrote on Wed, Jul 14, 2010 at 03:51:05PM CEST:
> Independently from the fact that you give or not your OK to this
> particular patch, I'd like to know if the following procedure is
> correct for the pushing of simple patches which should go into
> both maint and master:
Yes, with the following minor changes:
0. Install and configure the git-merge-changelog program (get it from
gnulib, look at its source code header for instructions how to use it).
> 1. Checkout the "maint" branch on my local repos:
> $ git co maint
If "co" is a short-hand command alias for checkout, then yes.
> 2. Apply the patch(es) with "git am":
> $ git am 0*.patch
Use "git am -3" for a better user experience in the presence of not-
quite-matching changes.
> 2a. (Run required tests, if any)
> 3. Merge maint into master:
> $ git co master && git merge maint
I'd first merge it into branch-1.11:
git checkout branch-1.11
git merge maint
then into master.
BTW, my informal way of merging has been to merge to merge maint without
--log but merge feature branches with --log; rationale is that feature
branches may have patches which are not quite new in relation to other
patches, and thus 'git log' may not have them show up early in the list.
> 3a. (Run required tests, if any)
> 4. Push the maint and master branches:
> $ push --dry-run origin master maint # and if all seems ok ...
> $ push origin master maint
git push --dry-run origin master maint branch-1.11
Cheers, and sorry again for delaying all of your patches for so long,
Ralf
- [PATCH + QUESTION] Improve and extend tests `man*.test'., Stefano Lattarini, 2010/07/12
- Re: [PATCH + QUESTION] Improve and extend tests `man*.test'., Ralf Wildenhues, 2010/07/13
- Re: [PATCH + QUESTION] Improve and extend tests `man*.test'., Stefano Lattarini, 2010/07/13
- [QUESTION] Pushing patches., Stefano Lattarini, 2010/07/14
- Re: [QUESTION] Pushing patches.,
Ralf Wildenhues <=
- Re: [QUESTION] Pushing patches., Stefano Lattarini, 2010/07/15
- Re: [QUESTION] Pushing patches., Ralf Wildenhues, 2010/07/15
- Re: [QUESTION] Pushing patches., Stefano Lattarini, 2010/07/15
- Re: [QUESTION] Pushing patches., Ralf Wildenhues, 2010/07/15
- Re: [QUESTION] Pushing patches., Stefano Lattarini, 2010/07/15