| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |/
|
|
|
|
|
| |
3f9eb1e introduced support for SSL certificates issued for IP
addresses, making use of in_addr and in_addr6 structs. On FreeBSD
these are defined in (a file included in) <netinet/in.h>, so include
that file on FreeBSD and get the build working again.
|
| |\
| |
| | |
pack.c: Set p->mwf.fd to -1 on error
|
| | |
| |
| |
| |
| |
| | |
If p->mwf.fd is e.g. -2 then it is closed in packfile_free and an exception might be thrown.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
|
| |\ \
| |/
|/| |
Fix invalid read reported by valgrind
|
| |/ |
|
| |\
| |
| | |
Make `git_repository_head_tree()` return error codes
|
| | | |
|
| | | |
|
| |\ \
| | |
| | | |
Create contributing guidelines
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
Reset all static variables to NULL in clar's __cleanup
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Without this change, any failed assertion in the second (or a later) test
inside a test suite has a chance of double deleting memory, resulting in
a heap corruption. See #1096 for details.
This leaves alone the test cases where we "just" use cl_git_sandbox_init()
and cl_git_sandbox_cleanup(). These methods already take good care to not
double delete a repository.
Fixes #1096
|
| |\ \ \ \
| |/ / /
|/| | | |
Remove use of English expletives
|
| |/ / /
| | |
| | |
| | |
| | |
| | | |
Remove words such as fuck, crap, shit etc.
Remove other potentially offensive words from comments.
Tidy up other geopolicital terms in comments.
|
| | | | |
|
| |\ \ \
| |_|/
|/| | |
Update to Authors
|
| | | |
| | |
| | | |
See https://github.com/git/git/commit/03aa8ff3be3b35522b2e378651e65e0e86778018, Nicolas Pitre's email address has changed to nico@fluxnic.net
|
| | | |
| | |
| | |
| | |
| | |
| | | |
See lines 59-60 from https://github.com/libgit2/libgit2/blob/44b1ff4c1209c34360cc0c43761c40f5f5020886/src/filter.c which contain a couple of lines of code to ignore an EOF at the end of a file when detecting if it is a text file or not. These came from this contribution that Dmitry made to core Git back in 2008 (https://github.com/git/git/commit/f9dd4bf4e58af0b4828c7e7013080dba59f8a6b9) which was committed by Junio.
Dmitry gave his permission for these changes to be included in LibGit2 as well via email to vmg and myself
|
| | | |
| | |
| | |
| | | |
Permission obtained from Holger Weiss to include all of his contributions to Git into LibGit2. See https://github.com/git/git/commit/21e403a7b956a95a36f218439f82b1c8af869257
|
| |\ \ \
| | | |
| | | | |
It is okay to not have a .gitconfig file
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Opening a repo is generating an error if you don't have a
.gitconfig file in your home directory, but that should be
legal.
|
| |\ \ \ \
| |/ / /
|/| | | |
Fix win32 lstat
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| |/ / / |
|
| |\ \ \
| | | |
| | | | |
VS-Build: Append C_FLAGS to the end of the already given ones.
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
My other PR revealed, that the /W4 parameter, we give to MSVC is ignored
because cmake set CMAKE_C_FLAGS already to /W3 and we overwrite it.
The command line tools gave me a D9025 warning for this on every file and
looking into the project properties page on MSVC 2008 tells, that it has
the warning level set to /W3.
However, the warnings introduced by /W4 are far to useless for having
them enabled. So just disable them.
|
| |\ \ \
| |/ /
|/| | |
Don't use precompiled headers for command-line based VC builds.
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The reason, why libgit2 currently cannot support compiling via the command-line
tools cl/nmake from WinSDK and/or Microsoft Visual Studio, seems to be a
missing dependency on the generated precompiled header file.
The Visual Studio IDE automatically inserts this dependency when it sees the
right combination of "/Y" parameters.
This patch allows to compile using command line tools by disabling precompiled
headers for NON-IDE builds.
|
| |\ \
| | |
| | | |
Filename validation
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
This prevents the index api from calling write_tree() with a
bogus tree.
|
| |/ /
| |
| |
| | |
As per core git.
|
| |\ \
| | |
| | | |
Indexer: Avoid a possible double-deletion in error case
|
| |/ / |
|
| | | |
|
| |\ \
| | |
| | | |
Itsy bitsy tiny winy minor api related fixes
|
| | | |
| | |
| | |
| | |
| | | |
Passing 0 as the index now retrieves the most recent entry instead
of the oldest one.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|