From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Boldi Subject: Re: git guidance Date: Fri, 7 Dec 2007 13:53:11 +0300 Message-ID: <200712071353.11654.a1426z@gawab.com> References: <20071129105220.v40i22q4gw4cgoso@intranet.digizenstudio.com> <200712070737.18519.a1426z@gawab.com> <475906F7.5010309@op5.se> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Cc: Johannes Schindelin , Phillip Susi , Linus Torvalds , Jing Xue , linux-kernel@vger.kernel.org, git@vger.kernel.org To: Andreas Ericsson X-From: git-owner@vger.kernel.org Fri Dec 07 11:54:52 2007 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 1J0ar4-0000yv-JU for gcvg-git-2@gmane.org; Fri, 07 Dec 2007 11:54:51 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751901AbXLGKyX (ORCPT ); Fri, 7 Dec 2007 05:54:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751783AbXLGKyX (ORCPT ); Fri, 7 Dec 2007 05:54:23 -0500 Received: from [212.12.190.195] ([212.12.190.195]:60321 "EHLO raad.intranet" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751841AbXLGKyV (ORCPT ); Fri, 7 Dec 2007 05:54:21 -0500 Received: from localhost ([10.0.0.111]) by raad.intranet (8.8.7/8.8.7) with ESMTP id NAA28320; Fri, 7 Dec 2007 13:53:05 +0300 User-Agent: KMail/1.5 In-Reply-To: <475906F7.5010309@op5.se> Content-Disposition: inline Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Andreas Ericsson wrote: > 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 ### ### WORKFLOW C ### for every save on a gitfs mounted dir, do an implied checkpoint, commit, or publish (should be adjustable), on its privately created on-the-fly repository. ### END WORKFLOW C ### For example: echo "// last comment on this file" >> /gitfs.mounted/file should do an implied checkpoint, and make these checkpoints immediately visible under some checkpoint branch of the gitfs mounted dir. Note, this way the developer gets version control without even noticing, and works completely transparent to any kind of application. Thanks! -- Al