atom feed34 messages in org.kernel.vger.gitclone breaks replace
FromSent OnAttachments
Phillip SusiJan 6, 2011 12:54 pm 
Jonathan NiederJan 6, 2011 1:33 pm 
Junio C HamanoJan 6, 2011 1:58 pm 
Phillip SusiJan 7, 2011 11:37 am 
Jonathan NiederJan 7, 2011 12:50 pm 
Stephen BashJan 7, 2011 1:14 pm 
Jonathan NiederJan 7, 2011 1:34 pm 
Phillip SusiJan 7, 2011 1:39 pm 
Jonathan NiederJan 7, 2011 1:48 pm 
Phillip SusiJan 7, 2011 2:03 pm 
Jeff KingJan 7, 2011 2:09 pm 
Junio C HamanoJan 7, 2011 2:58 pm 
Phillip SusiJan 7, 2011 4:42 pm 
Jeff KingJan 10, 2011 9:36 pm 
Jeff KingJan 10, 2011 9:47 pm 
Jonathan NiederJan 10, 2011 10:52 pm 
Phillip SusiJan 11, 2011 7:23 am 
Phillip SusiJan 11, 2011 7:36 am 
Jeff KingJan 11, 2011 9:38 am 
Junio C HamanoJan 11, 2011 9:39 am 
Jeff KingJan 11, 2011 9:49 am 
Jonathan NiederJan 11, 2011 9:55 am 
Jeff KingJan 11, 2011 10:02 am 
Jonathan NiederJan 11, 2011 10:21 am 
Phillip SusiJan 11, 2011 10:41 am 
Christian CouderJan 11, 2011 11:32 am 
Johannes SixtJan 11, 2011 11:48 am 
Jeff KingJan 11, 2011 11:50 am 
Johannes SixtJan 11, 2011 11:59 am 
Phillip SusiJan 11, 2011 12:21 pm 
Jonathan NiederJan 11, 2011 12:50 pm 
Phillip SusiJan 11, 2011 4:59 pm 
Jonathan NiederJan 14, 2011 12:52 pm 
Phillip SusiJan 14, 2011 9:27 pm 
Subject:clone breaks replace
From:Phillip Susi (psu@cfl.rr.com)
Date:Jan 6, 2011 12:54:24 pm
List:org.kernel.vger.git

I've been experimenting with git replace to remove ancient history, and I have found that cloning a repository breaks replace. I read about this process at http://progit.org/2010/03/17/replace.html. I managed to correctly add a replace commit that truncates the history and contains instructions where you can find it, and running git log only goes back to the replacement commit, unless you add --no-replace-objects, which causes it to show the original full history.

The problem is that when I clone the repository, I expect the clone to contain only history up to the replacement record, and not the old history before that. Instead, the clone contains only the full original history, and the replacement ref is not imported at all. A git replace in the new clone shows nothing.

Shouldn't clone copy .git/refs/replace?