No, I am not trying to fix a damaged repository. The two different git 
version I was able to install on the NAS can't even create an initial 
repository without errors. Thus, I figured that maybe the way the git was 
compiled is causing the problem (in other words, incompatible), so I 
attempt to compile it. Here I am with the problem...compiling problem.

Oh, yeah. If I copied a working repo over and use git status. It works 
fine. Again, once I git commit, it has error as before.

Here is my attempt to use git fsck:

Nass> git fsck
notice: HEAD points to an unborn branch (master)
Checking object directories: 100% (256/256), done.
fatal: failed to read object 790a2c3c7ab60cbc71e3f58fcb03c8e904f3379d: Bad 

On Tuesday, October 20, 2015 at 4:57:12 AM UTC-7, John McKown wrote:
> On Mon, Oct 19, 2015 at 3:53 PM, Que Trac < <javascript:>> 
> wrote:
>> I didn't want to compile git for myself unless I have to. The git package 
>> supplied for my platform isn't working properly. I can't run a simple git 
>> commit without an error like below:
>> Nass> git commit -m "Test"
>> fatal: 57e2b8c52efba71d84c56bf6f37581686b9061a3 is not a valid object
> ​EEEKKKK!!!! I apologize for not seeing this sooner (forest for trees 
> problem?). Recompiling git will _not_ fix a damaged repository. Which is 
> what the above seems to be telling you. Have you done the command:
> git fsck # check the integrity of the repository information
> If not, please do so and post the results. This can take a long time, 
> depending on how big the repository is and how much history it contains.​ I 
> would guess (and that's all it is at this point) that either a file has 
> become corrupted somehow (hardware failure? software failure?) or has been 
> deleted improperly. 
> -- 
> Schrodinger's backup: The condition of any backup is unknown until a 
> restore is attempted.
> Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be.
> He's about as useful as a wax frying pan.
> 10 to the 12th power microphones = 1 Megaphone
> Maranatha! <><
> John McKown

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to