Re: [PATCH] spec: Delete .git after applying patches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/06/2015 02:06 PM, Cole Robinson wrote:
> I'm hitting this little annoyance in fedora's package repo:
> 
> $ fedpkg prep
> Downloading libvirt-1.2.20.tar.gz
> ...
> + /usr/bin/gzip -dc /home/crobinso/src/fedora/libvirt/libvirt-1.2.20.tar.gz
> $ git clean -xdf
> Removing libvirt-1.2.20.tar.gz
> Skipping repository libvirt-1.2.20/
> 
> We git-ify the libvirt directory as part of applying patches in the spec
> file, but 'git clean' will ignore subfolders that appear to be standalone
> git repos.
> 
> Let's just delete the .git directory after we're done with it.
> ---
>  libvirt.spec.in | 1 +
>  1 file changed, 1 insertion(+)

Sounds good to me.  ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]