From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: Re: [PATCH] refetch qemu if QEMU_TAG changed Date: Fri, 29 Oct 2010 09:31:46 +0200 Message-ID: <4CCA7862.40109@ts.fujitsu.com> References: <1288336835.8069.18.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1288336835.8069.18.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 10/29/10 09:20, Ian Campbell wrote: > On Fri, 2010-10-29 at 07:57 +0100, Juergen Gross wrote: >> Check for a changed QEMU_TAG. If it has changed since last build, delete old >> qemu sources and refetch with new QEMU_TAG. > > Deleteing and recloning seems like an awfully big hammer. Can the same > not be achieved with a "git fetch origin" and a "git reset"? I'm no git expert :-) I just created an automated version of the currently supported "official" way to handle this kind of problem (make distclean) without deleting everything. I don't know if there are any nasty side effects possible with your proposal, so it would be nice if someone with more git experience could set up a better solution. Juergen -- Juergen Gross Principal Developer Operating Systems TSP ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967 Fujitsu Technology Solutions e-mail: juergen.gross@ts.fujitsu.com Domagkstr. 28 Internet: ts.fujitsu.com D-80807 Muenchen Company details: ts.fujitsu.com/imprint.html