From: Cole Robinson <crobinso@redhat.com>
To: qemu-devel@nongnu.org
Cc: qemu-trivial <qemu-trivial@nongnu.org>,
Peter Maydell <peter.maydell@linaro.org>,
Anthony Liguori <aliguori@amazon.com>,
Cole Robinson <crobinso@redhat.com>
Subject: [Qemu-devel] [PATCH v2 for-2.0] scripts/make-release: Don't distribute .git directories
Date: Fri, 14 Mar 2014 12:49:13 -0400 [thread overview]
Message-ID: <1493d560c83eef5eefe313cb6b4a1d17985a2471.1394815720.git.crobinso@redhat.com> (raw)
[crobinso@localhost qemu-2.0.0-rc0]$ find . -name .git
./dtc/.git
./pixman/.git
This is already done for the rom submodules.
https://bugs.launchpad.net/qemu/+bug/1224414
Signed-off-by: Cole Robinson <crobinso@redhat.com>
---
v2:
pixman/*.git -> pixman/.git for consistency
scripts/make-release | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/make-release b/scripts/make-release
index 196c755..186358d 100755
--- a/scripts/make-release
+++ b/scripts/make-release
@@ -18,7 +18,7 @@ git clone "${src}" ${destination}
pushd ${destination}
git checkout "v${version}"
git submodule update --init
-rm -rf .git roms/*/.git
+rm -rf .git roms/*/.git dtc/.git pixman/.git
popd
tar cfj ${destination}.tar.bz2 ${destination}
rm -rf ${destination}
--
1.8.5.3
next reply other threads:[~2014-03-14 16:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-14 16:49 Cole Robinson [this message]
2014-03-14 17:32 ` [Qemu-devel] [Qemu-trivial] [PATCH v2 for-2.0] scripts/make-release: Don't distribute .git directories Michael Tokarev
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=1493d560c83eef5eefe313cb6b4a1d17985a2471.1394815720.git.crobinso@redhat.com \
--to=crobinso@redhat.com \
--cc=aliguori@amazon.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).