{"thread":{"id":"13548","subject":"[PATCH] git-filter-branch: Clarify file removal example.","startedAt":"2008-05-16T19:43:50Z","lastAt":"2008-05-16T19:43:50Z","messageCount":1,"participants":["Jon Loeliger"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"77156","messageId":"E1Jx5qI-0005Ts-LT@jdl.com","threadId":"13548","inReplyTo":null,"subject":"[PATCH] git-filter-branch: Clarify file removal example.","fromName":"Jon Loeliger","fromEmail":"jdl@jdl.com","sentAt":"2008-05-16T19:43:50Z","receivedAt":"2008-05-16T19:43:50Z","isPatch":true,"sender":{"key":"jdl@jdl.com","avatar":"https://gravatar.com/avatar/75ce9a10b151acd2c28ec4ab2136dba7b2ff1634530bd04b155981a749d08a64?d=mp&s=160"},"body":"\nSigned-off-by: Jon Loeliger <jdl@jdl.com>\n---\n Documentation/git-filter-branch.txt |    4 ++++\n 1 files changed, 4 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/git-filter-branch.txt b/Documentation/git-filter-branch.txt\nindex 8d80f0d..506c37a 100644\n--- a/Documentation/git-filter-branch.txt\n+++ b/Documentation/git-filter-branch.txt\n@@ -183,6 +183,10 @@ or copyright violation) from all commits:\n git filter-branch --tree-filter 'rm filename' HEAD\n -------------------------------------------------------\n \n+However, if the file is absent from the tree of some commit,\n+a simple `rm filename` will fail for that tree and commit.\n+Thus you may instead want to use `rm -f filename` as the script.\n+\n A significantly faster version:\n \n --------------------------------------------------------------------------\n-- \n1.5.5.1.147.g867f\n"}]}