Commit Graph

28 Commits

Author SHA1 Message Date
Edward Thomson
bb3d67625b gitignore: ignore vim swapfiles 2015-03-30 09:33:02 -04:00
Ben Straub
83e1efbf46 Update files that reference tests-clar 2013-11-14 14:10:32 -08:00
Brad Morgan
7369b3c3bf Added libssh2 cmake module 2013-05-07 14:26:33 -04:00
Sebastian Bauer
ccd298bb22 Ignore build-amiga 2013-01-10 10:05:39 +01:00
nulltoken
bdb2f24223 Ignore clar.suite.rule 2013-01-04 19:54:45 +01:00
Vicent Marti
156cfec096 Cleanup Clar to make it SIMPLER 2013-01-02 02:05:11 +01:00
Yossef Mendelssohn
640716176b ignore mkmf.log
no build artifacts
no parents
2012-12-11 15:08:08 -08:00
Ben Straub
22e1b4b8a8 Ignore tags file 2012-08-30 07:55:36 -07:00
Adam Roben
b9f78cb87b Ingore clar_main.c.rule 2012-06-07 09:49:52 -04:00
Vicent Martí
32dc20b5af gitignore: Add clar data 2012-01-25 13:57:31 -08:00
Clemens Buchacher
86a459a843 cmake: generate clay main
The clay test suite files clay.h and clay_main.c are generated by
the clay python script. Teach CMake about this dependency and
remove the generated files from the repository.
2011-12-29 15:40:09 +01:00
Russell Belfer
b762e576c6 filebuf: add GIT_FILEBUF_INIT and protect multiple opens and cleanups
Update all stack allocations of git_filebuf to use GIT_FILEBUF_INIT
and make git_filebuf_open and git_filebuf_cleanup safe to be called
multiple times on the same buffer.

Signed-off-by: Vicent Marti <tanoku@gmail.com>
2011-11-22 01:53:56 +01:00
Sven Strickroth
cf9bf6b787 include version information in git2.dll on Windows
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2011-10-09 18:55:28 +02:00
Sebastian Schuberth
875a5c2df7 Ignore CMake files and generated Visual Studio files 2011-05-18 17:31:18 +02:00
Sebastian Schuberth
49041e78f2 Fix mixed line endings in .gitignore 2011-05-18 17:31:11 +02:00
Tim Clem
81d0ff1ca5 fix cast in tag.h
git_tag_lookup() and git_tag_new() changed to cast GIT_OBJ_TAG to
git_otype in order to compile lib in xcode
2011-02-14 13:22:44 -08:00
nulltoken
d3e2dd5ea1 Fixed .gitignore typo. 2010-12-04 14:04:12 +01:00
nulltoken
0d2eb2d88b Added some patterns to .gitignore file to filter out some Visual Studio specifics. 2010-12-04 13:25:29 +01:00
Scott Chacon
1177708930 add waf artifacts to .gitignore 2010-11-24 00:23:14 +02:00
Ramsay Jones
56931d1ab4 Makefile: Add support for custom build options in config.mak file
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
2010-02-28 20:10:35 +00:00
Ramsay Jones
e45535849c Add test-suite coverage testing using gcov
Add a new "coverage" Makefile target that re-builds the
library and tests using the gcc compiler/linker flags
required by gcov, runs the test suite to capture the
runtime data, then compiles a coverage report.

The report, which is saved in a file named "untested",
consists of a list of untested files, followed by a list
of untested functions. More detailed execution statistics
are given in the gcov log files which are saved in the
top-level directory (named like src#hash.c.gcov).

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
2009-10-13 16:26:05 +01:00
Steve Frécinaux
d7fbfe155f Add pkg-config support.
The libgit2.pc is generated on make install and installed, to allow
using the lib through the pkg-config helper.

Signed-off-by: Steve Frécinaux <code@istique.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2008-12-30 07:31:03 -08:00
Shawn O. Pearce
def425bf85 Remove references to src/git/config.h
It was removed in ec250c6e18.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2008-12-18 08:20:50 -08:00
Shawn O. Pearce
c18626eef6 Run tests in their own subdirectory
This way tests can run in parallel without stepping on each other's
temporary work files.  If a test passes the directory is removed
completely; if a test fails only empty directories are removed.
This permits inspection of the failed test's left behind state.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2008-12-18 08:17:05 -08:00
Andreas Ericsson
d4043ee9d9 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>
2008-11-18 10:32:53 -08:00
Shawn O. Pearce
15bffce9f7 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>
2008-11-01 18:24:39 -07:00
Shawn O. Pearce
16a67770b7 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>
2008-11-01 16:53:06 -07:00
Shawn O. Pearce
c15648cbd0 Initial draft of libgit2
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2008-10-31 09:57:29 -07:00