From: Michael J Gruber <git@drmicha.warpmail.net>
To: Ori Avtalion <ori@avtalion.name>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Fix typo in filter-branch example
Date: Thu, 13 Aug 2009 18:36:19 +0200 [thread overview]
Message-ID: <4A844103.6030508@drmicha.warpmail.net> (raw)
In-Reply-To: <4a843cdf.1608c00a.504c.0eed@mx.google.com>
Ori Avtalion venit, vidit, dixit 13.08.2009 18:16:
> ---
> Documentation/git-filter-branch.txt | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/git-filter-branch.txt b/Documentation/git-filter-branch.txt
> index ab527b5..8cda87c 100644
> --- a/Documentation/git-filter-branch.txt
> +++ b/Documentation/git-filter-branch.txt
> @@ -336,7 +336,7 @@ To move the whole tree into a subdirectory, or remove it from there:
>
> ---------------------------------------------------------------
> git filter-branch --index-filter \
> - 'git ls-files -s | sed "s-\t-&newsubdir/-" |
> + 'git ls-files -s | sed "s-\t-\tnewsubdir/-" |
> GIT_INDEX_FILE=$GIT_INDEX_FILE.new \
> git update-index --index-info &&
> mv $GIT_INDEX_FILE.new $GIT_INDEX_FILE' HEAD
If \t is matched then isn't & == \t?
Michael
next prev parent reply other threads:[~2009-08-13 16:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-13 16:16 [PATCH] Fix typo in filter-branch example Ori Avtalion
2009-08-13 16:36 ` Michael J Gruber [this message]
2009-08-13 17:04 ` Johannes Schindelin
2009-08-13 17:15 ` Ori Avtalion
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A844103.6030508@drmicha.warpmail.net \
--to=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
--cc=ori@avtalion.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.