From: Daniel De Graaf <dgdegra@tycho.nsa.gov>
To: Jean Guyader <jean.guyader@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: [PATCH] ioemu: Clone ioemu with --depth=1
Date: Tue, 01 Nov 2011 17:32:15 -0400 [thread overview]
Message-ID: <4EB0655F.5080107@tycho.nsa.gov> (raw)
In-Reply-To: <20111101173312.GH20553@spongy.cam.xci-test.com>
On 11/01/2011 01:33 PM, Jean Guyader wrote:
>
> Signed-off-by: Jean Guyader <jean.guyader@citrix.com>
>
> diff --git a/tools/Makefile b/tools/Makefile
> index 9389e1f..6c1dfe0 100644
> --- a/tools/Makefile
> +++ b/tools/Makefile
> @@ -92,7 +92,7 @@ ioemu-dir-find:
> if [ ! -d ioemu-remote ]; then \
> rm -rf ioemu-remote ioemu-remote.tmp; \
> mkdir ioemu-remote.tmp; rmdir ioemu-remote.tmp; \
> - $(GIT) clone $(CONFIG_QEMU) ioemu-remote.tmp; \
> + $(GIT) clone --depth=1 $(CONFIG_QEMU) ioemu-remote.tmp; \
> if [ "$(QEMU_TAG)" ]; then \
> cd ioemu-remote.tmp; \
> $(GIT) branch -D dummy >/dev/null 2>&1 ||:; \
This will break if QEMU_TAG is pointing to any commit that is more than
one commit away from a branch or tag in the source repository. In order
to allow using older xen repositories, this requires that every update
to QEMU_TAG in xen-*.hg also add a tag or branch to the git repository.
It would be nice if you could use git clone --branch $(QEMU_TAG)
but this is not supported when $(QEMU_TAG) is a commit ID.
--
Daniel De Graaf
National Security Agency
next prev parent reply other threads:[~2011-11-01 21:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-01 17:33 [PATCH] ioemu: Clone ioemu with --depth=1 Jean Guyader
2011-11-01 20:25 ` Ian Campbell
2011-11-01 22:18 ` Jean Guyader
2011-11-01 23:08 ` Ian Campbell
2011-11-01 21:32 ` Daniel De Graaf [this message]
2011-11-01 21:52 ` Ian Campbell
2011-11-01 22:16 ` Jean Guyader
2011-11-01 23:10 ` Ian Campbell
2011-11-02 16:00 ` Ian Jackson
2011-11-07 17:11 ` Jean Guyader
2011-11-01 22:07 ` Jean Guyader
2011-11-02 16:01 ` Ian Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EB0655F.5080107@tycho.nsa.gov \
--to=dgdegra@tycho.nsa.gov \
--cc=Ian.Jackson@eu.citrix.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=jean.guyader@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.