Get rid of GIT__PRIVATE macro
commit4f0adcd0e61eabe06fe32be66b16559537124b7a
authorAndreas Ericsson <ae@op5.se>
Tue, 18 Nov 2008 20:28:55 +0000 (18 21:28 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 22 Nov 2008 20:08:00 +0000 (22 12:08 -0800)
tree4fc3874b118752e40de556b1c3e7b4a9f1737d00
parent36f0f61fc8578478a9dc9b33a1a0d07cdb98a5e5
Get rid of GIT__PRIVATE macro

Using it in the first place means something's wrong.
This patch replaces it with an internal header which
carries the previously "protected" code instead.

Internal source-files simply include "commit.h" and
they're done. The internal header includes the public
one to make sure we always use the proper prototype.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Makefile
src/commit.c
src/commit.h [new file with mode: 0644]
src/git/commit.h