git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rebuild repo from data, packfiles?
@ 2010-11-20 22:54 tom fogal
  2010-11-21  0:16 ` Jonathan Nieder
  0 siblings, 1 reply; 7+ messages in thread
From: tom fogal @ 2010-11-20 22:54 UTC (permalink / raw)
  To: git

Long story short, I lost some metadata in a repo I've got.  However,
my entire .git/objects/ && subdirs is intact, so I'm hopeful my data's
still accessible in some form.

I'm trying to piece together the git metadata that goes in .git (no
subdirs) based on what I've got in other repos && what fails when I
strace git, in hopes I can rebuild my reflog to grab all the work
I only had locally.  Currently I can't `log' or `reflog' or really
anything, because git thinks this directory isn't a git repo.

I'm curious if there's ideas out there for rebuilding my repo based on
the repo's data.  Is there a command I could point at .git/objects and
have it repopulate the repo?

Thanks,

-tom

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-11-21 19:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-20 22:54 rebuild repo from data, packfiles? tom fogal
2010-11-21  0:16 ` Jonathan Nieder
2010-11-21  2:44   ` tom fogal
2010-11-21  3:27     ` Jonathan Nieder
2010-11-21  3:55       ` tom fogal
2010-11-21  4:19         ` Jonathan Nieder
2010-11-21 19:51       ` tom fogal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).