From: Stefano Stabellini Subject: Re: [PATCH v6 1/5] Introduce git-checkout.sh Date: Thu, 29 Sep 2011 12:10:31 +0100 Message-ID: References: <1316779878-10950-1-git-send-email-stefano.stabellini@eu.citrix.com> <20099.17426.176688.137409@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: <20099.17426.176688.137409@mariner.uk.xensource.com> 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 Jackson Cc: Ian Campbell , "xen-devel@lists.xensource.com" , "keir@xen.org" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Wed, 28 Sep 2011, Ian Jackson wrote: > stefano.stabellini@eu.citrix.com writes ("[Xen-devel] [PATCH v6 1/5] Introduce git-checkout.sh"): > > Introduce a script to perform git checkout on an external git tree; use > > git-checkout.sh in ioemu-dir-find. > ... > > +#!/bin/sh > > + > > +TREE=$1 > > +TAG=$2 > > +DIR=$3 > > Missing > - set -e > - argument count check Yes, I'll add those. > > +if test \! -d $DIR-remote; then > > + rm -rf $DIR-remote $DIR-remote.tmp; > > Spurious semicolons. OK. > > distclean: subdirs-distclean > > - rm -rf ioemu-dir ioemu-remote > > + rm -rf ioemu-dir ioemu-dir-remote > > Would it be too much to ask you not to rename this directory ? Honestly I think that keeping the old name is bad: having two qemu trees cloned by xen-unstable is already confusing enough for both to users and developers, the very least we can do is naming the two trees meaningfully.