login
Header Space

 
 

Re: Cogito: cg-clone doesn't like packed tag objects

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: H. Peter Anvin <hpa@...>
Cc: Git Mailing List <git@...>
Date: Monday, September 26, 2005 - 5:25 pm

Dear diary, on Sat, Sep 24, 2005 at 03:18:33AM CEST, I got a letter
where Petr Baudis <pasky@suse.cz> told me that...

And now thanks to "walt" I realized that this is a completely wrong way
to go. The problem is that the tags don't have to tag anything on your
branch, and if you are fetching a given branch, you want only commits
from that branch. But fetching the tags will cause all the commits
connected to the tags getting slurped too, and we didn't want that.

So the strategy I'm thinking of now is to manually (I think no GIT tool
can do that for me) dereference the possible tag chain until I end up at
some non-tag object. Now, if it is a commit and I don't have it yet, it
means that it is not interesting to me because it does not belong to a
branch I'm following, so I will just ignore the tag (won't download
anything else and won't record it in the refs/tags directory).

If it's NOT a commit, well, that's a question.  On the assumption that
it won't be a great deal of data and it's likely to be assumed that we
have it, I would be inclined to fetching it, but I don't feel strongly
about it.

The ideal and the least expensive solution for this, obviously, would be
having this logic in git-fetch-pack. :-)

Opinions?

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Cogito: cg-clone doesn't like packed tag objects, H. Peter Anvin, (Fri Sep 23, 6:24 pm)
Re: Cogito: cg-clone doesn't like packed tag objects, Petr Baudis, (Fri Sep 23, 9:18 pm)
Re: Cogito: cg-clone doesn't like packed tag objects, Petr Baudis, (Mon Sep 26, 5:25 pm)
Re: Cogito: cg-clone doesn't like packed tag objects, Junio C Hamano, (Tue Sep 27, 3:46 am)
Re: Cogito: cg-clone doesn't like packed tag objects, Ryan Anderson, (Tue Sep 27, 3:25 am)
Re: Cogito: cg-clone doesn't like packed tag objects, Linus Torvalds, (Tue Sep 27, 11:34 am)
Re: Cogito: cg-clone doesn't like packed tag objects, Ryan Anderson, (Tue Sep 27, 1:34 pm)
Re: Cogito: cg-clone doesn't like packed tag objects, Linus Torvalds, (Tue Sep 27, 2:04 pm)
Re: Cogito: cg-clone doesn't like packed tag objects, Sven Verdoolaege, (Tue Sep 27, 2:54 am)
Re: Cogito: cg-clone doesn't like packed tag objects, Junio C Hamano, (Mon Sep 26, 6:23 pm)
Re: Cogito: cg-clone doesn't like packed tag objects, Junio C Hamano, (Mon Sep 26, 6:37 pm)
Re: Cogito: cg-clone doesn't like packed tag objects, Petr Baudis, (Mon Sep 26, 6:29 pm)
Re: Cogito: cg-clone doesn't like packed tag objects, Junio C Hamano, (Tue Sep 27, 12:46 am)
Re: Cogito: cg-clone doesn't like packed tag objects, Tom Prince, (Tue Sep 27, 1:02 am)
Re: Cogito: cg-clone doesn't like packed tag objects, Junio C Hamano, (Tue Sep 27, 1:28 am)
Re: Cogito: cg-clone doesn't like packed tag objects, Petr Baudis, (Tue Sep 27, 5:40 am)
Re: Cogito: cg-clone doesn't like packed tag objects, Junio C Hamano, (Tue Sep 27, 1:07 pm)
Re: Cogito: cg-clone doesn't like packed tag objects, Linus Torvalds, (Tue Sep 27, 1:56 pm)
Re: Cogito: cg-clone doesn't like packed tag objects, Josef Weidendorfer, (Tue Sep 27, 6:14 am)
Re: Cogito: cg-clone doesn't like packed tag objects, Petr Baudis, (Tue Sep 27, 8:34 am)
Re: Cogito: cg-clone doesn't like packed tag objects, Josef Weidendorfer, (Tue Sep 27, 9:27 am)
Re: Cogito: cg-clone doesn't like packed tag objects, Brian Gerst, (Mon Sep 26, 5:55 pm)
Re: Cogito: cg-clone doesn't like packed tag objects, Petr Baudis, (Mon Sep 26, 5:56 pm)
Re: Cogito: cg-clone doesn't like packed tag objects, Junio C Hamano, (Fri Sep 23, 10:00 pm)
Re: Cogito: cg-clone doesn't like packed tag objects, Petr Baudis, (Sat Sep 24, 8:50 am)
Re: Cogito: cg-clone doesn't like packed tag objects, Daniel Barkalow, (Sat Sep 24, 1:13 pm)
Re: Cogito: cg-clone doesn't like packed tag objects, H. Peter Anvin, (Fri Sep 23, 9:52 pm)
speck-geostationary