unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Frequent git repository corruptions
@ 2018-09-26 10:03 Pierre Neidhardt
  2018-09-26 10:50 ` Ricardo Wurmus
  2018-09-27  8:03 ` Mark H Weaver
  0 siblings, 2 replies; 18+ messages in thread
From: Pierre Neidhardt @ 2018-09-26 10:03 UTC (permalink / raw)
  To: help-guix@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1416 bytes --]

Hi Guix!

This might be unrelated to Guix but since I'm in the dark here, I
figured I'd rather ask, maybe someone ran into a similar issue.

For the past 2-4 weeks I've had at least 4 Git repositories that got
corrupted for no apparent reason.  Even a checkout that I had never
touched.

When it happens, errors show up on most git commands, usually `git diff`
but sometimes also `git status`:

--8<---------------cut here---------------start------------->8---
> git diff
error: object file .git/objects/e0/1bd6c3c77309b13dab22f9e0de33576ede944f is empty
fatal: unable to read e01bd6c3c77309b13dab22f9e0de33576ede944f
--8<---------------cut here---------------end--------------->8---

A quick Internet search led me to realize there is little to do to
recover the corrupted repository beside cloning it again.  I haven't
lost anything so far, knock on wood.

My first thought was a hard drive issue.  I have a NVMe SAMSUNG
MZVLW256HEHP.
I ran some smartmontools test, everything looks fine.

But now that I think about it, I did not notice any other issue than
within the .git folder, so maybe it's a... Git issue?

Would it be possible that the Guix package of Git be the culprit?
I run git 2.19.0 and a repo got corrupted just this morning.

I use emacs-magit all the time.  Not sure it's related considering that
a repository I never edited also got corrupted.

Anyone?

--
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2018-10-13 12:55 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-26 10:03 Frequent git repository corruptions Pierre Neidhardt
2018-09-26 10:50 ` Ricardo Wurmus
2018-09-26 11:43   ` Pierre Neidhardt
2018-09-27  8:03 ` Mark H Weaver
2018-09-27  8:10   ` Pierre Neidhardt
2018-09-28 13:16     ` Pierre Neidhardt
2018-09-28 13:31       ` Tobias Geerinckx-Rice
2018-09-28 14:18         ` Pierre Neidhardt
2018-09-29 12:50           ` Pierre Neidhardt
2018-09-29 19:08             ` Björn Höfling
2018-09-30 12:33               ` Pierre Neidhardt
2018-09-30 12:39                 ` Tobias Geerinckx-Rice
2018-09-30 12:43                   ` Tobias Geerinckx-Rice
2018-09-30 12:55                     ` Tobias Geerinckx-Rice
2018-09-30 19:07                       ` Mark H Weaver
2018-09-30 19:22                         ` Tobias Geerinckx-Rice
2018-09-30 21:27                           ` Mark H Weaver
2018-10-13 12:55                             ` Pierre Neidhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).