Message: previous - next
Month: October 2012

Re: [trinity-devel] What happend to GIT?

From: Slávek Banko <slavek.banko@...>
Date: Sat, 6 Oct 2012 16:39:27 +0200
On Saturday 06 of October 2012 08:27:04 Timothy Pearson wrote:
> > Is the main GIT repo hosed? I can't sync, git pull, git diff, git
> commit.
> Looks OK from here:
> I am also doing a full test checkout from GIT for verification and have
> not run into any errors so far.
> > I notice many modules no longer have a ".git" subdirectory.
> That would cause problems, but I would suspect a haywire script or similar
> on your end has simply deleted those directories.  Running "git submodule
> init" and "git submodule update" from within the main tde/ directory
> should restore those directories and reset your copy to the latest GIT
> Please let me know if you run into any further issues; for obvious reasons
> I am concerned at even the slightest hint that the main GIT repository
> could possibly be corrupt!
> Tim

I have not noticed any problems with GIT. I even tried to clone a complete 
tree and no problems I noticed (except for the usual slow speed). Maybe you 
have just broken your local copy.

You can try:
git fsck && git submodule foreach "git fsck"

Note: Submodules may not have .git folder, but may have .git file that points 
to the location git folder in the top level object (in .git/modules).