Support showing notes from more than one notes tree
commit894a9d333e9e2015cad00d95250b7c5d3acea8b6
authorThomas Rast <trast@student.ethz.ch>
Fri, 12 Mar 2010 17:04:26 +0000 (12 18:04 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 13 Mar 2010 05:55:39 +0000 (12 21:55 -0800)
tree2bab79483f959c7661e87ef70b1976ab9aa65bdb
parent6ceeaee7ea5bb754c76ce93c5b289f72d69fdb92
Support showing notes from more than one notes tree

With this patch, you can set notes.displayRef to a glob that points at
your favourite notes refs, e.g.,

[notes]
displayRef = refs/notes/*

Then git-log and friends will show notes from all trees.

Thanks to Junio C Hamano for lots of feedback, which greatly
influenced the design of the entire series and this commit in
particular.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Acked-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
14 files changed:
Documentation/config.txt
Documentation/git-notes.txt
Documentation/pretty-options.txt
builtin-log.c
cache.h
notes.c
notes.h
pretty.c
refs.c
refs.h
revision.c
revision.h
t/t3301-notes.sh
t/test-lib.sh