Thread (1 message) 1 message, 1 author, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:07

Junio C Hamano [off-list ref] writes:
Petr Baudis [off-list ref] writes:
quoted
Opinions?
I do not understand this part of your logic:
quoted
.... But fetching the tags will cause all the commits
connected to the tags getting slurped too, and we didn't want that.
What is the objective here?  If you fetch a tag without the
object being tagged (or commit without its tree), you will end
up with smaller object database but you would get yelled at by
git-fsck-objects.
Having said that, I am sympathetic to what you are trying to do
here; if what I understand what you are trying to do matches
what you are actually trying to do, that is.

I think there should be a way to say "I do not care if this
repository does not have all the history back to root -- as long
as I can operate on reasonably recent commits, do not complain
about missing objects" to fsck-objects and various fetch
engines.  We can cauterize commit history chain using the grafts
file so that 'git log', 'git whatchanged', and 'gitk' would stop
somewhere.  Commit walkers can help you, albeit somewhat
differently, if you do not give -a flag to them.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help