From: Johan Herland Date: Sun, 03 Aug 2008 23:02:31 GMT Subject: [PATCH 4/5] Add documentation on the new --rewrite-url option to 'git config' Message-ID: <200808040102.31430.johan@herland.net> In-Reply-To: <200808040057.00221.johan@herland.net> Signed-off-by: Johan Herland --- Documentation/git-config.txt | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt index 28e1861..154c80b 100644 --- a/Documentation/git-config.txt +++ b/Documentation/git-config.txt @@ -22,6 +22,7 @@ SYNOPSIS 'git config' [] [-z|--null] -l | --list 'git config' [] --get-color name [default] 'git config' [] --get-colorbool name [stdout-is-tty] +'git config' [] --rewrite-url url DESCRIPTION ----------- @@ -157,6 +158,15 @@ See also <>. output. The optional `default` parameter is used instead, if there is no color configured for `name`. +--rewrite-url url:: + + Rewrite `url` according to the longest matching URL rewriting rule + (see documentation on `url..insteadOf` for more information + on URL rewriting rules), and output the resulting URL to the + standard output. If there is no matching URL rewriting rule, the + original `url` is printed on the standard output. In either case, + the exit code is 0. + [[FILES]] FILES ----- -- 1.6.0.rc1.34.g0fe8c