Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261153AbVDUXbT (ORCPT ); Thu, 21 Apr 2005 19:31:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261359AbVDUXbT (ORCPT ); Thu, 21 Apr 2005 19:31:19 -0400 Received: from fire.osdl.org ([65.172.181.4]:16018 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S261153AbVDUXbR (ORCPT ); Thu, 21 Apr 2005 19:31:17 -0400 Date: Thu, 21 Apr 2005 16:33:11 -0700 (PDT) From: Linus Torvalds To: Pavel Machek cc: Petr Baudis , kernel list Subject: Re: Linux 2.6.12-rc3 In-Reply-To: <20050421232201.GD31207@elf.ucw.cz> Message-ID: References: <20050421112022.GB2160@elf.ucw.cz> <20050421120327.GA13834@elf.ucw.cz> <20050421162220.GD30991@pasky.ji.cz> <20050421232201.GD31207@elf.ucw.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1167 Lines: 31 On Fri, 22 Apr 2005, Pavel Machek wrote: > > Is there way to say "git diff -r origin:" but dump it patch-by-patch > with some usable headers? In my git version there is a command called "git-export" for exactly this. I don't know if Pasky included that in his trees, but if not, you can just get my git tree (which should be compatible with Pasky's scripts, but mine just has the "core" stuff). Using "git-export" you can export your whole git tree if you want to, but more commonly you'd say git-export $(cat .git/HEAD) $(cat .git/BASE) where you'd have saved the previous head that you exported in the BASE thing (or, if you pull my tree, and want to export your changes back to me, you'd initialize BASE to the original HEAD in my tree). The output format of "git-export" is not the prettiest in the world, but I've never actually _used_ that command, I just wrote it as a demonstration thing. Linus - 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/