[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] scripts/make-release: More .git removal
From: |
Cole Robinson |
Subject: |
Re: [Qemu-devel] [PATCH] scripts/make-release: More .git removal |
Date: |
Sat, 6 Jan 2018 16:56:48 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
On 12/19/2017 08:13 AM, Markus Armbruster wrote:
> Cole Robinson <address@hidden> writes:
>
>> As was last done in 379e21c25, we want to remove .git files for
>> submodules here, which we aren't presently doing for capstone and
>> keycodemapdb.
>>
>> Rather than a whitelist use 'find' to future proof this
>>
>> Signed-off-by: Cole Robinson <address@hidden>
>> ---
>> scripts/make-release | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/scripts/make-release b/scripts/make-release
>> index 3917df7142..7c7bec577f 100755
>> --- a/scripts/make-release
>> +++ b/scripts/make-release
>> @@ -19,7 +19,7 @@ pushd ${destination}
>> git checkout "v${version}"
>> git submodule update --init
>> (cd roms/seabios && git describe --tags --long --dirty > .version)
>> -rm -rf .git roms/*/.git dtc/.git pixman/.git
>> +find . -depth -name .git -exec rm -rf '{}' \;
>> # FIXME: The following line is a workaround for avoiding filename collisions
>> # when unpacking u-boot sources on case-insensitive filesystems. Once we
>> # update to something with u-boot commit 610eec7f0 we can drop this line.
>
> Less scary: run tar with --exclude=.git.
>
Good idea, I sent a v2 using that instead
Thanks,
Cole
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH] scripts/make-release: More .git removal,
Cole Robinson <=