Odd problem in repository
- From
- Clark Williams <clark.williams@gmail.com>
- Date
- Apr 24, 2007, 17:24 UTC
- Message-ID
- <462E3D32.60804@gmail.com>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello git-list,
We're experimenting with using git for the mock source repository on fedoraproject.org. The CVS repository was converted over and I successfully cloned a repository and went merrily on my way.
One of my collaborators cloned the repository the other day and found that it didn't have any branches in it. I cloned a temp copy of it and found that the files that normally would be in refs/heads to identify the branches had somehow been moved to the directory refs/remotes/origin. In my local repository (which was cloned immediately after the CVS import), if I list what's in refs/heads, I get this:
$ ls -F refs/heads master mock mock-0-6-branch mock-0.7 origin
on the whacky cloned copy, I get this: $ ls -F refs/heads master
and if I look in refs/remotes/origin: $ ls -F refs/remotes/origin HEAD master mock mock-0-6-branch mock-0.7 origin
Can anyone come up with a way that I could have mangled the repository with a push? I mean, I have no idea how that remotes/origin directory got created; I don't even have an interactive login on git.fedoraproject.org.
If anyone wants to see the repository, you can clone it from:
git://git.fedoraprojects.org/git/hosted/mock
I'm not sure if it makes sense to try and repair this or just start anew. Any advice would be appreciated.
Clark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD4DBQFGLj0xqA4JVb61b9cRAhWYAJ49SDX6EnRxkFkJGjq5TUjhHjP2kwCWOJfK obOqRJwU0vOq/aZDsM3glw== =XwQr -----END PGP SIGNATURE-----