trace: move trace declarations from cache.h to new trace.h
authorKarsten Blees <karsten.blees@gmail.com>
Wed, 11 Jun 2014 07:56:49 +0000 (09:56 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Jun 2014 16:37:47 +0000 (09:37 -0700)
commit5991a55c545bca32fc4f5e69ee58de86563a93fa
tree08993bea1fc313ea172a5615f1ca74bd9fac7548
parentcb682f8cfe63ecd0da08a526f404d295e51e3ab1
trace: move trace declarations from cache.h to new trace.h

Also include direct dependencies (strbuf.h and git-compat-util.h for
__attribute__) so that trace.h can be used independently of cache.h, e.g.
in test programs.

Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
trace.h [new file with mode: 0644]