summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fix cat-file stall bugJoey Hess2013-11-20
| | | | | | | Apparently some corruption to an object can cause cat-file to say it's N bytes long, but only output N-M bytes of data. This causes Git.CatFile to stall waiting for the rest. To fix, add a 1 minute timeout to the cat-file, which should be enough time to read any reasonable object.
* missed checking the index in this caseJoey Hess2013-11-20
| | | | This code needs to be refactored..
* fix another failureJoey Hess2013-11-20
| | | | | | | | In this case, fsck failed once for some reason that was corrected by fetching. But then it failed again due to an object with a bad type, which remained in tree after fetching from origin. So, let cleanCorruptObjects run again after fetching.
* catch non-IO exception from cat-fileJoey Hess2013-11-20
| | | | | Aguably, I should make cat-file only throw IO exceptions, but currently it throws some errors too.
* more fixesJoey Hess2013-11-20
|
* updateJoey Hess2013-11-20
|
* fix pack explodingJoey Hess2013-11-20
| | | | | | | unpack-objects does nothing unless the pack is moved out of the packs directory. Also, unpack any packs recevied when fetching.
* fix reversion of bad fsck tryharder codeJoey Hess2013-11-20
|
* show current test numberJoey Hess2013-11-20
|
* remove fsck tryharder codeJoey Hess2013-11-20
| | | | | | It turned out to be broken, and led to failures. 6d67245728bbbc07ad1eeaf5b3c49f64c6bbcd11 was a better fix for the problem that code tried to fix.
* tighten up invalid HEAD detectionJoey Hess2013-11-20
| | | | Must contains "ref: refs/" or git rejects it
* fix a crashJoey Hess2013-11-20
|
* deal with corrupted index againJoey Hess2013-11-20
|
* fix failure propigationJoey Hess2013-11-20
|
* reorgJoey Hess2013-11-20
|
* updateJoey Hess2013-11-20
|
* urgleJoey Hess2013-11-20
|
* try to recover even if git fsck cannot be coaxed to tell us any bad objectsJoey Hess2013-11-20
| | | | | | | Sometimes git fsck outputs no shas even with --verbose, but fails, due to badly corrupt objects. The best thing to do in this situation is to try to pull and rsync from remotes, hoping that the bad objects will be overwritten.
* oopsJoey Hess2013-11-20
|
* avoid crash on bad file encodingJoey Hess2013-11-20
|
* merge from git-annexJoey Hess2013-11-20
|
* improve test runnerJoey Hess2013-11-20
|
* Write a dummy .git/HEAD if the file is missing, as git otherwise will not ↵Joey Hess2013-11-20
| | | | treat the repository as a git repo.
* avoid corrupting .git/config, at least for nowJoey Hess2013-11-20
|
* whoopsJoey Hess2013-11-19
|
* changelogJoey Hess2013-11-19
|
* fix repair failure that occurred when index was corrupted, and other objects tooJoey Hess2013-11-19
| | | | | In this case, the index problem prevented fsck from finding the other problems.
* retryingJoey Hess2013-11-19
|
* run a fsck at end to double-checkJoey Hess2013-11-19
|
* fix file mode problemsJoey Hess2013-11-19
|
* fix corruption of origin repoJoey Hess2013-11-19
|
* initial work on git repository destroyerJoey Hess2013-11-19
| | | | | I suspect this might sometimes corrupt the **source** repo, so use with caution!
* foo1.20131118Joey Hess2013-11-18
|
* use debian/changelog for versionJoey Hess2013-11-18
|
* use optparse-applicativeJoey Hess2013-11-18
|
* debianizationJoey Hess2013-11-18
|
* typoJoey Hess2013-11-18
|
* does not need pretty-showJoey Hess2013-11-18
|
* addJoey Hess2013-11-18
|
* updateJoey Hess2013-11-18
|
* updateJoey Hess2013-11-18
|
* updateJoey Hess2013-11-18
|
* pageJoey Hess2013-11-18
|
* Merge remote-tracking branch 'origin/master'Joey Hess2013-11-18
|\ | | | | | | | | Conflicts: .gitignore
| * renameadmin2013-11-18
| |
| * (no commit message)http://joeyh.name/2013-11-18
| |
| * initial commitadmin2013-11-18
|
* add man pageJoey Hess2013-11-18
|
* ignoreJoey Hess2013-11-18
|
* copied from git-annexJoey Hess2013-11-18