|
From: | Johannes Berg |
Subject: | Re: [Gnu-arch-users] Removing the last changeset(s) from the archive |
Date: | Mon, 15 Nov 2004 10:42:51 +0100 (CET) |
User-agent: | SquirrelMail/1.4.3a |
Brian May said: > So make that 3 commits instead: > > 1 commit is the botched one. > > 1 commit reverses the botched one so that everything is exactly the way > it was before. > > 1 commit is the commit exactly the one you originally intended. > > That way: > * you have complete history of everything (including mistake). > * you don't mess up other archives no matter how up-to-date they are. > * you still have 1 small patch for the bug fix. Couldn't one instead use the pending "commit --base" to commit a single patch that is based on the last good patch in the archive, essentially making that wrong patch a tiny detour in history? johannes
[Prev in Thread] | Current Thread | [Next in Thread] |