{"thread":{"id":"27876","subject":"[PATCH] Documentation: git-filter-branch honors replacement refs","startedAt":"2011-07-21T15:10:52Z","lastAt":"2011-07-21T18:42:51Z","messageCount":2,"participants":["Peter Collingbourne","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"171786","messageId":"1311261052-16178-1-git-send-email-peter@pcc.me.uk","threadId":"27876","inReplyTo":null,"subject":"[PATCH] Documentation: git-filter-branch honors replacement refs","fromName":"Peter Collingbourne","fromEmail":"peter@pcc.me.uk","sentAt":"2011-07-21T15:10:52Z","receivedAt":"2011-07-21T15:10:52Z","isPatch":true,"sender":{"key":"peter@pcc.me.uk","avatar":"https://avatars.githubusercontent.com/u/425024?v=4"},"body":"Make it clear that git-filter-branch will honor and make permanent\nreplacement refs as well as grafts.\n\nSigned-off-by: Peter Collingbourne <peter@pcc.me.uk>\n---\n Documentation/git-filter-branch.txt |    5 +++--\n 1 files changed, 3 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/git-filter-branch.txt b/Documentation/git-filter-branch.txt\nindex 9dc1f2a..0f2f117 100644\n--- a/Documentation/git-filter-branch.txt\n+++ b/Documentation/git-filter-branch.txt\n@@ -32,8 +32,9 @@ changes, which would normally have no effect.  Nevertheless, this may be\n useful in the future for compensating for some git bugs or such,\n therefore such a usage is permitted.\n \n-*NOTE*: This command honors `.git/info/grafts`. If you have any grafts\n-defined, running this command will make them permanent.\n+*NOTE*: This command honors `.git/info/grafts` and `.git/refs/replace/`.\n+If you have any grafts or replacement refs defined, running this command\n+will make them permanent.\n \n *WARNING*! The rewritten history will have different object names for all\n the objects and will not converge with the original branch.  You will not\n-- \n1.7.5.3\n"},{"id":"171805","messageId":"7vhb6f326s.fsf@alter.siamese.dyndns.org","threadId":"27876","inReplyTo":"1311261052-16178-1-git-send-email-peter@pcc.me.uk","subject":"Re: [PATCH] Documentation: git-filter-branch honors replacement refs","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2011-07-21T18:42:51Z","receivedAt":"2011-07-21T18:42:51Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Peter Collingbourne <peter@pcc.me.uk> writes:\n\n> Make it clear that git-filter-branch will honor and make permanent\n> replacement refs as well as grafts.\n>\n> Signed-off-by: Peter Collingbourne <peter@pcc.me.uk>\n> ---\n>  Documentation/git-filter-branch.txt |    5 +++--\n>  1 files changed, 3 insertions(+), 2 deletions(-)\n>\n> diff --git a/Documentation/git-filter-branch.txt b/Documentation/git-filter-branch.txt\n> index 9dc1f2a..0f2f117 100644\n> --- a/Documentation/git-filter-branch.txt\n> +++ b/Documentation/git-filter-branch.txt\n> @@ -32,8 +32,9 @@ changes, which would normally have no effect.  Nevertheless, this may be\n>  useful in the future for compensating for some git bugs or such,\n>  therefore such a usage is permitted.\n>  \n> -*NOTE*: This command honors `.git/info/grafts`. If you have any grafts\n> -defined, running this command will make them permanent.\n> +*NOTE*: This command honors `.git/info/grafts` and `.git/refs/replace/`.\n> +If you have any grafts or replacement refs defined, running this command\n> +will make them permanent.\n\nLooks good. I think the second sentence can be further clarified,\nthough. One of the reasons you may want to run this command is to make\nthem permanent, so perhaps\n\n\tUse this command to make your grafts and replacements permanent.\n\nor something like that.\n"}]}