dtc/.git file included in release tarball

Bug #1224414 reported by Olof Johansson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Undecided
Unassigned

Bug Description

The release tarballs include the dtc/.git submodule file, causing when working git in some circumstances (e.g. doing git clean -fxd in a parent git repository):

$ mkdir foo && cd foo
$ git init
$ echo yo >bar
$ curl http://wiki.qemu-project.org/download/qemu-1.6.0.tar.bz2
$ tar xjf qemu-1.6.0.tar.bz2
$ git clean -fxd
Removing bar
Removing qemu-1.6.0.tar.bz2
Removing qemu-1.6.0/
fatal: Not a git repository: qemu-1.6.0/pixman/../.git/modules/pixman

Leaving the qemu-1.6.0 directory intact.

So, my suggestion is, would it be possible to filter out the .git file from the release tarball when building a release? Thanks.

Revision history for this message
Cole Robinson (crobinso) wrote :

Fixed upstream:

commit 379e21c258d5faf0cd7c6f9208347726e14ae241
Author: Cole Robinson <email address hidden>
Date: Fri Mar 14 12:49:13 2014 -0400

    scripts/make-release: Don't distribute .git directories

Changed in qemu:
status: New → Fix Committed
Thomas Huth (th-huth)
Changed in qemu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers