From: Junio C Hamano <junkio@cox.net>
To: Sven Ekman <svekman@yahoo.se>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] built-in tar-tree and remote tar-tree
Date: Fri, 19 May 2006 15:56:16 -0700 [thread overview]
Message-ID: <7vbqtthbe7.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <20060519214318.38240.qmail@web25910.mail.ukl.yahoo.com> (Sven Ekman's message of "Fri, 19 May 2006 23:43:18 +0200 (CEST)")
Sven Ekman <svekman@yahoo.se> writes:
> Thanks for your answer. I'm looking forward to try the
> remote tar-tree at the weekend.
A word of caution. This obviously needs the updated stuff on
both ends. The downloader needs to have updated tar-tree, and
the other end needs the new command upload-tar.
> Is there a simple way to retrieve a single object or a
> list of objects _without_ any of their parents?
The thing is, I do not think that is what you really want.
If you do not have the necessary parents, many of the benefit
you list as "why do I want kernel from git repo" would not work.
The next fetch will try to see where the common ancestry commit
is, in order to download only from that one, for example. For
that you would need a well formed repositories on both ends.
Obviously bisect and anything that deal with the traversal of
ancestry chain would break, and while you would say "I accept
that some things may not work", their failure mode do not even
consider that the user might start from such an incomplete
repositories to begin with, so one thing is that the user would
be very confused, and another thing is that I would not be
surprised if some operations further "corrupt" such an already
incomplete repository (fsck, prune and probably bisect when it
tries to rewind the bisection branch -- your branch head may
point at nowhere and the user might need to do manual update-ref
instead of "git checkout master" to recover from it), causing
further grief.
In other words, to support such partial/incomplete repositories
properly, you are talking about a major major surgery. I just
do not want to think about it right now.
On the other hand, the primary point of my patch is that the
result does _not_ pretend it is a proper git repository, so we
do not have to worry about all the above issues.
prev parent reply other threads:[~2006-05-19 22:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-18 19:21 Feature wish: Cloning without history Sven Ekman
2006-05-18 19:35 ` Jakub Narebski
2006-05-19 3:03 ` [PATCH] built-in tar-tree and remote tar-tree Junio C Hamano
2006-05-19 5:50 ` Junio C Hamano
2006-05-19 21:43 ` Sven Ekman
2006-05-19 21:56 ` Jakub Narebski
2006-05-19 22:56 ` Junio C Hamano [this message]
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=7vbqtthbe7.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=git@vger.kernel.org \
--cc=svekman@yahoo.se \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.