From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael J Gruber Subject: Re: [gambit-list] Separating generated files? (Re: Mercurial -> git) Date: Wed, 15 Oct 2008 18:42:31 +0200 Message-ID: <48F61D77.3080100@drmicha.warpmail.net> References: <48F5D86B.6040501@pflanze.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Nguyen Thai Ngoc Duy , Christian Jaeger , Git Mailing List , Marc Feeley , Gambit List To: Matthieu Moy X-From: git-owner@vger.kernel.org Wed Oct 15 18:44:03 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kq9TR-0006cp-9N for gcvg-git-2@gmane.org; Wed, 15 Oct 2008 18:43:49 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752142AbYJOQmh (ORCPT ); Wed, 15 Oct 2008 12:42:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752056AbYJOQmh (ORCPT ); Wed, 15 Oct 2008 12:42:37 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:34024 "EHLO out2.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751970AbYJOQmg (ORCPT ); Wed, 15 Oct 2008 12:42:36 -0400 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 964A717D5DF; Wed, 15 Oct 2008 12:42:35 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 15 Oct 2008 12:42:35 -0400 X-Sasl-enc: bYrvE7mb8EfJ0qr5YkJYsXrArJVwV7uKBcu1rLOQWMHp 1224088955 Received: from [139.174.44.12] (whitehead.math.tu-clausthal.de [139.174.44.12]) by mail.messagingengine.com (Postfix) with ESMTPSA id 6711E12D87; Wed, 15 Oct 2008 12:42:34 -0400 (EDT) User-Agent: Thunderbird 2.0.0.17 (X11/20080914) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Matthieu Moy venit, vidit, dixit 15.10.2008 17:30: > "Nguyen Thai Ngoc Duy" writes: > >> Hi Christian, >> >> The idea of using two separate repositories for source and generated >> source is interesting. I would like to bring this to git mailing list, >> they may provide insightul comments for your idea or even other >> approaches. > > I think the first question is: do you (and why) need to use a version > control system for generated files? I guess we can take "yes" for granted for the first part ;) As for the why: In cases like this one it's interesting to compare (read: diff) the output generated by different versions of the input. I wonder whether a clever use of "excludes" and GIT_DIR would allow tracking the different filesets in the same dir, but using different repos. I'm just afraid it's a fragile setup, in the sense that it relies on config stuff which is not tracked (and thus not reproduced automatically on clone). Michael