summaryrefslogtreecommitdiff
path: root/include/git/odb.h
Commit message (Collapse)AuthorAgeFilesLines
* Move public headers to src/gitAndreas Ericsson2008-11-181-139/+0
| | | | | | | | | | | 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>
* Rename "git_sobj" "git_obj"Andreas Ericsson2008-11-181-5/+5
| | | | | | | | | The 's' never really made sense, since it's not a "small" object at all, but rather a plain object. As such, it should have a "plain" object name. Signed-off-by: Andreas Ericsson <ae@op5.se> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
* Use same-directory include for public headersAndreas Ericsson2008-11-181-2/+2
| | | | | | | | | | | It doesn't make sense to use "git/somefile.h" in the public git headers, as it's quite likely that projects using them will have a git directory themselves. This alters it, making the public headers look for headers in the same directory they themselves are in. Signed-off-by: Andreas Ericsson <ae@op5.se> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
* Implement some of the basic git_odb open and close APIShawn O. Pearce2008-11-031-3/+6
| | | | | | Far from being complete, but its a good start. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
* Correct indentation in git/odb.hShawn O. Pearce2008-11-031-2/+2
| | | | Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
* Create a micro abstraction around the POSIX file APIsShawn O. Pearce2008-11-011-1/+0
| | | | | | | | 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>
* Switch the license from BSD to GPL+libgcc exceptionShawn O. Pearce2008-11-011-29/+19
| | | | Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
* Move include files to include/git/, drop git_ prefix from file namesShawn O. Pearce2008-11-011-0/+147
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>