From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Grinberg Date: Tue, 23 Jun 2015 15:13:23 +0300 Subject: [U-Boot] corrupted tags in git://git.denx.de/u-boot ? Message-ID: <55894D63.508@compulab.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.