Re: cg-clone produces "___" file and no working tree
- From
Petr Baudis <pasky@suse.cz>
- Date
- Apr 20, 2006, 20:35 UTC
- Message-ID
- <20060420203533.GG27689@pasky.or.cz>
- In-Reply-To
- <7vk69kxabp.fsf@assigned-by-dhcp.cox.net>
Dear diary, on Thu, Apr 20, 2006 at 10:26:34PM CEST, I got a letter where Junio C Hamano <junkio@cox.net> said that...
Show 12 quoted lines
> Petr Baudis <pasky@suse.cz> writes: > > > Duh, but shouldn't git-init-db create .git/info at any rate, even when > > no templates are installed? > > I do not think so. We tend to lazily create necessary > directories under .git/ these days, and absolute minimum git > should not need an empty .git/info directory. > > If there is something that creates files in .git/info without > making sure that leading path exists, we should fix it (maybe > update-server-info forgets it? I haven't checked).
Aww. cg-clone assumed that .git/info is canonical part of git repository now and git-init-db will always creat eit, but now it seems to be the case only for .git/objects/info.
I've fixed cg-clone. Thanks for the info.
-- 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.