Re: cg-clone produces "___" file and no working tree
- From
- Zack Brown <zbrown@tumblerings.org>
- Date
- Apr 19, 2006, 14:21 UTC
- Message-ID
- <20060419142131.GD4104@tumblerings.org>
- In-Reply-To
- <20060419094916.GD27689@pasky.or.cz>
Hi Petr,
On Wed, Apr 19, 2006 at 11:49:16AM +0200, Petr Baudis wrote:
Show 21 quoted lines
> Dear diary, on Wed, Apr 19, 2006 at 07:36:40AM CEST, I got a letter > where Zack Brown <zbrown@tumblerings.org> said that... > > When I do something like > > cg-clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/git.git > > > > The first few lines of output are: > > > > defaulting to local storage area > > warning: templates not found /home/zbrown/share/git-core/templates/ > > /home/zbrown/git/cogito/cg-clone: line 137: .git/info/cg-fetch-earlydie: No such file or directory > > /home/zbrown/git/cogito/cg-clone: line 148: .git/info/cg-fetch-initial: No such file or directory > > > > The rest of the process seems to go without incident. However, when I look > > at the repository I see: > > > > $ ls -A > > .git ___ > > $ > > Could you please list the contents of the .git subdirectory? It seems > that git-init-db did not create the .git/info subdirectory.
07:19:57 [zbrown] ~/git/trees/tmp/git/.git$ ls -F total 28 4 HEAD 4 branches/ 4 config 4 index 4 info/ 4 objects/ 4 refs/
> > I suspect that something went wrong with your installation and in fact > you are using much older git version. Check git --version and if `which > git-init-db` corresponds to `which git`.
07:11:13 [zbrown] ~$ git --version git version 1.3.0.g2473-dirty 07:18:38 [zbrown] ~$ which git-init-db /home/zbrown/git/git//git-init-db 07:18:52 [zbrown] ~$ which git /home/zbrown/git/git//git 07:18:54 [zbrown] ~$
I assume the "-dirty" in the version number means it thinks I've made some changes, but I really haven't. Maybe the repo got corrupted somehow.
Be well, Zack
Show 6 quoted lines
> > -- > Petr "Pasky" Baudis > Stuff: http://pasky.or.cz/ > Right now I am having amnesia and deja-vu at the same time. I think > I have forgotten this before.
-- Zack Brown