From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23147 invoked by alias); 7 Apr 2013 18:33:55 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31232 Received: (qmail 23844 invoked from network); 7 Apr 2013 18:33:54 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <130407113333.ZM525@torch.brasslantern.com> Date: Sun, 07 Apr 2013 11:33:33 -0700 In-reply-to: Comments: In reply to Nikolai Weibull "Re: Curious result from "git" completion" (Apr 4, 9:33pm) References: <130404104417.ZM2767@torch.brasslantern.com> <871uaqgjbv.fsf@ft.bewatermyfriend.org> In-reply-to: <871uaqgjbv.fsf@ft.bewatermyfriend.org> Comments: In reply to Frank Terbeck "Re: Curious result from "git" completion" (Apr 4, 9:57pm) X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Curious result from "git" completion MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Thanks for the patch for this. Briefly switching to the other topic in this thread (if this goes on much longer we should edit the Subject): On Apr 4, 9:33pm, Nikolai Weibull wrote: } } > I was attempting completion in hopes of answering the question, "What's } > the simple git equivalent of 'cvs export'?" } } What are you trying to achieve? A simple cp -a on the main directory } followed by a rm -rf $DIR/.git would create a copy without any Git } information. That's what I was after. I just assumed that since git seems to have a sub-command for just about everything, there was probably already one that did this in [what would appear to the user as] a single step, but that I hadn't found it yet. On Apr 4, 9:57pm, Frank Terbeck wrote: } } This would be "git archive". Well, almost. I still have to e.g. pipe it to tar. But these are both serviceable answers. Background: I have my own CVS repository with a slightly customized zsh module. It has stuff that's it's not really appropriate to push up to sourceforge, e.g., Makefile changes to be able to compile the docs under obsolete versions of texinfo, and the like. I use it to pull sources onto some hosts where git is not installed and it's a hassle to arrange for it to be. I have a script that previously sync'd CVS at sourceforge into a local sandbox based on my repository, which I'm updating to base the remote repository on git. The sync depends on being able to do a multi-way diff against a clean tree that has no version control clutter, which until the cutover I would generate with "cvs export". -- Barton E. Schaefer