Makefile


Log

Author Commit Date CI Message
Andreas Ericsson 4f0adcd0 2008-11-18T21:28:55 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>
Andreas Ericsson d4043ee9 2008-11-18T01:18:52 Move public headers to src/git It's arguably smoother to keep them close to the source, as that's where one's working when modifying them. More importantly, though, is the ability to use private headers in the src/ dir that simply include "git/$samename.h" to get to the public API at the same time. Signed-off-by: Andreas Ericsson <ae@op5.se> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Andreas Ericsson a57e9a8c 2008-11-18T01:27:29 Add a fake and phony install-headers target It actually does what it's supposed to (more or less), but not very portably and not to the correct directory. Signed-off-by: Andreas Ericsson <ae@op5.se> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce b923f2f9 2008-11-03T17:00:54 Fix Makefile to correctly handle 'make -j4 test' If we have more than one test build running we cannot use the same file for each test case; instead we need to use a per-test path so there aren't any collisions. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce b3a2f90e 2008-11-03T18:00:49 Enable warnings by default and fix warning in oid.c Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce 15bffce9 2008-11-01T18:14:22 Create a basic test suite for the library and test oid functions This is a horribly simple test suite that makes it fairly easy to put together some basic function level unit tests on the library. Its patterned somewhat after the test suite in git.git, but also after the "Check" test library. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce 16a67770 2008-11-01T16:53:06 Create a micro abstraction around the POSIX file APIs This way we can start to write IO code to read and write files in the Git object database, but provide a hook to inject native Win32 APIs instead so libgit2 can be ported to run natively on that platform. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce d1ea30c3 2008-11-01T15:42:23 Move include files to include/git/, drop git_ prefix from file names Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Pierre Habouzit 4f9339df 2008-10-31T15:10:51 Hide non-exported symbols when linking the library Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce 06160502 2008-10-31T12:30:28 Take the first stab at defining revision traversal Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce 13ce9f1b 2008-10-31T12:28:49 Fix Makefile targets to correctly depend on *.h files Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce b39843f3 2008-10-31T11:44:00 Use wildcard to avoid listing out all source files by hand Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce 7335ffc3 2008-10-31T11:37:58 Begin a description of our naming and coding conventions Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce c15648cb 2008-10-31T09:57:29 Initial draft of libgit2 Signed-off-by: Shawn O. Pearce <spearce@spearce.org>