diff options
author | Richard Maw <richard.maw@gmail.com> | 2016-06-26 02:20:01 +0300 |
---|---|---|
committer | Richard Maw <richard.maw@gmail.com> | 2016-07-13 22:09:37 +0300 |
commit | 5c6966b0c82b019b2b09c1eedbca2dbac8d7c9b9 (patch) | |
tree | 89870430251c9c0c278420095729765421d76d66 /contrib/hooks/post-receive.agefile | |
parent | c8d5732367593ee4a29cd7c2f05fc17a748db9c4 (diff) |
Display notes from namespace
We must not leave it at its default behaviour,
as that results in notes from the root namespace being used
and ignoring notes from the current namespace,
since it is not namespace aware.
We can handle this by instructing it to not load the default refs,
and providing a set of extra refs to use.
The provided extra refs are globs rather than ref names,
so we should escape them to be sure.
We get an annoying warning if the provided ref does not exist,
so we check whether the ref exists before attempting to provide it.
Signed-off-by: Richard Maw <richard.maw@gmail.com>
Diffstat (limited to 'contrib/hooks/post-receive.agefile')
0 files changed, 0 insertions, 0 deletions