All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] corrupted tags in git://git.denx.de/u-boot ?
Date: Tue, 23 Jun 2015 15:13:23 +0300	[thread overview]
Message-ID: <55894D63.508@compulab.co.il> (raw)

Hi guys,

While running git fsck --full, I've noticed the following:
-------------------------------cut-------------------------------------
$ git fsck --full
Checking object directories: 100% (256/256), done.
error in tag 9bf86baaa3b35b25baa2d664e2f7f6cafad689ee: unterminated header
error in tag c7071e6d645a8e13adb0d4cea2caad27213fa62f: unterminated header
error in tag eb394f56db3e05d00891d6dc36a00df0025cf255: unterminated header
Checking objects: 100% (356677/356677), done.
Checking connectivity: 356680, done.
-------------------------------cut-------------------------------------

So, I did git describe on those:
-------------------------------cut-------------------------------------
$ git describe 9bf86baaa3b35b25baa2d664e2f7f6cafad689ee c7071e6d645a8e13adb0d4cea2caad27213fa62f eb394f56db3e05d00891d6dc36a00df0025cf255
LABEL_2006_04_18_1106
LABEL_2006_05_19_1133
LABEL_2006_03_12_0025
-------------------------------cut-------------------------------------

Having no apparent need of those tags, I just git tag -d them and git gc:
-------------------------------cut-------------------------------------
$ git tag -d LABEL_2006_03_12_0025 LABEL_2006_04_18_1106 LABEL_2006_05_19_1133
Deleted tag 'LABEL_2006_03_12_0025' (was eb394f5)
Deleted tag 'LABEL_2006_04_18_1106' (was 9bf86ba)
Deleted tag 'LABEL_2006_05_19_1133' (was c7071e6)
$ git gc --prune=now
Counting objects: 356677, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (64947/64947), done.
Writing objects: 100% (356677/356677), done.
Total 356677 (delta 285384), reused 356677 (delta 285384)
Checking connectivity: 356677, done.
-------------------------------cut-------------------------------------

After the above git fsck --full got much happier:
-------------------------------cut-------------------------------------
$ git fsck --full 
Checking object directories: 100% (256/256), done.
Checking objects: 100% (356677/356677), done.
Checking connectivity: 356677, done.
-------------------------------cut-------------------------------------

Now, next time I git remote update, I get them back:
-------------------------------cut-------------------------------------
$ git remote update 
Fetching origin
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 3 (delta 0)
Unpacking objects: 100% (3/3), done.
From git://git.denx.de/u-boot
 * [new tag]         LABEL_2006_03_12_0025 -> LABEL_2006_03_12_0025
 * [new tag]         LABEL_2006_04_18_1106 -> LABEL_2006_04_18_1106
 * [new tag]         LABEL_2006_05_19_1133 -> LABEL_2006_05_19_1133
-------------------------------cut-------------------------------------

and once again git fsck --full complains:
-------------------------------cut-------------------------------------
$ git fsck --full
Checking object directories: 100% (256/256), done.
error in tag 9bf86baaa3b35b25baa2d664e2f7f6cafad689ee: unterminated header
error in tag c7071e6d645a8e13adb0d4cea2caad27213fa62f: unterminated header
error in tag eb394f56db3e05d00891d6dc36a00df0025cf255: unterminated header
Checking objects: 100% (356677/356677), done.
Checking connectivity: 356680, done.
-------------------------------cut-------------------------------------

Is it only me suffering from some kind of corruption on remote update
or do we all have the same problem and I'm the first to notice (or just
missed a thread about this)?

Thanks for help!

-- 
Regards,
Igor.

             reply	other threads:[~2015-06-23 12:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-23 12:13 Igor Grinberg [this message]
2015-06-23 13:31 ` [U-Boot] corrupted tags in git://git.denx.de/u-boot ? Wolfgang Denk
2015-06-23 15:23   ` Igor Grinberg
2015-06-25 13:22     ` Wolfgang Denk
2015-06-25 13:27       ` Tom Rini
2015-06-26  6:12         ` Wolfgang Denk
2015-06-26  2:06 ` Joe Hershberger

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=55894D63.508@compulab.co.il \
    --to=grinberg@compulab.co.il \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.