Code

log: add load_ref_decorations()
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Thu, 4 Sep 2008 21:38:08 +0000 (23:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Sep 2008 00:01:41 +0000 (17:01 -0700)
commit5e9bf11c1a3052f01f86d7eb28ae4c5b8d9c7495
tree39534d947378dcb2bfca8ce35c6c695a10dbc4ea
parent1b23adadf3adcf0074f61a498479a471964ab8c3
log: add load_ref_decorations()

Move the loading of all ref names for decoration into its own function.
A static variable prevents loading twice, because it's quite expensive.
We can do it this way because we currently never unload decorations.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-log.c