-
Notifications
You must be signed in to change notification settings - Fork 14
Fix git repository corruption #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
These are of course the initial 2 commits in this repository. Fixing them
means rebasing all the other commits. This will mean everybodies clones
will also need rebasing.
I would suggest creating a commit to add a warning (maybe to the README)
that this will be done within, let's say, a couple of weeks, and then just
do it.
|
Sounds fair to me. See this commit for the warning I added. |
Perfect ;)
(I had no idea about the setting for integrity checking, btw, TIL)
…On Mon, Apr 1, 2019, 1:33 PM Caleb Maclennan ***@***.***> wrote:
Sounds fair to me. See this commit
<4ec778c>
for the warning I added.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AANhGWxxq_sBmObeYUEwsklLUiYdLnGQks5vce6EgaJpZM4cVOWB>
.
|
The entire repository was rebased to correct the two invalid commits. See the README for details on how to update clones. |
This was referenced Apr 16, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This repository has had a long standing issue with an invalid object in a commit. If git option for
fsckObjects
is set to true, the repository cannot be cloned:For years I've worked around this by temporarily disabling this setting in my user's git-config, cloning the repository, then turning the setting back on. In my bootstrap scripts I pass extra arguments to git for this project in particular that none of my other clones require.
Unfortunately since this was not caught and fixed by running
git fsck
early, fixing it is hard. Or at least awkward. There are actually two objects that need fixing:These are of course the initial 2 commits in this repository. Fixing them means rebasing all the other commits. This will mean everybody's clones will also need rebasing.
I would suggest that this is worth doing, and doing sooner rather than later. However since it is a bit of a disruptive change I will hold off actually doing it until there is some consensus that this is okay.
Alternatives to rebasing this would be to rename this repository as a "legacy" repo and open a new one that is not a fork of this one and post the clean branch there. I don't support this option, but it's the only other way I can think of to deal with the problem.
Lastly doing noting and just letting all future cloners deal with this in their own way is an option. Again I don't support this because it's so disruptive to anybody that has integrity checks turned on, but it is an option.
The text was updated successfully, but these errors were encountered: