From: Petr Baudis <pasky@ucw.cz>
To: Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>,
darcs-devel@darcs.net, Git Mailing List <git@vger.kernel.org>
Subject: Re: Re: A darcs that can pull from git
Date: Tue, 26 Apr 2005 14:34:45 +0200 [thread overview]
Message-ID: <20050426123445.GE18971@pasky.ji.cz> (raw)
In-Reply-To: <20050426110613.GB20723@abridgegame.org>
Dear diary, on Tue, Apr 26, 2005 at 01:06:17PM CEST, I got a letter
where David Roundy <droundy@abridgegame.org> told me that...
> On Mon, Apr 25, 2005 at 05:12:59PM +0200, Juliusz Chroboczek wrote:
> > > Do you have any plans/ideas for allowing pulls directly from a
> > > remote git repository?
> >
> > I haven't thought about it yet. Does anyone have any ideas about how
> > to efficiently pull from git without a complete local copy?
>
> I don't think so. My best thought so far would be to have something like a
> ~/.gitcache/, which would store the sha1 objects themselves, so at least
> we'd only end up with *one* local copy. I'm actually curious what the true
> git people do about this--it would be nice to share a cache. For darcs'
> purposes, we could prune the cache from time to time. If we're running
> with a darcs backend, we really only need the recent versions of files and
> trees.
>
> Do the git have any suggestions about how to avoid excess downloads or
> excess copies of a git repository? It seems to me like it would make sense
> to always download sha1s to ~/.gitcache/, and then hardlink them to the
> current git repository, so you wouldn't end up ever downloading the same
> sha1 twice. Or we should use $GITCACHE/, to give the user some
> flexibility. But perhaps this is an already-solved problem, and I've just
> not noticed...
I'm not sure about the problem you are actually trying to solve, and I
didn't manage to guess it quickly just from the mails themselves;
cg-init /local/path now hardlinks the sha1 objects to the local
.git/objects directory, so you get no space waste. If you are talking
about downloading stuff from remote repositories, http-pull might help.
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
next prev parent reply other threads:[~2005-04-26 12:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-24 22:32 A darcs that can pull from git Juliusz Chroboczek
2005-04-25 13:31 ` David Roundy
2005-04-25 15:12 ` Juliusz Chroboczek
2005-04-26 0:55 ` Linus Torvalds
2005-04-26 11:06 ` David Roundy
2005-04-26 12:34 ` Petr Baudis [this message]
2005-04-26 12:47 ` [darcs-devel] " David Roundy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050426123445.GE18971@pasky.ji.cz \
--to=pasky@ucw.cz \
--cc=Juliusz.Chroboczek@pps.jussieu.fr \
--cc=darcs-devel@darcs.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox