Log

Author Commit Date CI Message
Martin Woodward c999e1c3 2013-01-03T23:42:04 Add Brian Downing to the hall of fame
Martin Woodward 1c5b3a41 2013-01-03T22:28:59 Give proper license notice to code from Android The usage of the Android derrived code contains a full notice which must be provided with the source code as per the terms given at: https://android.googlesource.com/platform/bionic/+/android-4.0.3_r1.1/libc/bionic/dirname_r.c
Martin Woodward 0470f8fc 2013-01-03T22:24:10 Add full license notice to bsearch code The original BSD glibc code contains the notice as given at http://opensource.apple.com/source/gcc/gcc-5666.3/libiberty/bsearch.c and should be given in full along with the code.
Martin Woodward 9a919301 2013-01-03T22:16:37 Add Apache license header back to libpqueue files The original libpqueue file were licensed under Apache 2.0 so therefore should retain their copyrights and header as per the license terms at http://www.apache.org/licenses/LICENSE-2.0
Vicent Martí b449a9ae 2013-01-03T13:57:17 Merge pull request #1185 from ethomson/cleanup_merge expose merge metadata cleanup
Edward Thomson ad2bc32f 2013-01-03T15:53:50 expose merge metadata cleanup
Vicent Martí 07871d3a 2013-01-03T07:43:27 Merge pull request #1181 from nvloff/allow_note_overwrite Allow note overwrite
Nikolai Vladimirov 8716b499 2013-01-03T16:31:36 add option to allow git note overwrite
Philip Kelley 0db4cd04 2013-01-03T08:45:09 Fix git__strncasecmp
Nikolai Vladimirov 4a44087a 2013-01-03T15:43:51 notes.c - whitespace fix
Ben Straub 922dd978 2013-01-02T13:54:37 Move some clone tests to the nonetwork suite
Vicent Martí cd5ca5b9 2013-01-02T13:50:41 Merge pull request #1152 from ben/clone-api-structification Segregate in-memory and persisted remotes
Ben Straub 730df6d0 2013-01-02T13:43:54 Include checkout options inline
Ben Straub c07b52df 2013-01-02T12:48:17 Remove `inmem` flag, use NULL name instead
Ben Straub 0642c143 2013-01-02T12:44:47 Move `url` to last place in parameter list
Michael Schubert 2e40c616 2013-01-02T16:27:22 path: ifdef GIT_WIN32 looks_like_network_computer_name()
Vicent Martí 036e81f7 2012-12-29T04:08:58 Merge pull request #1177 from arrbee/update-example-showindex Update showindex example
Russell Belfer dbc4aa07 2012-12-28T22:00:24 Update showindex example I find the showindex example to be pretty useful on occasion, but there were are couple of output tweaks I wanted, plus I wanted the ability to specify a path to an actual index file instead of having to open the whole repository. This makes those changes and expands the example slightly.
Vicent Martí 3d4064a2 2012-12-28T10:34:35 Merge pull request #1176 from arrbee/fix-iter-memleak Alternative fix for iterator memory leak
Vicent Martí 645e67e8 2012-12-28T07:18:55 Merge pull request #1171 from csware/fix-compilation-vs2012 Fixed compilation with =>VS2010
Sven Strickroth 46c2c1d5 2012-12-28T13:29:16 Fixed compilation with VS >= 2010 Starting with VS2010 MS ships a stdint.h. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Russell Belfer 3865f7f6 2012-12-27T23:23:12 Invalid ref name normalization leaked memory When normalizing a reference name, if there is an error because the name is invalid, then the memory allocated for storing the name could be leaked if the caller was not careful and assumed that the error return code meant that no allocation had occurred. This fixes that by explicitly deallocating the reference name buffer if there is an error in normalizing the name.
Russell Belfer f616a36b 2012-12-27T22:25:52 Make spoolandsort a pushable iterator behavior An earlier change to `git_diff_from_iterators` introduced a memory leak where the allocated spoolandsort iterator was not returned to the caller and thus not freed. One proposal changes all iterator APIs to use git_iterator** so we can reallocate the iterator at will, but that seems unexpected. This commit makes it so that an iterator can be changed in place. The callbacks are isolated in a separate structure and a pointer to that structure can be reassigned by the spoolandsort extension. This means that spoolandsort doesn't create a new iterator; it just allocates a new block of callbacks (along with space for its own extra data) and swaps that into the iterator. Additionally, since spoolandsort is only needed to switch the case sensitivity of an iterator, this simplifies the API to only take the ignore_case boolean and to be a no-op if the iterator already matches the requested case sensitivity.
Ben Straub 3de22567 2012-12-27T11:12:14 Fix warnings in example
Ben Straub 592f466c 2012-12-27T11:11:53 Fix GCC static/non-static compile error
Vicent Martí 83261a44 2012-12-26T16:08:10 Merge pull request #1173 from nulltoken/bug/discover Teach UNC paths to git_path_dirname_r()
nulltoken 50a762a5 2012-12-26T12:03:07 path: Teach UNC paths to git_path_dirname_r() Fix libgit2/libgit2sharp#256
nulltoken 34b6f05f 2012-12-26T11:59:07 path: enhance git_path_dirname_r() test coverage
nulltoken 19c3c99c 2012-12-24T17:16:41 remote: remove duplicated test
nulltoken f19304d2 2012-12-24T15:59:01 remote: Prevent create() from blindly overwriting
nulltoken ae35aa07 2012-12-24T15:29:26 remote: Improve documentation
nulltoken b0aa14aa 2012-12-24T15:27:42 remote: Enhance in-memory remote test coverage
nulltoken 7d4b65f6 2012-12-17T12:27:32 Fix indentations
nulltoken 6bd09ecc 2012-12-24T15:51:10 Fix MSSVC compilation issue
Michael Schubert 7382551f 2012-12-22T16:29:59 Fix -Wmaybe-uninitialized warning
Ben Straub 69d1bd91 2012-12-21T15:30:46 Fix examples
Ben Straub 2808ec9a 2012-12-21T13:15:37 Rename test to make @nulltoken happy
Vicent Martí 2052e3c0 2012-12-21T10:32:23 Merge pull request #1163 from barrbrain/check-exists-before-write odb: check if object exists before writing
Ben Straub 79000951 2012-12-21T08:05:59 In-memory remotes don't have names
David Michael Barr 4d185dd9 2012-12-19T14:30:06 odb: check if object exists before writing Update the procondition of git_odb_backend::write. It may now be assumed that the object has already been hashed.
Ben Straub 87bc689f 2012-12-20T15:50:33 git_remote_create calls git_remote_save
Ben Straub 874dcb25 2012-12-20T11:49:05 Remote: deprecate dangling, prevent saving in-memory
Ben Straub 29f27599 2012-12-20T10:51:09 Rename remote creation APIs git_remote_add -> git_remote_create git_remote_new -> git_remote_create_inmemory
Vicent Martí 4c10d1af 2012-12-20T08:49:32 Merge pull request #1166 from scunz/antibiotica_for_travis Mark travis build as failed if any test fails
Sascha Cunz cedc15af 2012-12-20T03:51:06 Mark travis build as failed if any test fails
Ben Straub 316bca69 2012-12-19T17:07:12 Fix clone sample
Ben Straub 00998a12 2012-12-19T16:51:58 Initialize variable
Ben Straub 621b50e4 2012-12-19T16:51:37 Clone: trust but verify
Ben Straub b412d563 2012-12-18T19:46:05 Add more clone options. Push test suite segfaults.
Edward Thomson 92c4d258 2012-12-19T15:12:49 Merge pull request #1138 from ethomson/fetchhead fetchhead reading/iterating
Edward Thomson 7fcec834 2012-12-11T22:31:21 fetchhead reading/iterating
Vicent Martí 5c3c86b0 2012-12-19T13:43:50 Merge pull request #1150 from schu/fix-netops-ssl netops: on SSL teardown only send shutdown alert
Vicent Martí 0f7f1b1b 2012-12-19T10:26:54 Merge pull request #1159 from rick/be-consistent-be-be-consistent Make `goto cleanup` more consistent
Vicent Martí f7a40a82 2012-12-19T10:26:01 Merge pull request #1162 from scunz/cmake_cleanups RFC: Some cleanups/features in CMakeLists.txt
Vicent Martí 6b459a1c 2012-12-19T10:25:04 Merge pull request #1164 from scunz/fixtestleak Fix some leaks in tests
Vicent Marti 08a325a3 2012-12-19T12:52:14 reflog: Actual error handling
Vicent Marti 8a810441 2012-12-19T12:48:12 reflog: Rename error handling
Sascha Cunz d5cf4665 2012-12-19T08:04:31 Fix some leaks and (possibly) dangling pointers in tests Also adds some asserts.
Sascha Cunz 96a289f5 2012-12-19T05:24:23 clone-empty-test: Don't use one pointer for two things ... so we can clean up correctly.
Sascha Cunz 3dc0207b 2012-12-19T05:21:11 revwalk-test: Don't leak the second repository
Sascha Cunz 523a3ae5 2012-12-18T20:40:57 MSVC: Don't list all source files in an endless list Instead tell MSVC to group the source files by directory.
Sascha Cunz 94243295 2012-12-18T19:51:31 DRY: Add function that adds os-specific libraries to our targets
Sascha Cunz 19a766a2 2012-12-18T19:32:31 Collect configuration options at the top of the file - Also document the -DSTDCALL even better.
Sascha Cunz 521479b1 2012-12-18T19:18:13 DRY: Don't repeat globs for libgit2's own source files
Sascha Cunz c5309eb2 2012-12-18T19:07:59 Remove special case source globs for Solaris With the src/compat/*.c glob removed, there is no longer a difference to the default globs we use for the IF( UNIX ) case.
Sascha Cunz 49b63008 2012-12-18T19:07:08 Remove src/compat/*.c from source globs This directory doesn't exist.
Sascha Cunz b53671ae 2012-12-18T19:03:29 Search for zlib unconditional Up to now, on windows we don't even bother to look if the user has a zlib available somwhere. In almost all larger commercial projects i've participated in, it was not at all uncommon to have such a dependency somewhere in the source tree and use it whereever required. Searching for it, even if it's unlikely to be present, allows for such a scenario (i.e. by prefilling the CMake-Cache).
Sascha Cunz 3d007f4f 2012-12-18T18:55:23 DRY: Scan for regex.c only in one place
Sascha Cunz 8d457891 2012-12-18T18:52:49 Only add deps/http-parser to include-dirs if required
Rick Bradley 9ec50c25 2012-12-18T18:15:21 Make goto cleanup more consistent There may be some question about whether this is likely to be needed at all, but that's above my head at the moment.
Russell Belfer 9d8fa537 2012-12-18T15:48:17 Merge pull request #1158 from rick/i-do-not-think-this-means-what-you-think-it-means don't deref before we've asserted
Rick Bradley 3a6420f3 2012-12-18T17:46:18 don't deref before we've asserted just sayin'.
Vicent Martí 25fa3ae3 2012-12-18T14:18:04 Merge pull request #1157 from rick/trivial-comment-fix Trivial comment fix
Rick Bradley ed4e887d 2012-12-18T16:09:57 Also, whitespace. I was totally flaunting @ben's 3-space tab advice.
Rick Bradley 33f169e2 2012-12-18T16:07:18 Improve comment text This looked wrong to me. I *think* this is more appropriate commentary.
Vicent Martí 957a3e36 2012-12-18T12:07:13 Merge pull request #1156 from scunz/another_testcrash Reset global variable to NULL after free'ing resource
Sascha Cunz 26290cd1 2012-12-18T19:52:37 Reset global variable to NULL after free'ing resource
Vicent Martí e62171e2 2012-12-17T11:10:25 Merge pull request #1151 from arrbee/fix-diff-constructor-names Fix diff constructor names
Russell Belfer ba084f7a 2012-12-17T11:03:42 More diff.h comment fixes Based on feedback from the ObjectiveGit folks, these are some further updates to diff.h areas that are poorly documented.
Russell Belfer 56c72b75 2012-12-17T11:00:53 Fix diff constructor name order confusion The diff constructor functions had some confusing names, where the "old" side of the diff was coming after the "new" side. This reverses the order in the function name to make it less confusing. Specifically... * git_diff_index_to_tree becomes git_diff_tree_to_index * git_diff_workdir_to_index becomes git_diff_index_to_workdir * git_diff_workdir_to_tree becomes git_diff_tree_to_workdir
Michael Schubert f2b00cbd 2012-12-17T19:35:40 netops: on SSL teardown only send shutdown alert According to man 3 SSL_shutdown / TLS, "If a unidirectional shutdown is enough (the underlying connection shall be closed anyway), this first call to SSL_shutdown() is sufficient." Currently, an unidirectional shutdown is enough, since gitno_ssl_teardown is called by gitno_close only. Do so to avoid further errors (by misbehaving peers for example). Fixes #1129.
Michael Schubert 9c8dbc88 2012-12-17T19:18:34 netops: properly handle GITNO_CONNECT_SSL_NO_CHECK_CERT Don't return an error just because GITNO_CONNECT_SSL_NO_CHECK_CERT is set.
Vicent Martí 0d10e79d 2012-12-17T10:13:36 Merge pull request #1149 from nulltoken/topic/blob_isbinary Introduce git_blob_is_binary()
Vicent Martí f7953509 2012-12-17T08:31:04 Merge pull request #1148 from scunz/test_fix Cleanup the empty-clone test correctly
nulltoken a3337f10 2012-12-17T15:15:20 blob: introduce git_blob_is_binary()
nulltoken bdb94c21 2012-12-17T12:20:52 Fix MSVC compilation warnings
Sascha Cunz 22d23c61 2012-12-17T17:15:58 Cleanup the test correctly
Michael Schubert 101659be 2012-12-17T15:50:12 Fix -Wmaybe-uninitialized warning
Vicent Martí 69a402d4 2012-12-17T03:17:16 Merge pull request #1141 from ben/clone-empty-repo Allow clone to handle empty repos
Ben Straub c4e3e797 2012-12-16T12:27:11 Ensure static variables are nulled after every test
Ben Straub cc3e9b5a 2012-12-16T10:50:10 Make building samples more friendly
Ben Straub a7f125cd 2012-12-15T14:56:20 Fix fetchhead tests
Ben Straub 2a2d1ab0 2012-12-15T14:30:20 Cloning empty repos: only allow missing target for HEAD
Vicent Martí 71131b55 2012-12-15T11:31:25 Merge pull request #1145 from esc/feature/mailmap adding .mailmap file
Valentin Haenel d777a407 2012-12-15T18:20:22 adding .mailmap file Help clarify who are the top commiters when using 'shortlog -sn'.
Ben Straub 28abb187 2012-12-14T14:16:10 Stop returning incorrect error message
Ben Straub 57f5d8dc 2012-12-14T14:15:42 Remove placeholder files during tests
Ben Straub 1164acde 2012-12-14T14:00:35 Rebase fixup
Ben Straub b524fe1a 2012-12-14T08:35:59 Local Only ignore ENOTFOUNDs when adding corrupted refs
Ben Straub 850b1edf 2012-12-13T12:55:28 Allow clone to handle empty repos