[PATCH] Documentation: "on for all" configuration of notes.rewriteRef
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Sep 4, 2011, 20:28 UTC
- Message-ID
- <f415402994735a60664e1f9f85be490a68b25ed3.1315167848.git.trast@student.ethz.ch>
- In-Reply-To
- <CABNEGjy8M-pFTOs504Q1+G_DtocJwvzDyOAsJp9cn4BOSkv1TQ@mail.gmail.com>
Users had problems finding a working setting for notes.rewriteRef. Document how to enable rewriting for all notes.
Signed-off-by: Thomas Rast <trast@student.ethz.ch> --- [Sorry for the spam; the first one lacks my reply blurb and the in-reply-to. :-( ]
Tor Arntsen wrote:
> Thanks. Got it working. So it's not by default, as was suggested by > knittl, it has to be enabled. BTW, it's not at all obvious from the > manpage what it should be set to, there's no actual example. Found it > by trial&error plus finding a diff for a test.
Let's document it then. This still won't help you find out about the option/feature in the first place, though. Maybe we should flip the default to enabled?
Documentation/config.txt | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt index 0ecef9d..302b2d0 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -1464,7 +1464,8 @@ notes.rewriteRef:: You may also specify this configuration several times. + Does not have a default value; you must configure this variable to -enable note rewriting. +enable note rewriting. Set it to `refs/notes/*` to enable rewriting +for all notes. + This setting can be overridden with the `GIT_NOTES_REWRITE_REF` environment variable, which must be a colon separated list of refs or
-- 1.7.7.rc0.420.g468b7