On 24/09/06, Petr Baudis <pasky@xxxxxxx> wrote:
Dear diary, on Sat, Sep 23, 2006 at 03:10:17PM CEST, I got a letter where Catalin Marinas <catalin.marinas@xxxxxxxxx> said that... > I wasn't following this thread (well, any thread in the last days) but > the current patch history implementation in StGIT is prune-safe as it > generates additional commits to keep the history. If you undo an > operation (push, refresh), the undo will be recorded in the patch > history (that's really immutable) It does not directly reference the history in the additional commits though, it just mentions the sha1 in the log message - that is not prune-safe:
Yes, indeed (I'm still tired :-)). The patch changes are safe and one could probably generate the patch from them but it's a bit more complicated. The quick solution is to add another parent to the changelog commit so that it points to the patch. However, this wouldn't look as nice with gitk as it sees them as merges and doesn't display the diff (is there an option I missed?). -- Catalin - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html