aboutsummaryrefslogtreecommitdiff
path: root/tests/t0107-snapshot.sh
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2016-06-25 23:20:01 +0000
committerRichard Maw <richard.maw@gmail.com>2016-07-13 19:09:37 +0000
commit5c6966b0c82b019b2b09c1eedbca2dbac8d7c9b9 (patch)
tree89870430251c9c0c278420095729765421d76d66 /tests/t0107-snapshot.sh
parentc8d5732367593ee4a29cd7c2f05fc17a748db9c4 (diff)
downloadcgit-5c6966b0c82b019b2b09c1eedbca2dbac8d7c9b9.tar
cgit-5c6966b0c82b019b2b09c1eedbca2dbac8d7c9b9.tar.gz
cgit-5c6966b0c82b019b2b09c1eedbca2dbac8d7c9b9.zip
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 'tests/t0107-snapshot.sh')
0 files changed, 0 insertions, 0 deletions