| From | Sent On | Attachments |
|---|---|---|
| Phillip Susi | Jan 6, 2011 12:54 pm | |
| Jonathan Nieder | Jan 6, 2011 1:33 pm | |
| Junio C Hamano | Jan 6, 2011 1:58 pm | |
| Phillip Susi | Jan 7, 2011 11:37 am | |
| Jonathan Nieder | Jan 7, 2011 12:50 pm | |
| Stephen Bash | Jan 7, 2011 1:14 pm | |
| Jonathan Nieder | Jan 7, 2011 1:34 pm | |
| Phillip Susi | Jan 7, 2011 1:39 pm | |
| Jonathan Nieder | Jan 7, 2011 1:48 pm | |
| Phillip Susi | Jan 7, 2011 2:03 pm | |
| Jeff King | Jan 7, 2011 2:09 pm | |
| Junio C Hamano | Jan 7, 2011 2:58 pm | |
| Phillip Susi | Jan 7, 2011 4:42 pm | |
| Jeff King | Jan 10, 2011 9:36 pm | |
| Jeff King | Jan 10, 2011 9:47 pm | |
| Jonathan Nieder | Jan 10, 2011 10:52 pm | |
| Phillip Susi | Jan 11, 2011 7:23 am | |
| Phillip Susi | Jan 11, 2011 7:36 am | |
| Jeff King | Jan 11, 2011 9:38 am | |
| Junio C Hamano | Jan 11, 2011 9:39 am | |
| Jeff King | Jan 11, 2011 9:49 am | |
| Jonathan Nieder | Jan 11, 2011 9:55 am | |
| Jeff King | Jan 11, 2011 10:02 am | |
| Jonathan Nieder | Jan 11, 2011 10:21 am | |
| Phillip Susi | Jan 11, 2011 10:41 am | |
| Christian Couder | Jan 11, 2011 11:32 am | |
| Johannes Sixt | Jan 11, 2011 11:48 am | |
| Jeff King | Jan 11, 2011 11:50 am | |
| Johannes Sixt | Jan 11, 2011 11:59 am | |
| Phillip Susi | Jan 11, 2011 12:21 pm | |
| Jonathan Nieder | Jan 11, 2011 12:50 pm | |
| Phillip Susi | Jan 11, 2011 4:59 pm | |
| Jonathan Nieder | Jan 14, 2011 12:52 pm | |
| Phillip Susi | Jan 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?
-- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majo...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html





