bug-automake
[Top][All Lists]
Advanced

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

bug#23839: automake git repository not cloneable with fsckobjects=true


From: Eric Blake
Subject: bug#23839: automake git repository not cloneable with fsckobjects=true
Date: Tue, 25 Oct 2016 10:17:05 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

tag 23839 fixed
thanks

On 10/25/2016 12:15 AM, Kyle J. McKay wrote:

>>> To this end, I have included the contents of an "automake-fix-tags.txt"
>>> file (that can be fed to git fast-import to correct the problem
>>> tags) at the end of this email.  The missing email and timestamp
>>> information to fix the broken tag objects was taken from the commit
>>> object that each of the problem tags refers to.
>>
>> Can you show the script you used to generate the contents of
>> 'automake-fix-tags.txt'? I'd like to repeat that fix for findutils.git.
> 
> The script (export-fixed-tags) is now available from:
> 
>   https://gist.github.com/9ea081513f6b90bb4470b7b2bc6e4bce

Thanks!

> 
> If you want to clone it (there's just the one file) use:
> 
>   git://gist.github.com/9ea081513f6b90bb4470b7b2bc6e4bce.git
> 
> The script does seem to work properly on the findutils.git repository
> and I have added some usage comments at the top to facilitate its use.

I've used it to fix both findutils.git and automake.git.  Remember, if
you already have a checkout with the broken tags, git will not
automatically replace them with the fixed ones; you'll have to first
delete the broken tags locally and then refresh from upstream.  I'm
attaching the names of the tags that got fixed; you can fix your local
side by:

$ git tag -d $(cat broken)
$ git fetch origin --tags

then, optionally use git prune to remove the now-dangling broken tags.

As such, I'm marking this bug as complete.

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

Attachment: broken
Description: Text document

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]