Issue occurred here yesterday, leaving a Git repo with ~8 not-pushed
commits broken. :(

Linux tango 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:44:39 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux

The script for fixing (#41) does not work at all here:

$ git st
fatal: loose object df09705cdd19da7f674558d35c300748b3a2d113 (stored in 
.git/objects/df/09705cdd19da7f674558d35c300748b3a2d113) is corrupt
$ ./git-remove-trailing-garbage.py df09705cdd19da7f674558d35c300748b3a2d113
error: unable to find df09705cdd19da7f674558d35c300748b3a2d113
fatal: git cat-file df09705cdd19da7f674558d35c300748b3a2d113: bad file
fatal: invalid object type ""
Traceback (most recent call last):
  File "./git-remove-trailing-garbage.py", line 36, in <module>
    with open(obj, 'rb') as f:
IOError: [Errno 5] Input/output error: 
'/…/.git/objects/df/09705cdd19da7f674558d35c300748b3a2d113'

Any other way to get this fixed?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/509180

Title:
  ecryptfs sometimes seems to add trailing garbage to encrypted files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ecryptfs/+bug/509180/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to