Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758548AbaJ3KJu (ORCPT ); Thu, 30 Oct 2014 06:09:50 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:51167 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756976AbaJ3KJt (ORCPT ); Thu, 30 Oct 2014 06:09:49 -0400 Date: Thu, 30 Oct 2014 08:09:34 -0200 From: Mauro Carvalho Chehab To: Stephen Rothwell Cc: Linus , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: linux-next: unnecessary merges in the v4l-dvb tree Message-ID: <20141030080934.154ff729@recife.lan> In-Reply-To: <20141030092445.519a86ba@canb.auug.org.au> References: <20141030092445.519a86ba@canb.auug.org.au> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.24; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/DJ1v5vn2Tc2bp4VJHQ+S8vV"; protocol="application/pgp-signature" X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/DJ1v5vn2Tc2bp4VJHQ+S8vV Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Stephen, Em Thu, 30 Oct 2014 09:24:45 +1100 Stephen Rothwell escreveu: > Hi Mauro, >=20 > I noticed that you have two unnecessary merges in the v4l-dvb tree > (git://linuxtv.org/mchehab/media-next.git#master). This is not > entirely your fault. Unfortunately, when you do >=20 > git merge >=20 > git will produce a merge commit even if it could have fast > forwarded :-(. Consequently, you have commits 1ef24960ab78 ("Merge tag > 'v3.18-rc1' into patchwork") and d6d41ba1cb38 ("Merge remote-tracking > branch 'linus/master' into patchwork") even though the patchwork branch > in each case is included in the tag being merged. >=20 > The only ways I know around this is to either merge the commit > associated with the tag or do a (hard) reset to the tag. A hard reset to the tag would likely be a bad idea, as it would break the sub-maintainers trees that are based on my tree. I generally use "git pull" for that, as the man page says that the default behavior is to do fast forward: "--ff When the merge resolves as a fast-forward, only update the branch pointer, without creating a merge commit.=20 This is the default behavior." It seems that the man page is then outdated for signed tags, or, eventually, we need to make --ff explicit on this case. I'll try the approach of merging the associated commit next time, but this is something that it is easy to forget. >=20 > Linus, any thoughts? Regards, Mauro --Sig_/DJ1v5vn2Tc2bp4VJHQ+S8vV Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUUg5mAAoJEAhfPr2O5OEV2FYP/1NdlzMt6scV1xO6MsDpU5/D spxTMG/SxdWJWYinUinROBWUYHZTyYjSQWYZR9KDJdtMgC9/gldb0PJDF8ntL081 5upYLzpyMbbrxN7Z0BTzHIQDlxz7rwCA0G6u/pSvPmwPJlfC7Ym0Hix5VE9J4sHg EfQMwG5hflZlVIHGb0bzrlVBp8pu1IGlhVxVGt5+H3Kzg8TnButbkmxoDWyIHcSy MAQR9/N50/A0sknKWbijqBATxIT+1vrtmMu/KkfMeJlwhFbK+m+ftqW+YIqsrMzY 3OTwCxgcek4yAM/3JbuP83TYY7NX1cGkeU3rRyltAD3jbTiDfWkkqNV6Q05Htwmp dwkKCmGc5jAw4t42KzXsuPnU8+iQlFwiXrXS9o9BxAPdCzjJXZ1n0KlfGWjqevdz DmA/lyXMq660Lgy+3aSGOBBj8XJ0rN7O4VSzmmLQO1g1FeTVx/XiGi7ASjaVR4wr LeAKLAJ4u53vz1W3Q8OFBDrGsG2OZpBX1QxgPCLFPHKbAkYoeW6x8SBr0erDglcN bqwHiKRXrS+dUosOeAbe1WE4g2avKVA5vWhIxf5DNOGbK5EZOkCdLo6S8GczumIK LRQ7haCC6L/MFXd1b3W4ypdJpInR9COY+mcMclycyatO2IekixJVVWW6GWk1WEFz FCxB078CCZkOoj3kn3lE =Q6cJ -----END PGP SIGNATURE----- --Sig_/DJ1v5vn2Tc2bp4VJHQ+S8vV-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/