Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753222AbXLGIkj (ORCPT ); Fri, 7 Dec 2007 03:40:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750952AbXLGIk3 (ORCPT ); Fri, 7 Dec 2007 03:40:29 -0500 Received: from mail.op5.se ([193.201.96.20]:38180 "EHLO mail.op5.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751149AbXLGIk2 (ORCPT ); Fri, 7 Dec 2007 03:40:28 -0500 X-Spam-Flag: NO X-Spam-Score: -2.499 Message-ID: <475906F7.5010309@op5.se> Date: Fri, 07 Dec 2007 09:40:23 +0100 From: Andreas Ericsson User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Al Boldi CC: Johannes Schindelin , Phillip Susi , Linus Torvalds , Jing Xue , linux-kernel@vger.kernel.org, git@vger.kernel.org Subject: Re: git guidance References: <20071129105220.v40i22q4gw4cgoso@intranet.digizenstudio.com> <200712072155.04643.a1426z@gawab.com> <200712070737.18519.a1426z@gawab.com> In-Reply-To: <200712070737.18519.a1426z@gawab.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3173 Lines: 85 Al Boldi wrote: > Johannes Schindelin wrote: >> Hi, > > Hi > >> On Fri, 7 Dec 2007, Al Boldi wrote: >>> You need to re-read the thread. >> I don't know why you write that, and then say thanks. Clearly, what you >> wrote originally, and what Andreas pointed out, were quite obvious >> indicators that git already does what you suggest. >> >> You _do_ work "transparently" (whatever you understand by that overused >> term) in the working directory, unimpeded by git. > > If you go back in the thread, you may find a link to a gitfs client that > somebody kindly posted. This client pretty much defines the transparency > I'm talking about. The only problem is that it's read-only. > > To make it really useful, it has to support versioning locally, disconnected > from the server repository. One way to implement this, could be by > committing every update unconditionally to an on-the-fly created git > repository private to the gitfs client. > Earlier you said that you need to be able to tell git when you want to make a commit, which means pretty much any old filesystem could serve as gitfs. Now you're saying you want every single update to be committed, which would make it mimic an editor's undo functionality. I still don't get what it is you really want. > With this transparently created private scratch repository it should then be > possible for the same gitfs to re-expose the locally created commits, all > without any direct user-intervention. > > Later, this same scratch repository could then be managed by the normal > git-management tools/commands to ultimately update the backend git > repositories. > That's exactly what's happening today. I imagine whoever wrote the gitfs thing did so to facilitate testing, or as some form of intellectual masturbation. So, to get to the bottom of this, which of the following workflows is it you want git to support? ### WORKFLOW A ### edit, edit, edit edit, edit, edit edit, edit, edit Oops I made a mistake and need to hop back to "current - 12". edit, edit, edit edit, edit, edit publish everything, similar to just tarring up your workdir and sending out ### END WORKFLOW A ### ### WORKFLOW B ### edit, edit, edit ok this looks good, I want to save a checkpoint here edit, edit, edit looks good again. next checkpoint edit, edit, edit oh crap, back to checkpoint 2 edit, edit, edit ooh, that's better. save a checkpoint and publish those checkpoints ### END WORKFLOW B ### If you could just answer that question and stop writing "transparent" or any synonym thereof six times in each email, we can possibly help you. As it stands now though, nobody is very interested because you haven't explained how you want this "transparency" of yours to work in an every day scenario. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 -- 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/