{"thread":{"id":"20582","subject":"[PATCH] Fix typo in filter-branch example","startedAt":"2009-08-13T16:16:17Z","lastAt":"2009-08-13T17:15:22Z","messageCount":4,"participants":["Ori Avtalion","Michael J Gruber","Johannes Schindelin"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"120536","messageId":"4a843cdf.1608c00a.504c.0eed@mx.google.com","threadId":"20582","inReplyTo":null,"subject":"[PATCH] Fix typo in filter-branch example","fromName":"Ori Avtalion","fromEmail":"ori@avtalion.name","sentAt":"2009-08-13T16:16:17Z","receivedAt":"2009-08-13T16:16:17Z","isPatch":true,"sender":{"key":"ori@avtalion.name","avatar":"https://avatars.githubusercontent.com/u/28355?v=4"},"body":"---\n Documentation/git-filter-branch.txt |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/Documentation/git-filter-branch.txt b/Documentation/git-filter-branch.txt\nindex ab527b5..8cda87c 100644\n--- a/Documentation/git-filter-branch.txt\n+++ b/Documentation/git-filter-branch.txt\n@@ -336,7 +336,7 @@ To move the whole tree into a subdirectory, or remove it from there:\n \n ---------------------------------------------------------------\n git filter-branch --index-filter \\\n-\t'git ls-files -s | sed \"s-\\t-&newsubdir/-\" |\n+\t'git ls-files -s | sed \"s-\\t-\\tnewsubdir/-\" |\n \t\tGIT_INDEX_FILE=$GIT_INDEX_FILE.new \\\n \t\t\tgit update-index --index-info &&\n \t mv $GIT_INDEX_FILE.new $GIT_INDEX_FILE' HEAD\n-- \n1.6.4.114.gefd1.dirty\n"},{"id":"120538","messageId":"4A844103.6030508@drmicha.warpmail.net","threadId":"20582","inReplyTo":"4a843cdf.1608c00a.504c.0eed@mx.google.com","subject":"Re: [PATCH] Fix typo in filter-branch example","fromName":"Michael J Gruber","fromEmail":"git@drmicha.warpmail.net","sentAt":"2009-08-13T16:36:19Z","receivedAt":"2009-08-13T16:36:19Z","isPatch":true,"sender":{"key":"git@grubix.eu","avatar":"https://avatars.githubusercontent.com/u/233215?v=4"},"body":"Ori Avtalion venit, vidit, dixit 13.08.2009 18:16:\n> ---\n>  Documentation/git-filter-branch.txt |    2 +-\n>  1 files changed, 1 insertions(+), 1 deletions(-)\n> \n> diff --git a/Documentation/git-filter-branch.txt b/Documentation/git-filter-branch.txt\n> index ab527b5..8cda87c 100644\n> --- a/Documentation/git-filter-branch.txt\n> +++ b/Documentation/git-filter-branch.txt\n> @@ -336,7 +336,7 @@ To move the whole tree into a subdirectory, or remove it from there:\n>  \n>  ---------------------------------------------------------------\n>  git filter-branch --index-filter \\\n> -\t'git ls-files -s | sed \"s-\\t-&newsubdir/-\" |\n> +\t'git ls-files -s | sed \"s-\\t-\\tnewsubdir/-\" |\n>  \t\tGIT_INDEX_FILE=$GIT_INDEX_FILE.new \\\n>  \t\t\tgit update-index --index-info &&\n>  \t mv $GIT_INDEX_FILE.new $GIT_INDEX_FILE' HEAD\n\nIf \\t is matched then isn't & == \\t?\n\nMichael\n"},{"id":"120545","messageId":"alpine.DEB.1.00.0908131903280.7429@intel-tinevez-2-302","threadId":"20582","inReplyTo":"4a843cdf.1608c00a.504c.0eed@mx.google.com","subject":"Re: [PATCH] Fix typo in filter-branch example","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2009-08-13T17:04:15Z","receivedAt":"2009-08-13T17:04:15Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Thu, 13 Aug 2009, Ori Avtalion wrote:\n\n> ---\n\nThis is not a typo. '&' is sed's way to specify the matched string.  Where \ndoes it occur anyway (the commit message makes a fabulous place to put \nsuch information)?\n\nCiao,\nDscho\n"},{"id":"120548","messageId":"4A844A2A.6080305@avtalion.name","threadId":"20582","inReplyTo":"alpine.DEB.1.00.0908131903280.7429@intel-tinevez-2-302","subject":"Re: [PATCH] Fix typo in filter-branch example","fromName":"Ori Avtalion","fromEmail":"ori@avtalion.name","sentAt":"2009-08-13T17:15:22Z","receivedAt":"2009-08-13T17:15:22Z","isPatch":true,"sender":{"key":"ori@avtalion.name","avatar":"https://avatars.githubusercontent.com/u/28355?v=4"},"body":"On 08/13/2009 08:04 PM, Johannes Schindelin wrote:\n>\n> This is not a typo. '&' is sed's way to specify the matched string.  Where\n> does it occur anyway (the commit message makes a fabulous place to put\n> such information)?\n\nWhoops! My mistake!\n\nI think I accidentally removed it when I tried the example, and then \nadded it in a wrong position when that didn't work :)\n\nSorry for the false alarm!\n"}]}