aboutsummaryrefslogtreecommitdiffstats
path: root/ui-clone.c
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2016-06-26 00:20:01 +0100
committerRichard Maw <richard.maw@gmail.com>2016-07-13 20:09:37 +0100
commit5c6966b0c82b019b2b09c1eedbca2dbac8d7c9b9 (patch)
tree89870430251c9c0c278420095729765421d76d66 /ui-clone.c
parentAdd namespace support to dumb-clone (diff)
downloadcgit-5c6966b0c82b019b2b09c1eedbca2dbac8d7c9b9.tar.xz
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 'ui-clone.c')
0 files changed, 0 insertions, 0 deletions