From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Waitz Subject: Re: git refuses to switch to older branches Date: Sun, 20 Aug 2006 14:21:28 +0200 Message-ID: <20060820122128.GG30022@admingilde.org> References: <20060819202558.GE30022@admingilde.org> <7vac601hbb.fsf@assigned-by-dhcp.cox.net> <20060819224457.GB23891@pasky.or.cz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gneEPciiIl/aKvOT" Cc: Junio C Hamano , git@vger.kernel.org X-From: git-owner@vger.kernel.org Sun Aug 20 14:21:45 2006 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GEmJF-0000jh-6B for gcvg-git@gmane.org; Sun, 20 Aug 2006 14:21:45 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750755AbWHTMVi (ORCPT ); Sun, 20 Aug 2006 08:21:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750762AbWHTMVi (ORCPT ); Sun, 20 Aug 2006 08:21:38 -0400 Received: from agent.admingilde.org ([213.95.21.5]:39834 "EHLO mail.admingilde.org") by vger.kernel.org with ESMTP id S1750755AbWHTMVi (ORCPT ); Sun, 20 Aug 2006 08:21:38 -0400 Received: from martin by mail.admingilde.org with local (Exim 4.50 #1) id 1GEmIy-0003WG-JV; Sun, 20 Aug 2006 14:21:28 +0200 To: Petr Baudis Content-Disposition: inline In-Reply-To: <20060819224457.GB23891@pasky.or.cz> X-PGP-Fingerprint: B21B 5755 9684 5489 7577 001A 8FF1 1AC5 DFE8 0FB2 User-Agent: Mutt/1.5.9i Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: --gneEPciiIl/aKvOT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hoi :) On Sun, Aug 20, 2006 at 12:44:57AM +0200, Petr Baudis wrote: > Dear diary, on Sun, Aug 20, 2006 at 12:39:20AM CEST, I got a letter > where Junio C Hamano said that... > > But I would suggest you to be _extremely_ careful if you want to > > try this. I do not have an example offhand, but I would not be > > surprised at all if there is a valid use case where it is useful > > to have a pattern that matches a tracked file in .gitignore > > file. >=20 > *.o and binary blobs of closed-source software. but if you want to switch from one branch which has the .o file built from source to another branch which has the .o file tracked in binary form, wouldn't you want to remove the generated file in order to store the tracked one from the new branch? --=20 Martin Waitz --gneEPciiIl/aKvOT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFE6FPIj/Eaxd/oD7IRAtMTAJ98nVUDMtF0pocm2Rdy+Q3UbnAHBACfYd8g 2yo7J/GA9NnyZGWb+Dvs8cw= =E7Wz -----END PGP SIGNATURE----- --gneEPciiIl/aKvOT--