notes: refactor display notes extra refs field
authorJeff King <peff@peff.net>
Tue, 29 Mar 2011 20:56:53 +0000 (16:56 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Mar 2011 21:30:54 +0000 (14:30 -0700)
commit304cc11c6566cf22e811aa791988c61b6d291973
tree6fd82e26abd5019c134016a44b3f93566daca704
parentc063f0a973832784f09a6901eac9501b6f796bde
notes: refactor display notes extra refs field

There's no need to use an extra pointer, which just ends up
leaking memory. The fact that the list is empty tells us the
same thing.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
notes.c
notes.h
revision.c