rugged 0.28.5 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/ext/rugged/extconf.rb +3 -1
- data/ext/rugged/rugged.c +35 -31
- data/ext/rugged/rugged.h +13 -0
- data/ext/rugged/rugged_blob.c +11 -9
- data/ext/rugged/rugged_commit.c +18 -16
- data/ext/rugged/rugged_config.c +1 -1
- data/ext/rugged/rugged_diff.c +4 -26
- data/ext/rugged/rugged_index.c +4 -2
- data/ext/rugged/rugged_note.c +5 -3
- data/ext/rugged/rugged_object.c +57 -10
- data/ext/rugged/rugged_rebase.c +3 -1
- data/ext/rugged/rugged_remote.c +32 -8
- data/ext/rugged/rugged_repo.c +232 -17
- data/ext/rugged/rugged_tag.c +8 -6
- data/ext/rugged/rugged_tree.c +18 -16
- data/lib/rugged/commit.rb +17 -4
- data/lib/rugged/repository.rb +5 -6
- data/lib/rugged/submodule_collection.rb +4 -4
- data/lib/rugged/version.rb +1 -1
- data/vendor/libgit2/CMakeLists.txt +57 -75
- data/vendor/libgit2/COPYING +28 -0
- data/vendor/libgit2/cmake/{Modules/AddCFlagIfSupported.cmake → AddCFlagIfSupported.cmake} +0 -0
- data/vendor/libgit2/cmake/{Modules/EnableWarnings.cmake → EnableWarnings.cmake} +5 -1
- data/vendor/libgit2/cmake/{Modules/FindCoreFoundation.cmake → FindCoreFoundation.cmake} +2 -2
- data/vendor/libgit2/cmake/{Modules/FindGSSAPI.cmake → FindGSSAPI.cmake} +1 -1
- data/vendor/libgit2/cmake/FindGSSFramework.cmake +28 -0
- data/vendor/libgit2/cmake/{Modules/FindHTTP_Parser.cmake → FindHTTP_Parser.cmake} +0 -0
- data/vendor/libgit2/cmake/{Modules/FindIconv.cmake → FindIconv.cmake} +0 -0
- data/vendor/libgit2/cmake/FindPCRE.cmake +38 -0
- data/vendor/libgit2/cmake/FindPCRE2.cmake +37 -0
- data/vendor/libgit2/cmake/{Modules/FindPkgLibraries.cmake → FindPkgLibraries.cmake} +0 -0
- data/vendor/libgit2/cmake/{Modules/FindSecurity.cmake → FindSecurity.cmake} +2 -2
- data/vendor/libgit2/cmake/{Modules/FindStatNsec.cmake → FindStatNsec.cmake} +6 -0
- data/vendor/libgit2/cmake/{Modules/FindmbedTLS.cmake → FindmbedTLS.cmake} +0 -0
- data/vendor/libgit2/cmake/{Modules/IdeSplitSources.cmake → IdeSplitSources.cmake} +0 -0
- data/vendor/libgit2/cmake/PkgBuildConfig.cmake +77 -0
- data/vendor/libgit2/cmake/SanitizeBool.cmake +20 -0
- data/vendor/libgit2/cmake/SelectGSSAPI.cmake +48 -0
- data/vendor/libgit2/cmake/SelectHTTPSBackend.cmake +120 -0
- data/vendor/libgit2/cmake/SelectHashes.cmake +61 -0
- data/vendor/libgit2/deps/http-parser/CMakeLists.txt +4 -3
- data/vendor/libgit2/deps/http-parser/http_parser.c +11 -6
- data/vendor/libgit2/deps/ntlmclient/CMakeLists.txt +25 -0
- data/vendor/libgit2/deps/ntlmclient/compat.h +28 -0
- data/vendor/libgit2/deps/ntlmclient/crypt.h +64 -0
- data/vendor/libgit2/deps/ntlmclient/crypt_commoncrypto.c +120 -0
- data/vendor/libgit2/deps/ntlmclient/crypt_commoncrypto.h +18 -0
- data/vendor/libgit2/deps/ntlmclient/crypt_mbedtls.c +145 -0
- data/vendor/libgit2/deps/ntlmclient/crypt_mbedtls.h +18 -0
- data/vendor/libgit2/deps/ntlmclient/crypt_openssl.c +130 -0
- data/vendor/libgit2/deps/ntlmclient/crypt_openssl.h +21 -0
- data/vendor/libgit2/deps/ntlmclient/ntlm.c +1419 -0
- data/vendor/libgit2/deps/ntlmclient/ntlm.h +174 -0
- data/vendor/libgit2/deps/ntlmclient/ntlmclient.h +320 -0
- data/vendor/libgit2/deps/ntlmclient/unicode.h +36 -0
- data/vendor/libgit2/deps/ntlmclient/unicode_builtin.c +445 -0
- data/vendor/libgit2/deps/ntlmclient/unicode_iconv.c +201 -0
- data/vendor/libgit2/deps/ntlmclient/utf8.h +1257 -0
- data/vendor/libgit2/deps/ntlmclient/util.c +35 -0
- data/vendor/libgit2/deps/ntlmclient/util.h +15 -0
- data/vendor/libgit2/deps/pcre/CMakeLists.txt +140 -0
- data/vendor/libgit2/deps/pcre/COPYING +5 -0
- data/vendor/libgit2/deps/pcre/LICENCE +93 -0
- data/vendor/libgit2/deps/pcre/cmake/COPYING-CMAKE-SCRIPTS +22 -0
- data/vendor/libgit2/deps/pcre/cmake/FindEditline.cmake +17 -0
- data/vendor/libgit2/deps/pcre/cmake/FindPackageHandleStandardArgs.cmake +58 -0
- data/vendor/libgit2/deps/pcre/cmake/FindReadline.cmake +29 -0
- data/vendor/libgit2/deps/pcre/config.h.in +57 -0
- data/vendor/libgit2/deps/pcre/pcre.h +641 -0
- data/vendor/libgit2/deps/pcre/pcre_byte_order.c +319 -0
- data/vendor/libgit2/deps/pcre/pcre_chartables.c +198 -0
- data/vendor/libgit2/deps/pcre/pcre_compile.c +9812 -0
- data/vendor/libgit2/deps/pcre/pcre_config.c +190 -0
- data/vendor/libgit2/deps/pcre/pcre_dfa_exec.c +3676 -0
- data/vendor/libgit2/deps/pcre/pcre_exec.c +7173 -0
- data/vendor/libgit2/deps/pcre/pcre_fullinfo.c +245 -0
- data/vendor/libgit2/deps/pcre/pcre_get.c +669 -0
- data/vendor/libgit2/deps/pcre/pcre_globals.c +86 -0
- data/vendor/libgit2/deps/pcre/pcre_internal.h +2787 -0
- data/vendor/libgit2/deps/pcre/pcre_jit_compile.c +11913 -0
- data/vendor/libgit2/deps/pcre/pcre_maketables.c +156 -0
- data/vendor/libgit2/deps/pcre/pcre_newline.c +210 -0
- data/vendor/libgit2/deps/pcre/pcre_ord2utf8.c +94 -0
- data/vendor/libgit2/deps/pcre/pcre_printint.c +834 -0
- data/vendor/libgit2/deps/pcre/pcre_refcount.c +92 -0
- data/vendor/libgit2/deps/pcre/pcre_string_utils.c +211 -0
- data/vendor/libgit2/deps/pcre/pcre_study.c +1686 -0
- data/vendor/libgit2/deps/pcre/pcre_tables.c +727 -0
- data/vendor/libgit2/deps/pcre/pcre_ucd.c +3644 -0
- data/vendor/libgit2/deps/pcre/pcre_valid_utf8.c +301 -0
- data/vendor/libgit2/deps/pcre/pcre_version.c +98 -0
- data/vendor/libgit2/deps/pcre/pcre_xclass.c +268 -0
- data/vendor/libgit2/deps/pcre/pcreposix.c +420 -0
- data/vendor/libgit2/deps/pcre/pcreposix.h +117 -0
- data/vendor/libgit2/deps/pcre/ucp.h +224 -0
- data/vendor/libgit2/deps/zlib/CMakeLists.txt +6 -5
- data/vendor/libgit2/deps/zlib/adler32.c +0 -7
- data/vendor/libgit2/deps/zlib/crc32.c +0 -7
- data/vendor/libgit2/deps/zlib/deflate.c +1 -0
- data/vendor/libgit2/include/git2.h +2 -0
- data/vendor/libgit2/include/git2/annotated_commit.h +1 -1
- data/vendor/libgit2/include/git2/apply.h +24 -2
- data/vendor/libgit2/include/git2/attr.h +23 -13
- data/vendor/libgit2/include/git2/blame.h +4 -2
- data/vendor/libgit2/include/git2/blob.h +61 -13
- data/vendor/libgit2/include/git2/branch.h +74 -57
- data/vendor/libgit2/include/git2/buffer.h +20 -14
- data/vendor/libgit2/include/git2/cert.h +135 -0
- data/vendor/libgit2/include/git2/checkout.h +46 -14
- data/vendor/libgit2/include/git2/cherrypick.h +3 -3
- data/vendor/libgit2/include/git2/clone.h +2 -2
- data/vendor/libgit2/include/git2/commit.h +23 -1
- data/vendor/libgit2/include/git2/common.h +34 -8
- data/vendor/libgit2/include/git2/config.h +13 -13
- data/vendor/libgit2/include/git2/cred_helpers.h +4 -42
- data/vendor/libgit2/include/git2/credential.h +314 -0
- data/vendor/libgit2/include/git2/credential_helpers.h +52 -0
- data/vendor/libgit2/include/git2/deprecated.h +362 -4
- data/vendor/libgit2/include/git2/describe.h +4 -4
- data/vendor/libgit2/include/git2/diff.h +17 -15
- data/vendor/libgit2/include/git2/errors.h +5 -2
- data/vendor/libgit2/include/git2/filter.h +8 -0
- data/vendor/libgit2/include/git2/index.h +5 -5
- data/vendor/libgit2/include/git2/indexer.h +49 -4
- data/vendor/libgit2/include/git2/merge.h +6 -10
- data/vendor/libgit2/include/git2/net.h +0 -5
- data/vendor/libgit2/include/git2/object.h +2 -14
- data/vendor/libgit2/include/git2/odb.h +18 -22
- data/vendor/libgit2/include/git2/odb_backend.h +5 -4
- data/vendor/libgit2/include/git2/oid.h +11 -6
- data/vendor/libgit2/include/git2/pack.h +13 -2
- data/vendor/libgit2/include/git2/proxy.h +6 -4
- data/vendor/libgit2/include/git2/rebase.h +46 -2
- data/vendor/libgit2/include/git2/refs.h +22 -3
- data/vendor/libgit2/include/git2/remote.h +40 -15
- data/vendor/libgit2/include/git2/repository.h +124 -58
- data/vendor/libgit2/include/git2/revert.h +1 -1
- data/vendor/libgit2/include/git2/revwalk.h +7 -3
- data/vendor/libgit2/include/git2/stash.h +4 -4
- data/vendor/libgit2/include/git2/status.h +25 -16
- data/vendor/libgit2/include/git2/strarray.h +6 -10
- data/vendor/libgit2/include/git2/submodule.h +20 -3
- data/vendor/libgit2/include/git2/sys/alloc.h +9 -9
- data/vendor/libgit2/include/git2/sys/cred.h +15 -0
- data/vendor/libgit2/include/git2/sys/credential.h +90 -0
- data/vendor/libgit2/include/git2/sys/index.h +4 -2
- data/vendor/libgit2/include/git2/sys/mempack.h +2 -1
- data/vendor/libgit2/include/git2/sys/merge.h +1 -1
- data/vendor/libgit2/include/git2/sys/odb_backend.h +48 -4
- data/vendor/libgit2/include/git2/sys/refdb_backend.h +164 -21
- data/vendor/libgit2/include/git2/sys/repository.h +17 -6
- data/vendor/libgit2/include/git2/sys/transport.h +4 -4
- data/vendor/libgit2/include/git2/tag.h +11 -2
- data/vendor/libgit2/include/git2/trace.h +2 -2
- data/vendor/libgit2/include/git2/transport.h +11 -340
- data/vendor/libgit2/include/git2/tree.h +7 -3
- data/vendor/libgit2/include/git2/types.h +4 -89
- data/vendor/libgit2/include/git2/version.h +5 -5
- data/vendor/libgit2/include/git2/worktree.h +5 -5
- data/vendor/libgit2/src/CMakeLists.txt +147 -272
- data/vendor/libgit2/src/alloc.c +2 -14
- data/vendor/libgit2/src/{stdalloc.c → allocators/stdalloc.c} +3 -4
- data/vendor/libgit2/src/{stdalloc.h → allocators/stdalloc.h} +4 -4
- data/vendor/libgit2/src/allocators/win32_crtdbg.c +118 -0
- data/vendor/libgit2/src/{transports/cred.h → allocators/win32_crtdbg.h} +5 -4
- data/vendor/libgit2/src/apply.c +36 -16
- data/vendor/libgit2/src/assert_safe.h +58 -0
- data/vendor/libgit2/src/attr.c +70 -64
- data/vendor/libgit2/src/attr_file.c +197 -99
- data/vendor/libgit2/src/attr_file.h +9 -9
- data/vendor/libgit2/src/attrcache.c +48 -49
- data/vendor/libgit2/src/attrcache.h +2 -1
- data/vendor/libgit2/src/blame.c +34 -15
- data/vendor/libgit2/src/blame.h +1 -1
- data/vendor/libgit2/src/blame_git.c +27 -10
- data/vendor/libgit2/src/blob.c +92 -17
- data/vendor/libgit2/src/blob.h +2 -2
- data/vendor/libgit2/src/branch.c +68 -42
- data/vendor/libgit2/src/buffer.c +11 -3
- data/vendor/libgit2/src/buffer.h +1 -0
- data/vendor/libgit2/src/cache.c +34 -58
- data/vendor/libgit2/src/cache.h +1 -1
- data/vendor/libgit2/src/cc-compat.h +5 -0
- data/vendor/libgit2/src/checkout.c +73 -86
- data/vendor/libgit2/src/cherrypick.c +9 -1
- data/vendor/libgit2/src/clone.c +130 -27
- data/vendor/libgit2/src/clone.h +4 -0
- data/vendor/libgit2/src/commit.c +70 -22
- data/vendor/libgit2/src/commit.h +6 -0
- data/vendor/libgit2/src/commit_list.c +28 -76
- data/vendor/libgit2/src/commit_list.h +2 -2
- data/vendor/libgit2/src/common.h +4 -75
- data/vendor/libgit2/src/config.c +34 -47
- data/vendor/libgit2/src/config.h +7 -6
- data/vendor/libgit2/src/config_backend.h +12 -0
- data/vendor/libgit2/src/config_cache.c +42 -39
- data/vendor/libgit2/src/config_entries.c +76 -98
- data/vendor/libgit2/src/config_entries.h +1 -0
- data/vendor/libgit2/src/config_file.c +346 -380
- data/vendor/libgit2/src/config_mem.c +12 -16
- data/vendor/libgit2/src/config_parse.c +50 -30
- data/vendor/libgit2/src/config_parse.h +13 -12
- data/vendor/libgit2/src/config_snapshot.c +207 -0
- data/vendor/libgit2/src/crlf.c +14 -14
- data/vendor/libgit2/src/describe.c +26 -21
- data/vendor/libgit2/src/diff.c +53 -75
- data/vendor/libgit2/src/diff.h +4 -3
- data/vendor/libgit2/src/diff_driver.c +37 -38
- data/vendor/libgit2/src/diff_file.c +15 -11
- data/vendor/libgit2/src/diff_file.h +2 -2
- data/vendor/libgit2/src/diff_generate.c +36 -37
- data/vendor/libgit2/src/diff_generate.h +2 -2
- data/vendor/libgit2/src/diff_parse.c +3 -4
- data/vendor/libgit2/src/diff_print.c +86 -71
- data/vendor/libgit2/src/diff_stats.c +13 -12
- data/vendor/libgit2/src/diff_tform.c +15 -16
- data/vendor/libgit2/src/errors.c +23 -25
- data/vendor/libgit2/src/errors.h +81 -0
- data/vendor/libgit2/src/features.h.in +9 -2
- data/vendor/libgit2/src/fetch.c +9 -2
- data/vendor/libgit2/src/fetchhead.c +9 -9
- data/vendor/libgit2/src/filebuf.c +1 -1
- data/vendor/libgit2/src/filebuf.h +1 -1
- data/vendor/libgit2/src/filter.c +19 -11
- data/vendor/libgit2/src/{fileops.c → futils.c} +23 -20
- data/vendor/libgit2/src/{fileops.h → futils.h} +8 -8
- data/vendor/libgit2/src/global.c +3 -1
- data/vendor/libgit2/src/hash.c +61 -0
- data/vendor/libgit2/src/hash.h +19 -21
- data/vendor/libgit2/src/hash/sha1.h +38 -0
- data/vendor/libgit2/src/hash/{hash_collisiondetect.h → sha1/collisiondetect.c} +14 -17
- data/vendor/libgit2/src/{sha1_lookup.h → hash/sha1/collisiondetect.h} +8 -8
- data/vendor/libgit2/src/hash/{hash_common_crypto.h → sha1/common_crypto.c} +15 -19
- data/vendor/libgit2/src/hash/sha1/common_crypto.h +19 -0
- data/vendor/libgit2/src/hash/{hash_generic.c → sha1/generic.c} +22 -10
- data/vendor/libgit2/src/hash/{hash_generic.h → sha1/generic.h} +4 -14
- data/vendor/libgit2/src/hash/{hash_mbedtls.c → sha1/mbedtls.c} +15 -7
- data/vendor/libgit2/src/hash/{hash_mbedtls.h → sha1/mbedtls.h} +6 -11
- data/vendor/libgit2/src/hash/{hash_openssl.h → sha1/openssl.c} +14 -18
- data/vendor/libgit2/src/{refdb_fs.h → hash/sha1/openssl.h} +8 -8
- data/vendor/libgit2/src/hash/{sha1dc → sha1/sha1dc}/sha1.c +14 -3
- data/vendor/libgit2/src/hash/{sha1dc → sha1/sha1dc}/sha1.h +0 -0
- data/vendor/libgit2/src/hash/{sha1dc → sha1/sha1dc}/ubc_check.c +0 -0
- data/vendor/libgit2/src/hash/{sha1dc → sha1/sha1dc}/ubc_check.h +0 -0
- data/vendor/libgit2/src/hash/{hash_win32.c → sha1/win32.c} +34 -24
- data/vendor/libgit2/src/hash/{hash_win32.h → sha1/win32.h} +6 -19
- data/vendor/libgit2/src/hashsig.c +1 -1
- data/vendor/libgit2/src/idxmap.c +73 -69
- data/vendor/libgit2/src/idxmap.h +151 -15
- data/vendor/libgit2/src/ignore.c +26 -35
- data/vendor/libgit2/src/index.c +123 -95
- data/vendor/libgit2/src/index.h +1 -1
- data/vendor/libgit2/src/indexer.c +99 -78
- data/vendor/libgit2/src/integer.h +26 -4
- data/vendor/libgit2/src/iterator.c +36 -32
- data/vendor/libgit2/src/iterator.h +8 -8
- data/vendor/libgit2/src/map.h +1 -1
- data/vendor/libgit2/src/merge.c +93 -57
- data/vendor/libgit2/src/merge.h +2 -2
- data/vendor/libgit2/src/merge_driver.c +5 -5
- data/vendor/libgit2/src/merge_file.c +5 -7
- data/vendor/libgit2/src/midx.c +418 -0
- data/vendor/libgit2/src/midx.h +83 -0
- data/vendor/libgit2/src/mwindow.c +144 -74
- data/vendor/libgit2/src/mwindow.h +4 -4
- data/vendor/libgit2/src/net.c +416 -0
- data/vendor/libgit2/src/net.h +57 -0
- data/vendor/libgit2/src/netops.c +6 -222
- data/vendor/libgit2/src/netops.h +1 -37
- data/vendor/libgit2/src/notes.c +8 -5
- data/vendor/libgit2/src/object.c +5 -4
- data/vendor/libgit2/src/object.h +2 -0
- data/vendor/libgit2/src/odb.c +54 -32
- data/vendor/libgit2/src/odb.h +3 -2
- data/vendor/libgit2/src/odb_loose.c +20 -13
- data/vendor/libgit2/src/odb_mempack.c +15 -24
- data/vendor/libgit2/src/odb_pack.c +4 -5
- data/vendor/libgit2/src/offmap.c +43 -55
- data/vendor/libgit2/src/offmap.h +102 -24
- data/vendor/libgit2/src/oid.c +21 -8
- data/vendor/libgit2/src/oidmap.c +39 -57
- data/vendor/libgit2/src/oidmap.h +99 -19
- data/vendor/libgit2/src/pack-objects.c +55 -52
- data/vendor/libgit2/src/pack-objects.h +1 -1
- data/vendor/libgit2/src/pack.c +160 -149
- data/vendor/libgit2/src/pack.h +32 -18
- data/vendor/libgit2/src/parse.c +10 -0
- data/vendor/libgit2/src/parse.h +3 -3
- data/vendor/libgit2/src/patch.c +1 -1
- data/vendor/libgit2/src/patch_generate.c +2 -4
- data/vendor/libgit2/src/patch_parse.c +34 -11
- data/vendor/libgit2/src/path.c +47 -10
- data/vendor/libgit2/src/path.h +2 -0
- data/vendor/libgit2/src/pathspec.c +18 -17
- data/vendor/libgit2/src/pool.c +42 -32
- data/vendor/libgit2/src/pool.h +15 -7
- data/vendor/libgit2/src/posix.c +39 -16
- data/vendor/libgit2/src/posix.h +21 -1
- data/vendor/libgit2/src/proxy.c +9 -2
- data/vendor/libgit2/src/push.c +15 -7
- data/vendor/libgit2/src/reader.c +2 -2
- data/vendor/libgit2/src/rebase.c +89 -28
- data/vendor/libgit2/src/refdb.c +147 -0
- data/vendor/libgit2/src/refdb.h +69 -0
- data/vendor/libgit2/src/refdb_fs.c +230 -241
- data/vendor/libgit2/src/reflog.c +13 -19
- data/vendor/libgit2/src/refs.c +113 -217
- data/vendor/libgit2/src/refs.h +10 -21
- data/vendor/libgit2/src/refspec.c +57 -48
- data/vendor/libgit2/src/regexp.c +221 -0
- data/vendor/libgit2/src/regexp.h +97 -0
- data/vendor/libgit2/src/remote.c +102 -79
- data/vendor/libgit2/src/remote.h +2 -2
- data/vendor/libgit2/src/repository.c +322 -203
- data/vendor/libgit2/src/repository.h +49 -57
- data/vendor/libgit2/src/revert.c +8 -1
- data/vendor/libgit2/src/revparse.c +23 -23
- data/vendor/libgit2/src/revwalk.c +73 -37
- data/vendor/libgit2/src/revwalk.h +20 -0
- data/vendor/libgit2/src/settings.c +22 -1
- data/vendor/libgit2/src/sortedcache.c +14 -29
- data/vendor/libgit2/src/sortedcache.h +1 -1
- data/vendor/libgit2/src/stash.c +49 -67
- data/vendor/libgit2/src/status.c +19 -11
- data/vendor/libgit2/src/strarray.c +63 -0
- data/vendor/libgit2/src/streams/openssl.c +66 -8
- data/vendor/libgit2/src/streams/registry.c +5 -3
- data/vendor/libgit2/src/streams/socket.c +2 -2
- data/vendor/libgit2/src/strmap.c +37 -84
- data/vendor/libgit2/src/strmap.h +105 -33
- data/vendor/libgit2/src/submodule.c +157 -130
- data/vendor/libgit2/src/submodule.h +1 -1
- data/vendor/libgit2/src/sysdir.c +4 -20
- data/vendor/libgit2/src/sysdir.h +0 -11
- data/vendor/libgit2/src/tag.c +12 -2
- data/vendor/libgit2/src/thread-utils.h +163 -40
- data/vendor/libgit2/src/trace.c +1 -1
- data/vendor/libgit2/src/trace.h +3 -3
- data/vendor/libgit2/src/trailer.c +46 -32
- data/vendor/libgit2/src/transaction.c +5 -9
- data/vendor/libgit2/src/transports/auth.c +16 -15
- data/vendor/libgit2/src/transports/auth.h +18 -11
- data/vendor/libgit2/src/transports/auth_negotiate.c +64 -33
- data/vendor/libgit2/src/transports/auth_negotiate.h +2 -2
- data/vendor/libgit2/src/transports/auth_ntlm.c +223 -0
- data/vendor/libgit2/src/transports/auth_ntlm.h +38 -0
- data/vendor/libgit2/src/transports/credential.c +478 -0
- data/vendor/libgit2/src/transports/{cred_helpers.c → credential_helpers.c} +23 -8
- data/vendor/libgit2/src/transports/git.c +11 -16
- data/vendor/libgit2/src/transports/http.c +488 -1248
- data/vendor/libgit2/src/transports/http.h +4 -1
- data/vendor/libgit2/src/transports/httpclient.c +1552 -0
- data/vendor/libgit2/src/transports/httpclient.h +190 -0
- data/vendor/libgit2/src/transports/local.c +12 -12
- data/vendor/libgit2/src/transports/smart.c +21 -21
- data/vendor/libgit2/src/transports/smart.h +3 -3
- data/vendor/libgit2/src/transports/smart_protocol.c +40 -64
- data/vendor/libgit2/src/transports/ssh.c +77 -59
- data/vendor/libgit2/src/transports/winhttp.c +368 -285
- data/vendor/libgit2/src/tree-cache.c +14 -7
- data/vendor/libgit2/src/tree.c +16 -26
- data/vendor/libgit2/src/unix/map.c +1 -1
- data/vendor/libgit2/src/unix/posix.h +16 -11
- data/vendor/libgit2/src/userdiff.h +3 -1
- data/vendor/libgit2/src/util.c +75 -110
- data/vendor/libgit2/src/util.h +18 -23
- data/vendor/libgit2/src/wildmatch.c +320 -0
- data/vendor/libgit2/src/wildmatch.h +23 -0
- data/vendor/libgit2/src/win32/git2.rc +18 -3
- data/vendor/libgit2/src/win32/map.c +3 -5
- data/vendor/libgit2/src/win32/path_w32.c +42 -5
- data/vendor/libgit2/src/win32/path_w32.h +15 -29
- data/vendor/libgit2/src/win32/posix.h +1 -4
- data/vendor/libgit2/src/win32/posix_w32.c +117 -5
- data/vendor/libgit2/src/win32/precompiled.h +0 -2
- data/vendor/libgit2/src/win32/thread.c +5 -5
- data/vendor/libgit2/src/win32/w32_buffer.c +7 -3
- data/vendor/libgit2/src/win32/w32_common.h +39 -0
- data/vendor/libgit2/src/win32/w32_crtdbg_stacktrace.c +0 -93
- data/vendor/libgit2/src/win32/w32_crtdbg_stacktrace.h +0 -2
- data/vendor/libgit2/src/win32/w32_stack.c +4 -9
- data/vendor/libgit2/src/win32/w32_stack.h +3 -3
- data/vendor/libgit2/src/win32/w32_util.c +31 -0
- data/vendor/libgit2/src/win32/w32_util.h +6 -32
- data/vendor/libgit2/src/worktree.c +91 -50
- data/vendor/libgit2/src/xdiff/xdiffi.c +1 -1
- data/vendor/libgit2/src/xdiff/xmerge.c +12 -0
- data/vendor/libgit2/src/xdiff/xpatience.c +3 -0
- data/vendor/libgit2/src/zstream.c +5 -0
- data/vendor/libgit2/src/zstream.h +1 -0
- metadata +123 -53
- data/vendor/libgit2/cmake/Modules/CheckPrototypeDefinition.c.in +0 -29
- data/vendor/libgit2/cmake/Modules/CheckPrototypeDefinition.cmake +0 -96
- data/vendor/libgit2/deps/regex/CMakeLists.txt +0 -2
- data/vendor/libgit2/deps/regex/COPYING +0 -502
- data/vendor/libgit2/deps/regex/config.h +0 -7
- data/vendor/libgit2/deps/regex/regcomp.c +0 -3857
- data/vendor/libgit2/deps/regex/regex.c +0 -92
- data/vendor/libgit2/deps/regex/regex.h +0 -582
- data/vendor/libgit2/deps/regex/regex_internal.c +0 -1744
- data/vendor/libgit2/deps/regex/regex_internal.h +0 -819
- data/vendor/libgit2/deps/regex/regexec.c +0 -4369
- data/vendor/libgit2/include/git2/inttypes.h +0 -309
- data/vendor/libgit2/include/git2/sys/time.h +0 -31
- data/vendor/libgit2/libgit2.pc.in +0 -13
- data/vendor/libgit2/src/fnmatch.c +0 -248
- data/vendor/libgit2/src/fnmatch.h +0 -48
- data/vendor/libgit2/src/sha1_lookup.c +0 -35
- data/vendor/libgit2/src/transports/cred.c +0 -390
@@ -717,10 +717,22 @@ int xdl_merge(mmfile_t *orig, mmfile_t *mf1, mmfile_t *mf2,
|
|
717
717
|
status = 0;
|
718
718
|
if (!xscr1) {
|
719
719
|
result->ptr = xdl_malloc(mf2->size);
|
720
|
+
if (!result->ptr) {
|
721
|
+
xdl_free_script(xscr2);
|
722
|
+
xdl_free_env(&xe1);
|
723
|
+
xdl_free_env(&xe2);
|
724
|
+
return -1;
|
725
|
+
}
|
720
726
|
memcpy(result->ptr, mf2->ptr, mf2->size);
|
721
727
|
result->size = mf2->size;
|
722
728
|
} else if (!xscr2) {
|
723
729
|
result->ptr = xdl_malloc(mf1->size);
|
730
|
+
if (!result->ptr) {
|
731
|
+
xdl_free_script(xscr1);
|
732
|
+
xdl_free_env(&xe1);
|
733
|
+
xdl_free_env(&xe2);
|
734
|
+
return -1;
|
735
|
+
}
|
724
736
|
memcpy(result->ptr, mf1->ptr, mf1->size);
|
725
737
|
result->size = mf1->size;
|
726
738
|
} else {
|
@@ -217,6 +217,9 @@ static struct entry *find_longest_common_sequence(struct hashmap *map)
|
|
217
217
|
*/
|
218
218
|
int anchor_i = -1;
|
219
219
|
|
220
|
+
if (!sequence)
|
221
|
+
return NULL;
|
222
|
+
|
220
223
|
for (entry = map->first; entry; entry = entry->next) {
|
221
224
|
if (!entry->line2 || entry->line2 == NON_UNIQUE)
|
222
225
|
continue;
|
@@ -77,6 +77,11 @@ bool git_zstream_done(git_zstream *zstream)
|
|
77
77
|
return (!zstream->in_len && zstream->zerr == Z_STREAM_END);
|
78
78
|
}
|
79
79
|
|
80
|
+
bool git_zstream_eos(git_zstream *zstream)
|
81
|
+
{
|
82
|
+
return zstream->zerr == Z_STREAM_END;
|
83
|
+
}
|
84
|
+
|
80
85
|
size_t git_zstream_suggest_output_len(git_zstream *zstream)
|
81
86
|
{
|
82
87
|
if (zstream->in_len > ZSTREAM_BUFFER_SIZE)
|
@@ -44,6 +44,7 @@ int git_zstream_get_output_chunk(
|
|
44
44
|
int git_zstream_get_output(void *out, size_t *out_len, git_zstream *zstream);
|
45
45
|
|
46
46
|
bool git_zstream_done(git_zstream *zstream);
|
47
|
+
bool git_zstream_eos(git_zstream *zstream);
|
47
48
|
|
48
49
|
void git_zstream_reset(git_zstream *zstream);
|
49
50
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rugged
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Chacon
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-07-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake-compiler
|
@@ -123,32 +123,82 @@ files:
|
|
123
123
|
- vendor/libgit2/AUTHORS
|
124
124
|
- vendor/libgit2/CMakeLists.txt
|
125
125
|
- vendor/libgit2/COPYING
|
126
|
-
- vendor/libgit2/cmake/
|
127
|
-
- vendor/libgit2/cmake/
|
128
|
-
- vendor/libgit2/cmake/
|
129
|
-
- vendor/libgit2/cmake/
|
130
|
-
- vendor/libgit2/cmake/
|
131
|
-
- vendor/libgit2/cmake/
|
132
|
-
- vendor/libgit2/cmake/
|
133
|
-
- vendor/libgit2/cmake/
|
134
|
-
- vendor/libgit2/cmake/
|
135
|
-
- vendor/libgit2/cmake/
|
136
|
-
- vendor/libgit2/cmake/
|
137
|
-
- vendor/libgit2/cmake/
|
138
|
-
- vendor/libgit2/cmake/
|
126
|
+
- vendor/libgit2/cmake/AddCFlagIfSupported.cmake
|
127
|
+
- vendor/libgit2/cmake/EnableWarnings.cmake
|
128
|
+
- vendor/libgit2/cmake/FindCoreFoundation.cmake
|
129
|
+
- vendor/libgit2/cmake/FindGSSAPI.cmake
|
130
|
+
- vendor/libgit2/cmake/FindGSSFramework.cmake
|
131
|
+
- vendor/libgit2/cmake/FindHTTP_Parser.cmake
|
132
|
+
- vendor/libgit2/cmake/FindIconv.cmake
|
133
|
+
- vendor/libgit2/cmake/FindPCRE.cmake
|
134
|
+
- vendor/libgit2/cmake/FindPCRE2.cmake
|
135
|
+
- vendor/libgit2/cmake/FindPkgLibraries.cmake
|
136
|
+
- vendor/libgit2/cmake/FindSecurity.cmake
|
137
|
+
- vendor/libgit2/cmake/FindStatNsec.cmake
|
138
|
+
- vendor/libgit2/cmake/FindmbedTLS.cmake
|
139
|
+
- vendor/libgit2/cmake/IdeSplitSources.cmake
|
140
|
+
- vendor/libgit2/cmake/PkgBuildConfig.cmake
|
141
|
+
- vendor/libgit2/cmake/SanitizeBool.cmake
|
142
|
+
- vendor/libgit2/cmake/SelectGSSAPI.cmake
|
143
|
+
- vendor/libgit2/cmake/SelectHTTPSBackend.cmake
|
144
|
+
- vendor/libgit2/cmake/SelectHashes.cmake
|
139
145
|
- vendor/libgit2/deps/http-parser/CMakeLists.txt
|
140
146
|
- vendor/libgit2/deps/http-parser/COPYING
|
141
147
|
- vendor/libgit2/deps/http-parser/http_parser.c
|
142
148
|
- vendor/libgit2/deps/http-parser/http_parser.h
|
143
|
-
- vendor/libgit2/deps/
|
144
|
-
- vendor/libgit2/deps/
|
145
|
-
- vendor/libgit2/deps/
|
146
|
-
- vendor/libgit2/deps/
|
147
|
-
- vendor/libgit2/deps/
|
148
|
-
- vendor/libgit2/deps/
|
149
|
-
- vendor/libgit2/deps/
|
150
|
-
- vendor/libgit2/deps/
|
151
|
-
- vendor/libgit2/deps/
|
149
|
+
- vendor/libgit2/deps/ntlmclient/CMakeLists.txt
|
150
|
+
- vendor/libgit2/deps/ntlmclient/compat.h
|
151
|
+
- vendor/libgit2/deps/ntlmclient/crypt.h
|
152
|
+
- vendor/libgit2/deps/ntlmclient/crypt_commoncrypto.c
|
153
|
+
- vendor/libgit2/deps/ntlmclient/crypt_commoncrypto.h
|
154
|
+
- vendor/libgit2/deps/ntlmclient/crypt_mbedtls.c
|
155
|
+
- vendor/libgit2/deps/ntlmclient/crypt_mbedtls.h
|
156
|
+
- vendor/libgit2/deps/ntlmclient/crypt_openssl.c
|
157
|
+
- vendor/libgit2/deps/ntlmclient/crypt_openssl.h
|
158
|
+
- vendor/libgit2/deps/ntlmclient/ntlm.c
|
159
|
+
- vendor/libgit2/deps/ntlmclient/ntlm.h
|
160
|
+
- vendor/libgit2/deps/ntlmclient/ntlmclient.h
|
161
|
+
- vendor/libgit2/deps/ntlmclient/unicode.h
|
162
|
+
- vendor/libgit2/deps/ntlmclient/unicode_builtin.c
|
163
|
+
- vendor/libgit2/deps/ntlmclient/unicode_iconv.c
|
164
|
+
- vendor/libgit2/deps/ntlmclient/utf8.h
|
165
|
+
- vendor/libgit2/deps/ntlmclient/util.c
|
166
|
+
- vendor/libgit2/deps/ntlmclient/util.h
|
167
|
+
- vendor/libgit2/deps/pcre/CMakeLists.txt
|
168
|
+
- vendor/libgit2/deps/pcre/COPYING
|
169
|
+
- vendor/libgit2/deps/pcre/LICENCE
|
170
|
+
- vendor/libgit2/deps/pcre/cmake/COPYING-CMAKE-SCRIPTS
|
171
|
+
- vendor/libgit2/deps/pcre/cmake/FindEditline.cmake
|
172
|
+
- vendor/libgit2/deps/pcre/cmake/FindPackageHandleStandardArgs.cmake
|
173
|
+
- vendor/libgit2/deps/pcre/cmake/FindReadline.cmake
|
174
|
+
- vendor/libgit2/deps/pcre/config.h.in
|
175
|
+
- vendor/libgit2/deps/pcre/pcre.h
|
176
|
+
- vendor/libgit2/deps/pcre/pcre_byte_order.c
|
177
|
+
- vendor/libgit2/deps/pcre/pcre_chartables.c
|
178
|
+
- vendor/libgit2/deps/pcre/pcre_compile.c
|
179
|
+
- vendor/libgit2/deps/pcre/pcre_config.c
|
180
|
+
- vendor/libgit2/deps/pcre/pcre_dfa_exec.c
|
181
|
+
- vendor/libgit2/deps/pcre/pcre_exec.c
|
182
|
+
- vendor/libgit2/deps/pcre/pcre_fullinfo.c
|
183
|
+
- vendor/libgit2/deps/pcre/pcre_get.c
|
184
|
+
- vendor/libgit2/deps/pcre/pcre_globals.c
|
185
|
+
- vendor/libgit2/deps/pcre/pcre_internal.h
|
186
|
+
- vendor/libgit2/deps/pcre/pcre_jit_compile.c
|
187
|
+
- vendor/libgit2/deps/pcre/pcre_maketables.c
|
188
|
+
- vendor/libgit2/deps/pcre/pcre_newline.c
|
189
|
+
- vendor/libgit2/deps/pcre/pcre_ord2utf8.c
|
190
|
+
- vendor/libgit2/deps/pcre/pcre_printint.c
|
191
|
+
- vendor/libgit2/deps/pcre/pcre_refcount.c
|
192
|
+
- vendor/libgit2/deps/pcre/pcre_string_utils.c
|
193
|
+
- vendor/libgit2/deps/pcre/pcre_study.c
|
194
|
+
- vendor/libgit2/deps/pcre/pcre_tables.c
|
195
|
+
- vendor/libgit2/deps/pcre/pcre_ucd.c
|
196
|
+
- vendor/libgit2/deps/pcre/pcre_valid_utf8.c
|
197
|
+
- vendor/libgit2/deps/pcre/pcre_version.c
|
198
|
+
- vendor/libgit2/deps/pcre/pcre_xclass.c
|
199
|
+
- vendor/libgit2/deps/pcre/pcreposix.c
|
200
|
+
- vendor/libgit2/deps/pcre/pcreposix.h
|
201
|
+
- vendor/libgit2/deps/pcre/ucp.h
|
152
202
|
- vendor/libgit2/deps/winhttp/CMakeLists.txt
|
153
203
|
- vendor/libgit2/deps/winhttp/COPYING.GPL
|
154
204
|
- vendor/libgit2/deps/winhttp/COPYING.LGPL
|
@@ -186,6 +236,7 @@ files:
|
|
186
236
|
- vendor/libgit2/include/git2/blob.h
|
187
237
|
- vendor/libgit2/include/git2/branch.h
|
188
238
|
- vendor/libgit2/include/git2/buffer.h
|
239
|
+
- vendor/libgit2/include/git2/cert.h
|
189
240
|
- vendor/libgit2/include/git2/checkout.h
|
190
241
|
- vendor/libgit2/include/git2/cherrypick.h
|
191
242
|
- vendor/libgit2/include/git2/clone.h
|
@@ -193,6 +244,8 @@ files:
|
|
193
244
|
- vendor/libgit2/include/git2/common.h
|
194
245
|
- vendor/libgit2/include/git2/config.h
|
195
246
|
- vendor/libgit2/include/git2/cred_helpers.h
|
247
|
+
- vendor/libgit2/include/git2/credential.h
|
248
|
+
- vendor/libgit2/include/git2/credential_helpers.h
|
196
249
|
- vendor/libgit2/include/git2/deprecated.h
|
197
250
|
- vendor/libgit2/include/git2/describe.h
|
198
251
|
- vendor/libgit2/include/git2/diff.h
|
@@ -203,7 +256,6 @@ files:
|
|
203
256
|
- vendor/libgit2/include/git2/ignore.h
|
204
257
|
- vendor/libgit2/include/git2/index.h
|
205
258
|
- vendor/libgit2/include/git2/indexer.h
|
206
|
-
- vendor/libgit2/include/git2/inttypes.h
|
207
259
|
- vendor/libgit2/include/git2/mailmap.h
|
208
260
|
- vendor/libgit2/include/git2/merge.h
|
209
261
|
- vendor/libgit2/include/git2/message.h
|
@@ -238,6 +290,8 @@ files:
|
|
238
290
|
- vendor/libgit2/include/git2/sys/alloc.h
|
239
291
|
- vendor/libgit2/include/git2/sys/commit.h
|
240
292
|
- vendor/libgit2/include/git2/sys/config.h
|
293
|
+
- vendor/libgit2/include/git2/sys/cred.h
|
294
|
+
- vendor/libgit2/include/git2/sys/credential.h
|
241
295
|
- vendor/libgit2/include/git2/sys/diff.h
|
242
296
|
- vendor/libgit2/include/git2/sys/filter.h
|
243
297
|
- vendor/libgit2/include/git2/sys/hashsig.h
|
@@ -252,7 +306,6 @@ files:
|
|
252
306
|
- vendor/libgit2/include/git2/sys/refs.h
|
253
307
|
- vendor/libgit2/include/git2/sys/repository.h
|
254
308
|
- vendor/libgit2/include/git2/sys/stream.h
|
255
|
-
- vendor/libgit2/include/git2/sys/time.h
|
256
309
|
- vendor/libgit2/include/git2/sys/transport.h
|
257
310
|
- vendor/libgit2/include/git2/tag.h
|
258
311
|
- vendor/libgit2/include/git2/trace.h
|
@@ -262,15 +315,19 @@ files:
|
|
262
315
|
- vendor/libgit2/include/git2/types.h
|
263
316
|
- vendor/libgit2/include/git2/version.h
|
264
317
|
- vendor/libgit2/include/git2/worktree.h
|
265
|
-
- vendor/libgit2/libgit2.pc.in
|
266
318
|
- vendor/libgit2/src/CMakeLists.txt
|
267
319
|
- vendor/libgit2/src/alloc.c
|
268
320
|
- vendor/libgit2/src/alloc.h
|
321
|
+
- vendor/libgit2/src/allocators/stdalloc.c
|
322
|
+
- vendor/libgit2/src/allocators/stdalloc.h
|
323
|
+
- vendor/libgit2/src/allocators/win32_crtdbg.c
|
324
|
+
- vendor/libgit2/src/allocators/win32_crtdbg.h
|
269
325
|
- vendor/libgit2/src/annotated_commit.c
|
270
326
|
- vendor/libgit2/src/annotated_commit.h
|
271
327
|
- vendor/libgit2/src/apply.c
|
272
328
|
- vendor/libgit2/src/apply.h
|
273
329
|
- vendor/libgit2/src/array.h
|
330
|
+
- vendor/libgit2/src/assert_safe.h
|
274
331
|
- vendor/libgit2/src/attr.c
|
275
332
|
- vendor/libgit2/src/attr.h
|
276
333
|
- vendor/libgit2/src/attr_file.c
|
@@ -313,6 +370,7 @@ files:
|
|
313
370
|
- vendor/libgit2/src/config_mem.c
|
314
371
|
- vendor/libgit2/src/config_parse.c
|
315
372
|
- vendor/libgit2/src/config_parse.h
|
373
|
+
- vendor/libgit2/src/config_snapshot.c
|
316
374
|
- vendor/libgit2/src/crlf.c
|
317
375
|
- vendor/libgit2/src/date.c
|
318
376
|
- vendor/libgit2/src/delta.c
|
@@ -335,6 +393,7 @@ files:
|
|
335
393
|
- vendor/libgit2/src/diff_xdiff.c
|
336
394
|
- vendor/libgit2/src/diff_xdiff.h
|
337
395
|
- vendor/libgit2/src/errors.c
|
396
|
+
- vendor/libgit2/src/errors.h
|
338
397
|
- vendor/libgit2/src/features.h.in
|
339
398
|
- vendor/libgit2/src/fetch.c
|
340
399
|
- vendor/libgit2/src/fetch.h
|
@@ -342,30 +401,32 @@ files:
|
|
342
401
|
- vendor/libgit2/src/fetchhead.h
|
343
402
|
- vendor/libgit2/src/filebuf.c
|
344
403
|
- vendor/libgit2/src/filebuf.h
|
345
|
-
- vendor/libgit2/src/fileops.c
|
346
|
-
- vendor/libgit2/src/fileops.h
|
347
404
|
- vendor/libgit2/src/filter.c
|
348
405
|
- vendor/libgit2/src/filter.h
|
349
|
-
- vendor/libgit2/src/
|
350
|
-
- vendor/libgit2/src/
|
406
|
+
- vendor/libgit2/src/futils.c
|
407
|
+
- vendor/libgit2/src/futils.h
|
351
408
|
- vendor/libgit2/src/global.c
|
352
409
|
- vendor/libgit2/src/global.h
|
353
410
|
- vendor/libgit2/src/graph.c
|
354
411
|
- vendor/libgit2/src/hash.c
|
355
412
|
- vendor/libgit2/src/hash.h
|
356
|
-
- vendor/libgit2/src/hash/
|
357
|
-
- vendor/libgit2/src/hash/
|
358
|
-
- vendor/libgit2/src/hash/
|
359
|
-
- vendor/libgit2/src/hash/
|
360
|
-
- vendor/libgit2/src/hash/
|
361
|
-
- vendor/libgit2/src/hash/
|
362
|
-
- vendor/libgit2/src/hash/
|
363
|
-
- vendor/libgit2/src/hash/
|
364
|
-
- vendor/libgit2/src/hash/
|
365
|
-
- vendor/libgit2/src/hash/
|
366
|
-
- vendor/libgit2/src/hash/
|
367
|
-
- vendor/libgit2/src/hash/sha1dc/
|
368
|
-
- vendor/libgit2/src/hash/sha1dc/
|
413
|
+
- vendor/libgit2/src/hash/sha1.h
|
414
|
+
- vendor/libgit2/src/hash/sha1/collisiondetect.c
|
415
|
+
- vendor/libgit2/src/hash/sha1/collisiondetect.h
|
416
|
+
- vendor/libgit2/src/hash/sha1/common_crypto.c
|
417
|
+
- vendor/libgit2/src/hash/sha1/common_crypto.h
|
418
|
+
- vendor/libgit2/src/hash/sha1/generic.c
|
419
|
+
- vendor/libgit2/src/hash/sha1/generic.h
|
420
|
+
- vendor/libgit2/src/hash/sha1/mbedtls.c
|
421
|
+
- vendor/libgit2/src/hash/sha1/mbedtls.h
|
422
|
+
- vendor/libgit2/src/hash/sha1/openssl.c
|
423
|
+
- vendor/libgit2/src/hash/sha1/openssl.h
|
424
|
+
- vendor/libgit2/src/hash/sha1/sha1dc/sha1.c
|
425
|
+
- vendor/libgit2/src/hash/sha1/sha1dc/sha1.h
|
426
|
+
- vendor/libgit2/src/hash/sha1/sha1dc/ubc_check.c
|
427
|
+
- vendor/libgit2/src/hash/sha1/sha1dc/ubc_check.h
|
428
|
+
- vendor/libgit2/src/hash/sha1/win32.c
|
429
|
+
- vendor/libgit2/src/hash/sha1/win32.h
|
369
430
|
- vendor/libgit2/src/hashsig.c
|
370
431
|
- vendor/libgit2/src/ident.c
|
371
432
|
- vendor/libgit2/src/idxmap.c
|
@@ -390,8 +451,12 @@ files:
|
|
390
451
|
- vendor/libgit2/src/merge_file.c
|
391
452
|
- vendor/libgit2/src/message.c
|
392
453
|
- vendor/libgit2/src/message.h
|
454
|
+
- vendor/libgit2/src/midx.c
|
455
|
+
- vendor/libgit2/src/midx.h
|
393
456
|
- vendor/libgit2/src/mwindow.c
|
394
457
|
- vendor/libgit2/src/mwindow.h
|
458
|
+
- vendor/libgit2/src/net.c
|
459
|
+
- vendor/libgit2/src/net.h
|
395
460
|
- vendor/libgit2/src/netops.c
|
396
461
|
- vendor/libgit2/src/netops.h
|
397
462
|
- vendor/libgit2/src/notes.c
|
@@ -444,13 +509,14 @@ files:
|
|
444
509
|
- vendor/libgit2/src/refdb.c
|
445
510
|
- vendor/libgit2/src/refdb.h
|
446
511
|
- vendor/libgit2/src/refdb_fs.c
|
447
|
-
- vendor/libgit2/src/refdb_fs.h
|
448
512
|
- vendor/libgit2/src/reflog.c
|
449
513
|
- vendor/libgit2/src/reflog.h
|
450
514
|
- vendor/libgit2/src/refs.c
|
451
515
|
- vendor/libgit2/src/refs.h
|
452
516
|
- vendor/libgit2/src/refspec.c
|
453
517
|
- vendor/libgit2/src/refspec.h
|
518
|
+
- vendor/libgit2/src/regexp.c
|
519
|
+
- vendor/libgit2/src/regexp.h
|
454
520
|
- vendor/libgit2/src/remote.c
|
455
521
|
- vendor/libgit2/src/remote.h
|
456
522
|
- vendor/libgit2/src/repo_template.h
|
@@ -462,8 +528,6 @@ files:
|
|
462
528
|
- vendor/libgit2/src/revwalk.c
|
463
529
|
- vendor/libgit2/src/revwalk.h
|
464
530
|
- vendor/libgit2/src/settings.c
|
465
|
-
- vendor/libgit2/src/sha1_lookup.c
|
466
|
-
- vendor/libgit2/src/sha1_lookup.h
|
467
531
|
- vendor/libgit2/src/signature.c
|
468
532
|
- vendor/libgit2/src/signature.h
|
469
533
|
- vendor/libgit2/src/sortedcache.c
|
@@ -471,8 +535,7 @@ files:
|
|
471
535
|
- vendor/libgit2/src/stash.c
|
472
536
|
- vendor/libgit2/src/status.c
|
473
537
|
- vendor/libgit2/src/status.h
|
474
|
-
- vendor/libgit2/src/
|
475
|
-
- vendor/libgit2/src/stdalloc.h
|
538
|
+
- vendor/libgit2/src/strarray.c
|
476
539
|
- vendor/libgit2/src/stream.h
|
477
540
|
- vendor/libgit2/src/streams/mbedtls.c
|
478
541
|
- vendor/libgit2/src/streams/mbedtls.h
|
@@ -507,12 +570,15 @@ files:
|
|
507
570
|
- vendor/libgit2/src/transports/auth.h
|
508
571
|
- vendor/libgit2/src/transports/auth_negotiate.c
|
509
572
|
- vendor/libgit2/src/transports/auth_negotiate.h
|
510
|
-
- vendor/libgit2/src/transports/
|
511
|
-
- vendor/libgit2/src/transports/
|
512
|
-
- vendor/libgit2/src/transports/
|
573
|
+
- vendor/libgit2/src/transports/auth_ntlm.c
|
574
|
+
- vendor/libgit2/src/transports/auth_ntlm.h
|
575
|
+
- vendor/libgit2/src/transports/credential.c
|
576
|
+
- vendor/libgit2/src/transports/credential_helpers.c
|
513
577
|
- vendor/libgit2/src/transports/git.c
|
514
578
|
- vendor/libgit2/src/transports/http.c
|
515
579
|
- vendor/libgit2/src/transports/http.h
|
580
|
+
- vendor/libgit2/src/transports/httpclient.c
|
581
|
+
- vendor/libgit2/src/transports/httpclient.h
|
516
582
|
- vendor/libgit2/src/transports/local.c
|
517
583
|
- vendor/libgit2/src/transports/smart.c
|
518
584
|
- vendor/libgit2/src/transports/smart.h
|
@@ -537,6 +603,8 @@ files:
|
|
537
603
|
- vendor/libgit2/src/varint.h
|
538
604
|
- vendor/libgit2/src/vector.c
|
539
605
|
- vendor/libgit2/src/vector.h
|
606
|
+
- vendor/libgit2/src/wildmatch.c
|
607
|
+
- vendor/libgit2/src/wildmatch.h
|
540
608
|
- vendor/libgit2/src/win32/dir.c
|
541
609
|
- vendor/libgit2/src/win32/dir.h
|
542
610
|
- vendor/libgit2/src/win32/error.c
|
@@ -561,6 +629,7 @@ files:
|
|
561
629
|
- vendor/libgit2/src/win32/version.h
|
562
630
|
- vendor/libgit2/src/win32/w32_buffer.c
|
563
631
|
- vendor/libgit2/src/win32/w32_buffer.h
|
632
|
+
- vendor/libgit2/src/win32/w32_common.h
|
564
633
|
- vendor/libgit2/src/win32/w32_crtdbg_stacktrace.c
|
565
634
|
- vendor/libgit2/src/win32/w32_crtdbg_stacktrace.h
|
566
635
|
- vendor/libgit2/src/win32/w32_stack.c
|
@@ -590,7 +659,8 @@ files:
|
|
590
659
|
homepage: https://github.com/libgit2/rugged
|
591
660
|
licenses:
|
592
661
|
- MIT
|
593
|
-
metadata:
|
662
|
+
metadata:
|
663
|
+
msys2_mingw_dependencies: libssh2
|
594
664
|
post_install_message:
|
595
665
|
rdoc_options: []
|
596
666
|
require_paths:
|
@@ -1,29 +0,0 @@
|
|
1
|
-
@CHECK_PROTOTYPE_DEFINITION_HEADER@
|
2
|
-
|
3
|
-
static void cmakeRequireSymbol(int dummy, ...) {
|
4
|
-
(void) dummy;
|
5
|
-
}
|
6
|
-
|
7
|
-
static void checkSymbol(void) {
|
8
|
-
#ifndef @CHECK_PROTOTYPE_DEFINITION_SYMBOL@
|
9
|
-
cmakeRequireSymbol(0, &@CHECK_PROTOTYPE_DEFINITION_SYMBOL@);
|
10
|
-
#endif
|
11
|
-
}
|
12
|
-
|
13
|
-
@CHECK_PROTOTYPE_DEFINITION_PROTO@ {
|
14
|
-
return @CHECK_PROTOTYPE_DEFINITION_RETURN@;
|
15
|
-
}
|
16
|
-
|
17
|
-
#ifdef __CLASSIC_C__
|
18
|
-
int main() {
|
19
|
-
int ac;
|
20
|
-
char*av[];
|
21
|
-
#else
|
22
|
-
int main(int ac, char *av[]) {
|
23
|
-
#endif
|
24
|
-
checkSymbol();
|
25
|
-
if (ac > 1000) {
|
26
|
-
return *av[0];
|
27
|
-
}
|
28
|
-
return 0;
|
29
|
-
}
|
@@ -1,96 +0,0 @@
|
|
1
|
-
# - Check if the protoype we expect is correct.
|
2
|
-
# check_prototype_definition(FUNCTION PROTOTYPE RETURN HEADER VARIABLE)
|
3
|
-
# FUNCTION - The name of the function (used to check if prototype exists)
|
4
|
-
# PROTOTYPE- The prototype to check.
|
5
|
-
# RETURN - The return value of the function.
|
6
|
-
# HEADER - The header files required.
|
7
|
-
# VARIABLE - The variable to store the result.
|
8
|
-
# Example:
|
9
|
-
# check_prototype_definition(getpwent_r
|
10
|
-
# "struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)"
|
11
|
-
# "NULL"
|
12
|
-
# "unistd.h;pwd.h"
|
13
|
-
# SOLARIS_GETPWENT_R)
|
14
|
-
# The following variables may be set before calling this macro to
|
15
|
-
# modify the way the check is run:
|
16
|
-
#
|
17
|
-
# CMAKE_REQUIRED_FLAGS = string of compile command line flags
|
18
|
-
# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
|
19
|
-
# CMAKE_REQUIRED_INCLUDES = list of include directories
|
20
|
-
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
|
21
|
-
|
22
|
-
#=============================================================================
|
23
|
-
# Copyright 2005-2009 Kitware, Inc.
|
24
|
-
# Copyright 2010-2011 Andreas Schneider <asn@cryptomilk.org>
|
25
|
-
#
|
26
|
-
# Distributed under the OSI-approved BSD License (the "License");
|
27
|
-
# see accompanying file Copyright.txt for details.
|
28
|
-
#
|
29
|
-
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
30
|
-
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
31
|
-
# See the License for more information.
|
32
|
-
#=============================================================================
|
33
|
-
# (To distribute this file outside of CMake, substitute the full
|
34
|
-
# License text for the above reference.)
|
35
|
-
#
|
36
|
-
|
37
|
-
get_filename_component(__check_proto_def_dir "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
38
|
-
|
39
|
-
function(CHECK_PROTOTYPE_DEFINITION _FUNCTION _PROTOTYPE _RETURN _HEADER _VARIABLE)
|
40
|
-
|
41
|
-
if ("${_VARIABLE}" MATCHES "^${_VARIABLE}$")
|
42
|
-
set(CHECK_PROTOTYPE_DEFINITION_CONTENT "/* */\n")
|
43
|
-
|
44
|
-
set(CHECK_PROTOTYPE_DEFINITION_FLAGS ${CMAKE_REQUIRED_FLAGS})
|
45
|
-
if (CMAKE_REQUIRED_LIBRARIES)
|
46
|
-
set(CHECK_PROTOTYPE_DEFINITION_LIBS
|
47
|
-
"-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}")
|
48
|
-
else(CMAKE_REQUIRED_LIBRARIES)
|
49
|
-
set(CHECK_PROTOTYPE_DEFINITION_LIBS)
|
50
|
-
endif(CMAKE_REQUIRED_LIBRARIES)
|
51
|
-
if (CMAKE_REQUIRED_INCLUDES)
|
52
|
-
set(CMAKE_SYMBOL_EXISTS_INCLUDES
|
53
|
-
"-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}")
|
54
|
-
else(CMAKE_REQUIRED_INCLUDES)
|
55
|
-
set(CMAKE_SYMBOL_EXISTS_INCLUDES)
|
56
|
-
endif(CMAKE_REQUIRED_INCLUDES)
|
57
|
-
|
58
|
-
foreach(_FILE ${_HEADER})
|
59
|
-
set(CHECK_PROTOTYPE_DEFINITION_HEADER
|
60
|
-
"${CHECK_PROTOTYPE_DEFINITION_HEADER}#include <${_FILE}>\n")
|
61
|
-
endforeach(_FILE)
|
62
|
-
|
63
|
-
set(CHECK_PROTOTYPE_DEFINITION_SYMBOL ${_FUNCTION})
|
64
|
-
set(CHECK_PROTOTYPE_DEFINITION_PROTO ${_PROTOTYPE})
|
65
|
-
set(CHECK_PROTOTYPE_DEFINITION_RETURN ${_RETURN})
|
66
|
-
|
67
|
-
configure_file("${__check_proto_def_dir}/CheckPrototypeDefinition.c.in"
|
68
|
-
"${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckPrototypeDefinition.c" @ONLY)
|
69
|
-
|
70
|
-
file(READ ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckPrototypeDefinition.c _SOURCE)
|
71
|
-
|
72
|
-
try_compile(${_VARIABLE}
|
73
|
-
${CMAKE_BINARY_DIR}
|
74
|
-
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckPrototypeDefinition.c
|
75
|
-
COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS}
|
76
|
-
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${CHECK_PROTOTYPE_DEFINITION_FLAGS}
|
77
|
-
"${CHECK_PROTOTYPE_DEFINITION_LIBS}"
|
78
|
-
"${CMAKE_SYMBOL_EXISTS_INCLUDES}"
|
79
|
-
OUTPUT_VARIABLE OUTPUT)
|
80
|
-
|
81
|
-
if (${_VARIABLE})
|
82
|
-
set(${_VARIABLE} 1 CACHE INTERNAL "Have correct prototype for ${_FUNCTION}")
|
83
|
-
message(STATUS "Checking prototype ${_FUNCTION} for ${_VARIABLE} - True")
|
84
|
-
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
|
85
|
-
"Determining if the prototype ${_FUNCTION} exists for ${_VARIABLE} passed with the following output:\n"
|
86
|
-
"${OUTPUT}\n\n")
|
87
|
-
else (${_VARIABLE})
|
88
|
-
message(STATUS "Checking prototype ${_FUNCTION} for ${_VARIABLE} - False")
|
89
|
-
set(${_VARIABLE} 0 CACHE INTERNAL "Have correct prototype for ${_FUNCTION}")
|
90
|
-
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
|
91
|
-
"Determining if the prototype ${_FUNCTION} exists for ${_VARIABLE} failed with the following output:\n"
|
92
|
-
"${OUTPUT}\n\n${_SOURCE}\n\n")
|
93
|
-
endif (${_VARIABLE})
|
94
|
-
endif("${_VARIABLE}" MATCHES "^${_VARIABLE}$")
|
95
|
-
|
96
|
-
endfunction(CHECK_PROTOTYPE_DEFINITION)
|