rugged 0.28.4.1 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (391) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/ext/rugged/extconf.rb +3 -1
  4. data/ext/rugged/rugged.c +35 -31
  5. data/ext/rugged/rugged.h +13 -0
  6. data/ext/rugged/rugged_blob.c +11 -9
  7. data/ext/rugged/rugged_commit.c +17 -15
  8. data/ext/rugged/rugged_config.c +1 -1
  9. data/ext/rugged/rugged_diff.c +4 -26
  10. data/ext/rugged/rugged_index.c +4 -2
  11. data/ext/rugged/rugged_note.c +5 -3
  12. data/ext/rugged/rugged_object.c +57 -10
  13. data/ext/rugged/rugged_rebase.c +3 -1
  14. data/ext/rugged/rugged_remote.c +32 -8
  15. data/ext/rugged/rugged_repo.c +232 -17
  16. data/ext/rugged/rugged_tag.c +8 -6
  17. data/ext/rugged/rugged_tree.c +18 -16
  18. data/lib/rugged/commit.rb +1 -2
  19. data/lib/rugged/repository.rb +5 -6
  20. data/lib/rugged/submodule_collection.rb +4 -4
  21. data/lib/rugged/version.rb +1 -1
  22. data/vendor/libgit2/AUTHORS +1 -0
  23. data/vendor/libgit2/CMakeLists.txt +39 -19
  24. data/vendor/libgit2/COPYING +28 -0
  25. data/vendor/libgit2/cmake/Modules/EnableWarnings.cmake +5 -1
  26. data/vendor/libgit2/cmake/Modules/FindCoreFoundation.cmake +2 -2
  27. data/vendor/libgit2/cmake/Modules/FindGSSAPI.cmake +1 -1
  28. data/vendor/libgit2/cmake/Modules/FindGSSFramework.cmake +28 -0
  29. data/vendor/libgit2/cmake/Modules/FindPCRE.cmake +38 -0
  30. data/vendor/libgit2/cmake/Modules/FindPCRE2.cmake +37 -0
  31. data/vendor/libgit2/cmake/Modules/FindSecurity.cmake +2 -2
  32. data/vendor/libgit2/cmake/Modules/FindStatNsec.cmake +6 -0
  33. data/vendor/libgit2/cmake/Modules/PkgBuildConfig.cmake +77 -0
  34. data/vendor/libgit2/cmake/Modules/SanitizeBool.cmake +20 -0
  35. data/vendor/libgit2/cmake/Modules/SelectGSSAPI.cmake +56 -0
  36. data/vendor/libgit2/cmake/Modules/SelectHTTPSBackend.cmake +127 -0
  37. data/vendor/libgit2/cmake/Modules/SelectHashes.cmake +69 -0
  38. data/vendor/libgit2/deps/http-parser/http_parser.c +11 -6
  39. data/vendor/libgit2/deps/ntlmclient/CMakeLists.txt +23 -0
  40. data/vendor/libgit2/deps/ntlmclient/compat.h +55 -0
  41. data/vendor/libgit2/deps/ntlmclient/crypt.h +64 -0
  42. data/vendor/libgit2/deps/ntlmclient/crypt_commoncrypto.c +120 -0
  43. data/vendor/libgit2/deps/ntlmclient/crypt_commoncrypto.h +18 -0
  44. data/vendor/libgit2/deps/ntlmclient/crypt_mbedtls.c +145 -0
  45. data/vendor/libgit2/deps/ntlmclient/crypt_mbedtls.h +18 -0
  46. data/vendor/libgit2/deps/ntlmclient/crypt_openssl.c +130 -0
  47. data/vendor/libgit2/deps/ntlmclient/crypt_openssl.h +21 -0
  48. data/vendor/libgit2/deps/ntlmclient/ntlm.c +1422 -0
  49. data/vendor/libgit2/deps/ntlmclient/ntlm.h +174 -0
  50. data/vendor/libgit2/deps/ntlmclient/ntlmclient.h +320 -0
  51. data/vendor/libgit2/deps/ntlmclient/unicode.h +36 -0
  52. data/vendor/libgit2/deps/ntlmclient/unicode_builtin.c +445 -0
  53. data/vendor/libgit2/deps/ntlmclient/unicode_iconv.c +201 -0
  54. data/vendor/libgit2/deps/ntlmclient/utf8.h +1257 -0
  55. data/vendor/libgit2/deps/ntlmclient/util.c +21 -0
  56. data/vendor/libgit2/deps/ntlmclient/util.h +14 -0
  57. data/vendor/libgit2/deps/pcre/CMakeLists.txt +140 -0
  58. data/vendor/libgit2/deps/pcre/COPYING +5 -0
  59. data/vendor/libgit2/deps/pcre/cmake/COPYING-CMAKE-SCRIPTS +22 -0
  60. data/vendor/libgit2/deps/pcre/cmake/FindEditline.cmake +17 -0
  61. data/vendor/libgit2/deps/pcre/cmake/FindPackageHandleStandardArgs.cmake +58 -0
  62. data/vendor/libgit2/deps/pcre/cmake/FindReadline.cmake +29 -0
  63. data/vendor/libgit2/deps/pcre/config.h.in +57 -0
  64. data/vendor/libgit2/deps/pcre/pcre.h +641 -0
  65. data/vendor/libgit2/deps/pcre/pcre_byte_order.c +319 -0
  66. data/vendor/libgit2/deps/pcre/pcre_chartables.c +198 -0
  67. data/vendor/libgit2/deps/pcre/pcre_compile.c +9800 -0
  68. data/vendor/libgit2/deps/pcre/pcre_config.c +190 -0
  69. data/vendor/libgit2/deps/pcre/pcre_dfa_exec.c +3676 -0
  70. data/vendor/libgit2/deps/pcre/pcre_exec.c +7173 -0
  71. data/vendor/libgit2/deps/pcre/pcre_fullinfo.c +245 -0
  72. data/vendor/libgit2/deps/pcre/pcre_get.c +669 -0
  73. data/vendor/libgit2/deps/pcre/pcre_globals.c +86 -0
  74. data/vendor/libgit2/deps/pcre/pcre_internal.h +2787 -0
  75. data/vendor/libgit2/deps/pcre/pcre_jit_compile.c +11913 -0
  76. data/vendor/libgit2/deps/pcre/pcre_maketables.c +156 -0
  77. data/vendor/libgit2/deps/pcre/pcre_newline.c +210 -0
  78. data/vendor/libgit2/deps/pcre/pcre_ord2utf8.c +94 -0
  79. data/vendor/libgit2/deps/pcre/pcre_printint.c +834 -0
  80. data/vendor/libgit2/deps/pcre/pcre_refcount.c +92 -0
  81. data/vendor/libgit2/deps/pcre/pcre_string_utils.c +211 -0
  82. data/vendor/libgit2/deps/pcre/pcre_study.c +1686 -0
  83. data/vendor/libgit2/deps/pcre/pcre_tables.c +727 -0
  84. data/vendor/libgit2/deps/pcre/pcre_ucd.c +3644 -0
  85. data/vendor/libgit2/deps/pcre/pcre_valid_utf8.c +301 -0
  86. data/vendor/libgit2/deps/pcre/pcre_version.c +98 -0
  87. data/vendor/libgit2/deps/pcre/pcre_xclass.c +268 -0
  88. data/vendor/libgit2/deps/pcre/pcreposix.c +421 -0
  89. data/vendor/libgit2/deps/pcre/pcreposix.h +117 -0
  90. data/vendor/libgit2/deps/pcre/ucp.h +224 -0
  91. data/vendor/libgit2/deps/zlib/adler32.c +0 -7
  92. data/vendor/libgit2/deps/zlib/crc32.c +0 -7
  93. data/vendor/libgit2/include/git2.h +2 -0
  94. data/vendor/libgit2/include/git2/apply.h +22 -2
  95. data/vendor/libgit2/include/git2/attr.h +23 -13
  96. data/vendor/libgit2/include/git2/blame.h +2 -2
  97. data/vendor/libgit2/include/git2/blob.h +44 -12
  98. data/vendor/libgit2/include/git2/branch.h +74 -57
  99. data/vendor/libgit2/include/git2/buffer.h +20 -14
  100. data/vendor/libgit2/include/git2/cert.h +135 -0
  101. data/vendor/libgit2/include/git2/checkout.h +46 -14
  102. data/vendor/libgit2/include/git2/cherrypick.h +3 -3
  103. data/vendor/libgit2/include/git2/clone.h +2 -2
  104. data/vendor/libgit2/include/git2/commit.h +23 -1
  105. data/vendor/libgit2/include/git2/common.h +15 -6
  106. data/vendor/libgit2/include/git2/config.h +12 -12
  107. data/vendor/libgit2/include/git2/cred_helpers.h +4 -42
  108. data/vendor/libgit2/include/git2/credential.h +314 -0
  109. data/vendor/libgit2/include/git2/credential_helpers.h +52 -0
  110. data/vendor/libgit2/include/git2/deprecated.h +321 -3
  111. data/vendor/libgit2/include/git2/describe.h +4 -4
  112. data/vendor/libgit2/include/git2/diff.h +16 -14
  113. data/vendor/libgit2/include/git2/errors.h +4 -2
  114. data/vendor/libgit2/include/git2/filter.h +8 -0
  115. data/vendor/libgit2/include/git2/index.h +2 -1
  116. data/vendor/libgit2/include/git2/indexer.h +48 -4
  117. data/vendor/libgit2/include/git2/merge.h +6 -10
  118. data/vendor/libgit2/include/git2/net.h +0 -5
  119. data/vendor/libgit2/include/git2/object.h +2 -14
  120. data/vendor/libgit2/include/git2/odb.h +3 -2
  121. data/vendor/libgit2/include/git2/odb_backend.h +5 -4
  122. data/vendor/libgit2/include/git2/oid.h +11 -6
  123. data/vendor/libgit2/include/git2/pack.h +12 -1
  124. data/vendor/libgit2/include/git2/proxy.h +6 -4
  125. data/vendor/libgit2/include/git2/rebase.h +46 -2
  126. data/vendor/libgit2/include/git2/refs.h +19 -0
  127. data/vendor/libgit2/include/git2/remote.h +40 -15
  128. data/vendor/libgit2/include/git2/repository.h +29 -6
  129. data/vendor/libgit2/include/git2/revert.h +1 -1
  130. data/vendor/libgit2/include/git2/revwalk.h +7 -3
  131. data/vendor/libgit2/include/git2/stash.h +4 -4
  132. data/vendor/libgit2/include/git2/status.h +25 -16
  133. data/vendor/libgit2/include/git2/submodule.h +20 -3
  134. data/vendor/libgit2/include/git2/sys/alloc.h +9 -9
  135. data/vendor/libgit2/include/git2/sys/cred.h +15 -0
  136. data/vendor/libgit2/include/git2/sys/credential.h +90 -0
  137. data/vendor/libgit2/include/git2/sys/index.h +4 -2
  138. data/vendor/libgit2/include/git2/sys/mempack.h +2 -1
  139. data/vendor/libgit2/include/git2/sys/merge.h +1 -1
  140. data/vendor/libgit2/include/git2/sys/odb_backend.h +48 -4
  141. data/vendor/libgit2/include/git2/sys/refdb_backend.h +164 -21
  142. data/vendor/libgit2/include/git2/sys/repository.h +17 -6
  143. data/vendor/libgit2/include/git2/sys/transport.h +4 -4
  144. data/vendor/libgit2/include/git2/tag.h +11 -2
  145. data/vendor/libgit2/include/git2/trace.h +2 -2
  146. data/vendor/libgit2/include/git2/transport.h +11 -340
  147. data/vendor/libgit2/include/git2/tree.h +5 -3
  148. data/vendor/libgit2/include/git2/types.h +4 -89
  149. data/vendor/libgit2/include/git2/version.h +5 -5
  150. data/vendor/libgit2/include/git2/worktree.h +5 -5
  151. data/vendor/libgit2/src/CMakeLists.txt +99 -236
  152. data/vendor/libgit2/src/alloc.c +2 -14
  153. data/vendor/libgit2/src/{stdalloc.c → allocators/stdalloc.c} +3 -4
  154. data/vendor/libgit2/src/{stdalloc.h → allocators/stdalloc.h} +4 -4
  155. data/vendor/libgit2/src/allocators/win32_crtdbg.c +118 -0
  156. data/vendor/libgit2/src/{transports/cred.h → allocators/win32_crtdbg.h} +5 -4
  157. data/vendor/libgit2/src/apply.c +60 -30
  158. data/vendor/libgit2/src/attr.c +70 -64
  159. data/vendor/libgit2/src/attr_file.c +189 -96
  160. data/vendor/libgit2/src/attr_file.h +9 -9
  161. data/vendor/libgit2/src/attrcache.c +48 -48
  162. data/vendor/libgit2/src/attrcache.h +2 -1
  163. data/vendor/libgit2/src/blame.c +17 -5
  164. data/vendor/libgit2/src/blame.h +1 -1
  165. data/vendor/libgit2/src/blame_git.c +21 -7
  166. data/vendor/libgit2/src/blob.c +81 -17
  167. data/vendor/libgit2/src/blob.h +2 -2
  168. data/vendor/libgit2/src/branch.c +60 -32
  169. data/vendor/libgit2/src/buffer.c +19 -7
  170. data/vendor/libgit2/src/buffer.h +1 -0
  171. data/vendor/libgit2/src/cache.c +33 -36
  172. data/vendor/libgit2/src/cache.h +1 -1
  173. data/vendor/libgit2/src/cc-compat.h +5 -0
  174. data/vendor/libgit2/src/checkout.c +26 -16
  175. data/vendor/libgit2/src/cherrypick.c +9 -3
  176. data/vendor/libgit2/src/clone.c +29 -7
  177. data/vendor/libgit2/src/clone.h +4 -0
  178. data/vendor/libgit2/src/commit.c +70 -22
  179. data/vendor/libgit2/src/commit.h +6 -0
  180. data/vendor/libgit2/src/commit_list.c +28 -76
  181. data/vendor/libgit2/src/commit_list.h +2 -2
  182. data/vendor/libgit2/src/common.h +3 -75
  183. data/vendor/libgit2/src/config.c +31 -40
  184. data/vendor/libgit2/src/config.h +7 -6
  185. data/vendor/libgit2/src/config_backend.h +12 -0
  186. data/vendor/libgit2/src/config_cache.c +39 -39
  187. data/vendor/libgit2/src/config_entries.c +69 -99
  188. data/vendor/libgit2/src/config_entries.h +1 -0
  189. data/vendor/libgit2/src/config_file.c +346 -380
  190. data/vendor/libgit2/src/config_mem.c +12 -16
  191. data/vendor/libgit2/src/config_parse.c +49 -29
  192. data/vendor/libgit2/src/config_parse.h +13 -12
  193. data/vendor/libgit2/src/config_snapshot.c +206 -0
  194. data/vendor/libgit2/src/crlf.c +14 -14
  195. data/vendor/libgit2/src/describe.c +21 -20
  196. data/vendor/libgit2/src/diff.c +43 -58
  197. data/vendor/libgit2/src/diff.h +4 -3
  198. data/vendor/libgit2/src/diff_driver.c +37 -38
  199. data/vendor/libgit2/src/diff_file.c +12 -10
  200. data/vendor/libgit2/src/diff_file.h +2 -2
  201. data/vendor/libgit2/src/diff_generate.c +148 -98
  202. data/vendor/libgit2/src/diff_generate.h +2 -2
  203. data/vendor/libgit2/src/diff_parse.c +1 -1
  204. data/vendor/libgit2/src/diff_print.c +25 -13
  205. data/vendor/libgit2/src/diff_stats.c +1 -1
  206. data/vendor/libgit2/src/diff_tform.c +11 -11
  207. data/vendor/libgit2/src/errors.c +21 -25
  208. data/vendor/libgit2/src/errors.h +81 -0
  209. data/vendor/libgit2/src/features.h.in +9 -2
  210. data/vendor/libgit2/src/fetch.c +7 -2
  211. data/vendor/libgit2/src/fetchhead.c +36 -4
  212. data/vendor/libgit2/src/filebuf.c +6 -10
  213. data/vendor/libgit2/src/filebuf.h +2 -2
  214. data/vendor/libgit2/src/filter.c +16 -8
  215. data/vendor/libgit2/src/{fileops.c → futils.c} +21 -17
  216. data/vendor/libgit2/src/{fileops.h → futils.h} +5 -5
  217. data/vendor/libgit2/src/global.c +12 -40
  218. data/vendor/libgit2/src/global.h +0 -2
  219. data/vendor/libgit2/src/hash.c +61 -0
  220. data/vendor/libgit2/src/hash.h +19 -21
  221. data/vendor/libgit2/src/hash/sha1.h +38 -0
  222. data/vendor/libgit2/src/hash/{hash_collisiondetect.h → sha1/collisiondetect.c} +14 -17
  223. data/vendor/libgit2/src/{sha1_lookup.h → hash/sha1/collisiondetect.h} +8 -8
  224. data/vendor/libgit2/src/hash/{hash_common_crypto.h → sha1/common_crypto.c} +15 -19
  225. data/vendor/libgit2/src/hash/sha1/common_crypto.h +19 -0
  226. data/vendor/libgit2/src/hash/{hash_generic.c → sha1/generic.c} +22 -10
  227. data/vendor/libgit2/src/hash/{hash_generic.h → sha1/generic.h} +4 -14
  228. data/vendor/libgit2/src/hash/{hash_mbedtls.c → sha1/mbedtls.c} +15 -7
  229. data/vendor/libgit2/src/hash/{hash_mbedtls.h → sha1/mbedtls.h} +6 -11
  230. data/vendor/libgit2/src/hash/{hash_openssl.h → sha1/openssl.c} +14 -18
  231. data/vendor/libgit2/src/hash/sha1/openssl.h +19 -0
  232. data/vendor/libgit2/src/hash/{sha1dc → sha1/sha1dc}/sha1.c +14 -3
  233. data/vendor/libgit2/src/hash/{sha1dc → sha1/sha1dc}/sha1.h +0 -0
  234. data/vendor/libgit2/src/hash/{sha1dc → sha1/sha1dc}/ubc_check.c +0 -0
  235. data/vendor/libgit2/src/hash/{sha1dc → sha1/sha1dc}/ubc_check.h +0 -0
  236. data/vendor/libgit2/src/hash/{hash_win32.c → sha1/win32.c} +34 -24
  237. data/vendor/libgit2/src/hash/{hash_win32.h → sha1/win32.h} +6 -19
  238. data/vendor/libgit2/src/hashsig.c +1 -1
  239. data/vendor/libgit2/src/idxmap.c +91 -65
  240. data/vendor/libgit2/src/idxmap.h +151 -15
  241. data/vendor/libgit2/src/ignore.c +32 -38
  242. data/vendor/libgit2/src/index.c +105 -83
  243. data/vendor/libgit2/src/index.h +1 -1
  244. data/vendor/libgit2/src/indexer.c +71 -72
  245. data/vendor/libgit2/src/integer.h +39 -4
  246. data/vendor/libgit2/src/iterator.c +40 -35
  247. data/vendor/libgit2/src/iterator.h +8 -8
  248. data/vendor/libgit2/src/map.h +1 -1
  249. data/vendor/libgit2/src/merge.c +78 -51
  250. data/vendor/libgit2/src/merge.h +2 -2
  251. data/vendor/libgit2/src/merge_driver.c +5 -5
  252. data/vendor/libgit2/src/merge_file.c +1 -1
  253. data/vendor/libgit2/src/mwindow.c +18 -23
  254. data/vendor/libgit2/src/mwindow.h +4 -4
  255. data/vendor/libgit2/src/net.c +411 -0
  256. data/vendor/libgit2/src/net.h +57 -0
  257. data/vendor/libgit2/src/netops.c +6 -193
  258. data/vendor/libgit2/src/netops.h +1 -34
  259. data/vendor/libgit2/src/notes.c +8 -5
  260. data/vendor/libgit2/src/object.c +3 -3
  261. data/vendor/libgit2/src/object.h +2 -0
  262. data/vendor/libgit2/src/odb.c +41 -23
  263. data/vendor/libgit2/src/odb.h +3 -2
  264. data/vendor/libgit2/src/odb_loose.c +17 -10
  265. data/vendor/libgit2/src/odb_mempack.c +13 -24
  266. data/vendor/libgit2/src/odb_pack.c +4 -5
  267. data/vendor/libgit2/src/offmap.c +43 -55
  268. data/vendor/libgit2/src/offmap.h +102 -24
  269. data/vendor/libgit2/src/oid.c +19 -8
  270. data/vendor/libgit2/src/oidmap.c +39 -57
  271. data/vendor/libgit2/src/oidmap.h +99 -19
  272. data/vendor/libgit2/src/pack-objects.c +28 -33
  273. data/vendor/libgit2/src/pack-objects.h +1 -1
  274. data/vendor/libgit2/src/pack.c +117 -129
  275. data/vendor/libgit2/src/pack.h +15 -18
  276. data/vendor/libgit2/src/parse.c +10 -0
  277. data/vendor/libgit2/src/parse.h +3 -3
  278. data/vendor/libgit2/src/patch.c +1 -1
  279. data/vendor/libgit2/src/patch_generate.c +2 -2
  280. data/vendor/libgit2/src/patch_parse.c +130 -33
  281. data/vendor/libgit2/src/path.c +43 -6
  282. data/vendor/libgit2/src/path.h +2 -0
  283. data/vendor/libgit2/src/pathspec.c +14 -14
  284. data/vendor/libgit2/src/pool.c +26 -22
  285. data/vendor/libgit2/src/pool.h +7 -7
  286. data/vendor/libgit2/src/posix.c +7 -7
  287. data/vendor/libgit2/src/posix.h +12 -1
  288. data/vendor/libgit2/src/proxy.c +7 -2
  289. data/vendor/libgit2/src/push.c +13 -7
  290. data/vendor/libgit2/src/reader.c +2 -2
  291. data/vendor/libgit2/src/rebase.c +87 -28
  292. data/vendor/libgit2/src/refdb.c +12 -0
  293. data/vendor/libgit2/src/refdb_fs.c +219 -167
  294. data/vendor/libgit2/src/reflog.c +11 -13
  295. data/vendor/libgit2/src/refs.c +39 -23
  296. data/vendor/libgit2/src/refs.h +8 -1
  297. data/vendor/libgit2/src/refspec.c +9 -16
  298. data/vendor/libgit2/src/regexp.c +221 -0
  299. data/vendor/libgit2/src/regexp.h +97 -0
  300. data/vendor/libgit2/src/remote.c +57 -55
  301. data/vendor/libgit2/src/remote.h +2 -2
  302. data/vendor/libgit2/src/repository.c +187 -154
  303. data/vendor/libgit2/src/repository.h +49 -40
  304. data/vendor/libgit2/src/revert.c +8 -3
  305. data/vendor/libgit2/src/revparse.c +18 -19
  306. data/vendor/libgit2/src/revwalk.c +72 -34
  307. data/vendor/libgit2/src/revwalk.h +20 -0
  308. data/vendor/libgit2/src/settings.c +13 -1
  309. data/vendor/libgit2/src/sortedcache.c +12 -26
  310. data/vendor/libgit2/src/sortedcache.h +1 -1
  311. data/vendor/libgit2/src/stash.c +47 -67
  312. data/vendor/libgit2/src/status.c +17 -11
  313. data/vendor/libgit2/src/streams/openssl.c +54 -2
  314. data/vendor/libgit2/src/streams/socket.c +2 -2
  315. data/vendor/libgit2/src/strmap.c +37 -84
  316. data/vendor/libgit2/src/strmap.h +105 -33
  317. data/vendor/libgit2/src/submodule.c +151 -126
  318. data/vendor/libgit2/src/submodule.h +1 -1
  319. data/vendor/libgit2/src/sysdir.c +11 -1
  320. data/vendor/libgit2/src/tag.c +10 -2
  321. data/vendor/libgit2/src/trace.c +1 -1
  322. data/vendor/libgit2/src/trace.h +3 -3
  323. data/vendor/libgit2/src/trailer.c +46 -32
  324. data/vendor/libgit2/src/transaction.c +10 -9
  325. data/vendor/libgit2/src/transports/auth.c +16 -15
  326. data/vendor/libgit2/src/transports/auth.h +18 -11
  327. data/vendor/libgit2/src/transports/auth_negotiate.c +64 -33
  328. data/vendor/libgit2/src/transports/auth_negotiate.h +2 -2
  329. data/vendor/libgit2/src/transports/auth_ntlm.c +223 -0
  330. data/vendor/libgit2/src/transports/auth_ntlm.h +38 -0
  331. data/vendor/libgit2/src/transports/credential.c +476 -0
  332. data/vendor/libgit2/src/transports/{cred_helpers.c → credential_helpers.c} +21 -8
  333. data/vendor/libgit2/src/transports/git.c +11 -16
  334. data/vendor/libgit2/src/transports/http.c +488 -1248
  335. data/vendor/libgit2/src/transports/http.h +4 -1
  336. data/vendor/libgit2/src/transports/httpclient.c +1549 -0
  337. data/vendor/libgit2/src/transports/httpclient.h +190 -0
  338. data/vendor/libgit2/src/transports/local.c +10 -10
  339. data/vendor/libgit2/src/transports/smart.c +19 -19
  340. data/vendor/libgit2/src/transports/smart.h +3 -3
  341. data/vendor/libgit2/src/transports/smart_pkt.c +1 -1
  342. data/vendor/libgit2/src/transports/smart_protocol.c +40 -64
  343. data/vendor/libgit2/src/transports/ssh.c +77 -59
  344. data/vendor/libgit2/src/transports/winhttp.c +272 -242
  345. data/vendor/libgit2/src/tree-cache.c +14 -7
  346. data/vendor/libgit2/src/tree.c +16 -26
  347. data/vendor/libgit2/src/unix/map.c +1 -1
  348. data/vendor/libgit2/src/unix/posix.h +2 -12
  349. data/vendor/libgit2/src/userdiff.h +3 -1
  350. data/vendor/libgit2/src/util.c +51 -53
  351. data/vendor/libgit2/src/util.h +16 -21
  352. data/vendor/libgit2/src/wildmatch.c +320 -0
  353. data/vendor/libgit2/src/wildmatch.h +23 -0
  354. data/vendor/libgit2/src/win32/map.c +3 -5
  355. data/vendor/libgit2/src/win32/path_w32.c +40 -3
  356. data/vendor/libgit2/src/win32/path_w32.h +15 -29
  357. data/vendor/libgit2/src/win32/posix.h +1 -4
  358. data/vendor/libgit2/src/win32/posix_w32.c +47 -5
  359. data/vendor/libgit2/src/win32/precompiled.h +0 -2
  360. data/vendor/libgit2/src/win32/thread.c +5 -10
  361. data/vendor/libgit2/src/win32/w32_buffer.c +7 -3
  362. data/vendor/libgit2/src/win32/w32_common.h +39 -0
  363. data/vendor/libgit2/src/win32/w32_crtdbg_stacktrace.c +0 -93
  364. data/vendor/libgit2/src/win32/w32_crtdbg_stacktrace.h +0 -2
  365. data/vendor/libgit2/src/win32/w32_stack.c +4 -9
  366. data/vendor/libgit2/src/win32/w32_stack.h +3 -3
  367. data/vendor/libgit2/src/win32/w32_util.c +31 -0
  368. data/vendor/libgit2/src/win32/w32_util.h +6 -32
  369. data/vendor/libgit2/src/worktree.c +79 -49
  370. data/vendor/libgit2/src/xdiff/xdiffi.c +1 -1
  371. data/vendor/libgit2/src/xdiff/xmerge.c +12 -0
  372. data/vendor/libgit2/src/xdiff/xpatience.c +3 -0
  373. data/vendor/libgit2/src/zstream.c +5 -0
  374. data/vendor/libgit2/src/zstream.h +1 -0
  375. metadata +108 -41
  376. data/vendor/libgit2/deps/regex/CMakeLists.txt +0 -2
  377. data/vendor/libgit2/deps/regex/COPYING +0 -502
  378. data/vendor/libgit2/deps/regex/config.h +0 -7
  379. data/vendor/libgit2/deps/regex/regcomp.c +0 -3857
  380. data/vendor/libgit2/deps/regex/regex.c +0 -92
  381. data/vendor/libgit2/deps/regex/regex.h +0 -582
  382. data/vendor/libgit2/deps/regex/regex_internal.c +0 -1744
  383. data/vendor/libgit2/deps/regex/regex_internal.h +0 -819
  384. data/vendor/libgit2/deps/regex/regexec.c +0 -4369
  385. data/vendor/libgit2/include/git2/inttypes.h +0 -309
  386. data/vendor/libgit2/include/git2/sys/time.h +0 -31
  387. data/vendor/libgit2/libgit2.pc.in +0 -13
  388. data/vendor/libgit2/src/fnmatch.c +0 -248
  389. data/vendor/libgit2/src/fnmatch.h +0 -48
  390. data/vendor/libgit2/src/sha1_lookup.c +0 -35
  391. data/vendor/libgit2/src/transports/cred.c +0 -390
@@ -34,7 +34,7 @@ int git_worktree_list(git_strarray *wts, git_repository *repo)
34
34
  git_vector worktrees = GIT_VECTOR_INIT;
35
35
  git_buf path = GIT_BUF_INIT;
36
36
  char *worktree;
37
- unsigned i, len;
37
+ size_t i, len;
38
38
  int error;
39
39
 
40
40
  assert(wts && repo);
@@ -136,11 +136,11 @@ static int open_worktree_dir(git_worktree **out, const char *parent, const char
136
136
  goto out;
137
137
  }
138
138
 
139
- if ((wt->name = git__strdup(name)) == NULL
140
- || (wt->commondir_path = git_worktree__read_link(dir, "commondir")) == NULL
141
- || (wt->gitlink_path = git_worktree__read_link(dir, "gitdir")) == NULL
142
- || (parent && (wt->parent_path = git__strdup(parent)) == NULL)
143
- || (wt->worktree_path = git_path_dirname(wt->gitlink_path)) == NULL) {
139
+ if ((wt->name = git__strdup(name)) == NULL ||
140
+ (wt->commondir_path = git_worktree__read_link(dir, "commondir")) == NULL ||
141
+ (wt->gitlink_path = git_worktree__read_link(dir, "gitdir")) == NULL ||
142
+ (parent && (wt->parent_path = git__strdup(parent)) == NULL) ||
143
+ (wt->worktree_path = git_path_dirname(wt->gitlink_path)) == NULL) {
144
144
  error = -1;
145
145
  goto out;
146
146
  }
@@ -149,7 +149,10 @@ static int open_worktree_dir(git_worktree **out, const char *parent, const char
149
149
  goto out;
150
150
  wt->gitdir_path = git_buf_detach(&gitdir);
151
151
 
152
- wt->locked = !!git_worktree_is_locked(NULL, wt);
152
+ if ((error = git_worktree_is_locked(NULL, wt)) < 0)
153
+ goto out;
154
+ wt->locked = !!error;
155
+ error = 0;
153
156
 
154
157
  *out = wt;
155
158
 
@@ -238,21 +241,21 @@ int git_worktree_validate(const git_worktree *wt)
238
241
 
239
242
  if (!is_worktree_dir(wt->gitdir_path)) {
240
243
  git_error_set(GIT_ERROR_WORKTREE,
241
- "Worktree gitdir ('%s') is not valid",
244
+ "worktree gitdir ('%s') is not valid",
242
245
  wt->gitlink_path);
243
246
  return GIT_ERROR;
244
247
  }
245
248
 
246
249
  if (wt->parent_path && !git_path_exists(wt->parent_path)) {
247
250
  git_error_set(GIT_ERROR_WORKTREE,
248
- "Worktree parent directory ('%s') does not exist ",
251
+ "worktree parent directory ('%s') does not exist ",
249
252
  wt->parent_path);
250
253
  return GIT_ERROR;
251
254
  }
252
255
 
253
256
  if (!git_path_exists(wt->commondir_path)) {
254
257
  git_error_set(GIT_ERROR_WORKTREE,
255
- "Worktree common directory ('%s') does not exist ",
258
+ "worktree common directory ('%s') does not exist ",
256
259
  wt->commondir_path);
257
260
  return GIT_ERROR;
258
261
  }
@@ -260,7 +263,7 @@ int git_worktree_validate(const git_worktree *wt)
260
263
  return 0;
261
264
  }
262
265
 
263
- int git_worktree_add_init_options(git_worktree_add_options *opts,
266
+ int git_worktree_add_options_init(git_worktree_add_options *opts,
264
267
  unsigned int version)
265
268
  {
266
269
  GIT_INIT_STRUCTURE_FROM_TEMPLATE(opts, version,
@@ -268,6 +271,12 @@ int git_worktree_add_init_options(git_worktree_add_options *opts,
268
271
  return 0;
269
272
  }
270
273
 
274
+ int git_worktree_add_init_options(git_worktree_add_options *opts,
275
+ unsigned int version)
276
+ {
277
+ return git_worktree_add_options_init(opts, version);
278
+ }
279
+
271
280
  int git_worktree_add(git_worktree **out, git_repository *repo,
272
281
  const char *name, const char *worktree,
273
282
  const git_worktree_add_options *opts)
@@ -290,6 +299,20 @@ int git_worktree_add(git_worktree **out, git_repository *repo,
290
299
 
291
300
  *out = NULL;
292
301
 
302
+ if (wtopts.ref) {
303
+ if (!git_reference_is_branch(wtopts.ref)) {
304
+ git_error_set(GIT_ERROR_WORKTREE, "reference is not a branch");
305
+ err = -1;
306
+ goto out;
307
+ }
308
+
309
+ if (git_branch_is_checked_out(wtopts.ref)) {
310
+ git_error_set(GIT_ERROR_WORKTREE, "reference is already checked out");
311
+ err = -1;
312
+ goto out;
313
+ }
314
+ }
315
+
293
316
  /* Create gitdir directory ".git/worktrees/<name>" */
294
317
  if ((err = git_buf_joinpath(&gitdir, repo->commondir, "worktrees")) < 0)
295
318
  goto out;
@@ -342,18 +365,6 @@ int git_worktree_add(git_worktree **out, git_repository *repo,
342
365
 
343
366
  /* Set up worktree reference */
344
367
  if (wtopts.ref) {
345
- if (!git_reference_is_branch(wtopts.ref)) {
346
- git_error_set(GIT_ERROR_WORKTREE, "reference is not a branch");
347
- err = -1;
348
- goto out;
349
- }
350
-
351
- if (git_branch_is_checked_out(wtopts.ref)) {
352
- git_error_set(GIT_ERROR_WORKTREE, "reference is already checked out");
353
- err = -1;
354
- goto out;
355
- }
356
-
357
368
  if ((err = git_reference_dup(&ref, wtopts.ref)) < 0)
358
369
  goto out;
359
370
  } else {
@@ -395,20 +406,24 @@ out:
395
406
  int git_worktree_lock(git_worktree *wt, const char *reason)
396
407
  {
397
408
  git_buf buf = GIT_BUF_INIT, path = GIT_BUF_INIT;
398
- int err;
409
+ int error;
399
410
 
400
411
  assert(wt);
401
412
 
402
- if ((err = git_worktree_is_locked(NULL, wt)) < 0)
413
+ if ((error = git_worktree_is_locked(NULL, wt)) < 0)
414
+ goto out;
415
+ if (error) {
416
+ error = GIT_ELOCKED;
403
417
  goto out;
418
+ }
404
419
 
405
- if ((err = git_buf_joinpath(&path, wt->gitdir_path, "locked")) < 0)
420
+ if ((error = git_buf_joinpath(&path, wt->gitdir_path, "locked")) < 0)
406
421
  goto out;
407
422
 
408
423
  if (reason)
409
424
  git_buf_attach_notowned(&buf, reason, strlen(reason));
410
425
 
411
- if ((err = git_futils_writebuffer(&buf, path.ptr, O_CREAT|O_EXCL|O_WRONLY, 0644)) < 0)
426
+ if ((error = git_futils_writebuffer(&buf, path.ptr, O_CREAT|O_EXCL|O_WRONLY, 0644)) < 0)
412
427
  goto out;
413
428
 
414
429
  wt->locked = 1;
@@ -416,16 +431,19 @@ int git_worktree_lock(git_worktree *wt, const char *reason)
416
431
  out:
417
432
  git_buf_dispose(&path);
418
433
 
419
- return err;
434
+ return error;
420
435
  }
421
436
 
422
437
  int git_worktree_unlock(git_worktree *wt)
423
438
  {
424
439
  git_buf path = GIT_BUF_INIT;
440
+ int error;
425
441
 
426
442
  assert(wt);
427
443
 
428
- if (!git_worktree_is_locked(NULL, wt))
444
+ if ((error = git_worktree_is_locked(NULL, wt)) < 0)
445
+ return error;
446
+ if (!error)
429
447
  return 1;
430
448
 
431
449
  if (git_buf_joinpath(&path, wt->gitdir_path, "locked") < 0)
@@ -446,22 +464,25 @@ int git_worktree_unlock(git_worktree *wt)
446
464
  int git_worktree_is_locked(git_buf *reason, const git_worktree *wt)
447
465
  {
448
466
  git_buf path = GIT_BUF_INIT;
449
- int ret;
467
+ int error, locked;
450
468
 
451
469
  assert(wt);
452
470
 
453
471
  if (reason)
454
472
  git_buf_clear(reason);
455
473
 
456
- if ((ret = git_buf_joinpath(&path, wt->gitdir_path, "locked")) < 0)
474
+ if ((error = git_buf_joinpath(&path, wt->gitdir_path, "locked")) < 0)
475
+ goto out;
476
+ locked = git_path_exists(path.ptr);
477
+ if (locked && reason &&
478
+ (error = git_futils_readbuffer(reason, path.ptr)) < 0)
457
479
  goto out;
458
- if ((ret = git_path_exists(path.ptr)) && reason)
459
- git_futils_readbuffer(reason, path.ptr);
460
480
 
481
+ error = locked;
461
482
  out:
462
483
  git_buf_dispose(&path);
463
484
 
464
- return ret;
485
+ return error;
465
486
  }
466
487
 
467
488
  const char *git_worktree_name(const git_worktree *wt)
@@ -476,7 +497,7 @@ const char *git_worktree_path(const git_worktree *wt)
476
497
  return wt->worktree_path;
477
498
  }
478
499
 
479
- int git_worktree_prune_init_options(
500
+ int git_worktree_prune_options_init(
480
501
  git_worktree_prune_options *opts,
481
502
  unsigned int version)
482
503
  {
@@ -485,10 +506,15 @@ int git_worktree_prune_init_options(
485
506
  return 0;
486
507
  }
487
508
 
509
+ int git_worktree_prune_init_options(git_worktree_prune_options *opts,
510
+ unsigned int version)
511
+ {
512
+ return git_worktree_prune_options_init(opts, version);
513
+ }
514
+
488
515
  int git_worktree_is_prunable(git_worktree *wt,
489
516
  git_worktree_prune_options *opts)
490
517
  {
491
- git_buf reason = GIT_BUF_INIT;
492
518
  git_worktree_prune_options popts = GIT_WORKTREE_PRUNE_OPTIONS_INIT;
493
519
 
494
520
  GIT_ERROR_CHECK_VERSION(
@@ -498,21 +524,25 @@ int git_worktree_is_prunable(git_worktree *wt,
498
524
  if (opts)
499
525
  memcpy(&popts, opts, sizeof(popts));
500
526
 
501
- if ((popts.flags & GIT_WORKTREE_PRUNE_LOCKED) == 0 &&
502
- git_worktree_is_locked(&reason, wt))
503
- {
504
- if (!reason.size)
505
- git_buf_attach_notowned(&reason, "no reason given", 15);
506
- git_error_set(GIT_ERROR_WORKTREE, "Not pruning locked working tree: '%s'", reason.ptr);
507
- git_buf_dispose(&reason);
527
+ if ((popts.flags & GIT_WORKTREE_PRUNE_LOCKED) == 0) {
528
+ git_buf reason = GIT_BUF_INIT;
529
+ int error;
508
530
 
509
- return 0;
531
+ if ((error = git_worktree_is_locked(&reason, wt)) < 0)
532
+ return error;
533
+
534
+ if (error) {
535
+ if (!reason.size)
536
+ git_buf_attach_notowned(&reason, "no reason given", 15);
537
+ git_error_set(GIT_ERROR_WORKTREE, "not pruning locked working tree: '%s'", reason.ptr);
538
+ git_buf_dispose(&reason);
539
+ return 0;
540
+ }
510
541
  }
511
542
 
512
543
  if ((popts.flags & GIT_WORKTREE_PRUNE_VALID) == 0 &&
513
- git_worktree_validate(wt) == 0)
514
- {
515
- git_error_set(GIT_ERROR_WORKTREE, "Not pruning valid working tree");
544
+ git_worktree_validate(wt) == 0) {
545
+ git_error_set(GIT_ERROR_WORKTREE, "not pruning valid working tree");
516
546
  return 0;
517
547
  }
518
548
 
@@ -544,7 +574,7 @@ int git_worktree_prune(git_worktree *wt,
544
574
  goto out;
545
575
  if (!git_path_exists(path.ptr))
546
576
  {
547
- git_error_set(GIT_ERROR_WORKTREE, "Worktree gitdir '%s' does not exist", path.ptr);
577
+ git_error_set(GIT_ERROR_WORKTREE, "worktree gitdir '%s' does not exist", path.ptr);
548
578
  err = -1;
549
579
  goto out;
550
580
  }
@@ -564,7 +594,7 @@ int git_worktree_prune(git_worktree *wt,
564
594
  git_buf_attach(&path, wtpath, 0);
565
595
  if (!git_path_exists(path.ptr))
566
596
  {
567
- git_error_set(GIT_ERROR_WORKTREE, "Working tree '%s' does not exist", path.ptr);
597
+ git_error_set(GIT_ERROR_WORKTREE, "working tree '%s' does not exist", path.ptr);
568
598
  err = -1;
569
599
  goto out;
570
600
  }
@@ -36,7 +36,7 @@
36
36
  #elif defined(__GNUC__)
37
37
  # define XDL_INLINE(type) static __inline__ type
38
38
  #else
39
- #define XDG_INLINE(type) static type
39
+ # define XDL_INLINE(type) static type
40
40
  #endif
41
41
 
42
42
  typedef struct s_xdpsplit {
@@ -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: 0.28.4.1
4
+ version: 1.0.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: 2019-12-11 00:00:00.000000000 Z
12
+ date: 2020-06-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake-compiler
@@ -129,26 +129,77 @@ files:
129
129
  - vendor/libgit2/cmake/Modules/EnableWarnings.cmake
130
130
  - vendor/libgit2/cmake/Modules/FindCoreFoundation.cmake
131
131
  - vendor/libgit2/cmake/Modules/FindGSSAPI.cmake
132
+ - vendor/libgit2/cmake/Modules/FindGSSFramework.cmake
132
133
  - vendor/libgit2/cmake/Modules/FindHTTP_Parser.cmake
133
134
  - vendor/libgit2/cmake/Modules/FindIconv.cmake
135
+ - vendor/libgit2/cmake/Modules/FindPCRE.cmake
136
+ - vendor/libgit2/cmake/Modules/FindPCRE2.cmake
134
137
  - vendor/libgit2/cmake/Modules/FindPkgLibraries.cmake
135
138
  - vendor/libgit2/cmake/Modules/FindSecurity.cmake
136
139
  - vendor/libgit2/cmake/Modules/FindStatNsec.cmake
137
140
  - vendor/libgit2/cmake/Modules/FindmbedTLS.cmake
138
141
  - vendor/libgit2/cmake/Modules/IdeSplitSources.cmake
142
+ - vendor/libgit2/cmake/Modules/PkgBuildConfig.cmake
143
+ - vendor/libgit2/cmake/Modules/SanitizeBool.cmake
144
+ - vendor/libgit2/cmake/Modules/SelectGSSAPI.cmake
145
+ - vendor/libgit2/cmake/Modules/SelectHTTPSBackend.cmake
146
+ - vendor/libgit2/cmake/Modules/SelectHashes.cmake
139
147
  - vendor/libgit2/deps/http-parser/CMakeLists.txt
140
148
  - vendor/libgit2/deps/http-parser/COPYING
141
149
  - vendor/libgit2/deps/http-parser/http_parser.c
142
150
  - vendor/libgit2/deps/http-parser/http_parser.h
143
- - vendor/libgit2/deps/regex/CMakeLists.txt
144
- - vendor/libgit2/deps/regex/COPYING
145
- - vendor/libgit2/deps/regex/config.h
146
- - vendor/libgit2/deps/regex/regcomp.c
147
- - vendor/libgit2/deps/regex/regex.c
148
- - vendor/libgit2/deps/regex/regex.h
149
- - vendor/libgit2/deps/regex/regex_internal.c
150
- - vendor/libgit2/deps/regex/regex_internal.h
151
- - vendor/libgit2/deps/regex/regexec.c
151
+ - vendor/libgit2/deps/ntlmclient/CMakeLists.txt
152
+ - vendor/libgit2/deps/ntlmclient/compat.h
153
+ - vendor/libgit2/deps/ntlmclient/crypt.h
154
+ - vendor/libgit2/deps/ntlmclient/crypt_commoncrypto.c
155
+ - vendor/libgit2/deps/ntlmclient/crypt_commoncrypto.h
156
+ - vendor/libgit2/deps/ntlmclient/crypt_mbedtls.c
157
+ - vendor/libgit2/deps/ntlmclient/crypt_mbedtls.h
158
+ - vendor/libgit2/deps/ntlmclient/crypt_openssl.c
159
+ - vendor/libgit2/deps/ntlmclient/crypt_openssl.h
160
+ - vendor/libgit2/deps/ntlmclient/ntlm.c
161
+ - vendor/libgit2/deps/ntlmclient/ntlm.h
162
+ - vendor/libgit2/deps/ntlmclient/ntlmclient.h
163
+ - vendor/libgit2/deps/ntlmclient/unicode.h
164
+ - vendor/libgit2/deps/ntlmclient/unicode_builtin.c
165
+ - vendor/libgit2/deps/ntlmclient/unicode_iconv.c
166
+ - vendor/libgit2/deps/ntlmclient/utf8.h
167
+ - vendor/libgit2/deps/ntlmclient/util.c
168
+ - vendor/libgit2/deps/ntlmclient/util.h
169
+ - vendor/libgit2/deps/pcre/CMakeLists.txt
170
+ - vendor/libgit2/deps/pcre/COPYING
171
+ - vendor/libgit2/deps/pcre/cmake/COPYING-CMAKE-SCRIPTS
172
+ - vendor/libgit2/deps/pcre/cmake/FindEditline.cmake
173
+ - vendor/libgit2/deps/pcre/cmake/FindPackageHandleStandardArgs.cmake
174
+ - vendor/libgit2/deps/pcre/cmake/FindReadline.cmake
175
+ - vendor/libgit2/deps/pcre/config.h.in
176
+ - vendor/libgit2/deps/pcre/pcre.h
177
+ - vendor/libgit2/deps/pcre/pcre_byte_order.c
178
+ - vendor/libgit2/deps/pcre/pcre_chartables.c
179
+ - vendor/libgit2/deps/pcre/pcre_compile.c
180
+ - vendor/libgit2/deps/pcre/pcre_config.c
181
+ - vendor/libgit2/deps/pcre/pcre_dfa_exec.c
182
+ - vendor/libgit2/deps/pcre/pcre_exec.c
183
+ - vendor/libgit2/deps/pcre/pcre_fullinfo.c
184
+ - vendor/libgit2/deps/pcre/pcre_get.c
185
+ - vendor/libgit2/deps/pcre/pcre_globals.c
186
+ - vendor/libgit2/deps/pcre/pcre_internal.h
187
+ - vendor/libgit2/deps/pcre/pcre_jit_compile.c
188
+ - vendor/libgit2/deps/pcre/pcre_maketables.c
189
+ - vendor/libgit2/deps/pcre/pcre_newline.c
190
+ - vendor/libgit2/deps/pcre/pcre_ord2utf8.c
191
+ - vendor/libgit2/deps/pcre/pcre_printint.c
192
+ - vendor/libgit2/deps/pcre/pcre_refcount.c
193
+ - vendor/libgit2/deps/pcre/pcre_string_utils.c
194
+ - vendor/libgit2/deps/pcre/pcre_study.c
195
+ - vendor/libgit2/deps/pcre/pcre_tables.c
196
+ - vendor/libgit2/deps/pcre/pcre_ucd.c
197
+ - vendor/libgit2/deps/pcre/pcre_valid_utf8.c
198
+ - vendor/libgit2/deps/pcre/pcre_version.c
199
+ - vendor/libgit2/deps/pcre/pcre_xclass.c
200
+ - vendor/libgit2/deps/pcre/pcreposix.c
201
+ - vendor/libgit2/deps/pcre/pcreposix.h
202
+ - vendor/libgit2/deps/pcre/ucp.h
152
203
  - vendor/libgit2/deps/winhttp/CMakeLists.txt
153
204
  - vendor/libgit2/deps/winhttp/COPYING.GPL
154
205
  - vendor/libgit2/deps/winhttp/COPYING.LGPL
@@ -186,6 +237,7 @@ files:
186
237
  - vendor/libgit2/include/git2/blob.h
187
238
  - vendor/libgit2/include/git2/branch.h
188
239
  - vendor/libgit2/include/git2/buffer.h
240
+ - vendor/libgit2/include/git2/cert.h
189
241
  - vendor/libgit2/include/git2/checkout.h
190
242
  - vendor/libgit2/include/git2/cherrypick.h
191
243
  - vendor/libgit2/include/git2/clone.h
@@ -193,6 +245,8 @@ files:
193
245
  - vendor/libgit2/include/git2/common.h
194
246
  - vendor/libgit2/include/git2/config.h
195
247
  - vendor/libgit2/include/git2/cred_helpers.h
248
+ - vendor/libgit2/include/git2/credential.h
249
+ - vendor/libgit2/include/git2/credential_helpers.h
196
250
  - vendor/libgit2/include/git2/deprecated.h
197
251
  - vendor/libgit2/include/git2/describe.h
198
252
  - vendor/libgit2/include/git2/diff.h
@@ -203,7 +257,6 @@ files:
203
257
  - vendor/libgit2/include/git2/ignore.h
204
258
  - vendor/libgit2/include/git2/index.h
205
259
  - vendor/libgit2/include/git2/indexer.h
206
- - vendor/libgit2/include/git2/inttypes.h
207
260
  - vendor/libgit2/include/git2/mailmap.h
208
261
  - vendor/libgit2/include/git2/merge.h
209
262
  - vendor/libgit2/include/git2/message.h
@@ -238,6 +291,8 @@ files:
238
291
  - vendor/libgit2/include/git2/sys/alloc.h
239
292
  - vendor/libgit2/include/git2/sys/commit.h
240
293
  - vendor/libgit2/include/git2/sys/config.h
294
+ - vendor/libgit2/include/git2/sys/cred.h
295
+ - vendor/libgit2/include/git2/sys/credential.h
241
296
  - vendor/libgit2/include/git2/sys/diff.h
242
297
  - vendor/libgit2/include/git2/sys/filter.h
243
298
  - vendor/libgit2/include/git2/sys/hashsig.h
@@ -252,7 +307,6 @@ files:
252
307
  - vendor/libgit2/include/git2/sys/refs.h
253
308
  - vendor/libgit2/include/git2/sys/repository.h
254
309
  - vendor/libgit2/include/git2/sys/stream.h
255
- - vendor/libgit2/include/git2/sys/time.h
256
310
  - vendor/libgit2/include/git2/sys/transport.h
257
311
  - vendor/libgit2/include/git2/tag.h
258
312
  - vendor/libgit2/include/git2/trace.h
@@ -262,10 +316,13 @@ files:
262
316
  - vendor/libgit2/include/git2/types.h
263
317
  - vendor/libgit2/include/git2/version.h
264
318
  - vendor/libgit2/include/git2/worktree.h
265
- - vendor/libgit2/libgit2.pc.in
266
319
  - vendor/libgit2/src/CMakeLists.txt
267
320
  - vendor/libgit2/src/alloc.c
268
321
  - vendor/libgit2/src/alloc.h
322
+ - vendor/libgit2/src/allocators/stdalloc.c
323
+ - vendor/libgit2/src/allocators/stdalloc.h
324
+ - vendor/libgit2/src/allocators/win32_crtdbg.c
325
+ - vendor/libgit2/src/allocators/win32_crtdbg.h
269
326
  - vendor/libgit2/src/annotated_commit.c
270
327
  - vendor/libgit2/src/annotated_commit.h
271
328
  - vendor/libgit2/src/apply.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/fnmatch.c
350
- - vendor/libgit2/src/fnmatch.h
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/hash_collisiondetect.h
357
- - vendor/libgit2/src/hash/hash_common_crypto.h
358
- - vendor/libgit2/src/hash/hash_generic.c
359
- - vendor/libgit2/src/hash/hash_generic.h
360
- - vendor/libgit2/src/hash/hash_mbedtls.c
361
- - vendor/libgit2/src/hash/hash_mbedtls.h
362
- - vendor/libgit2/src/hash/hash_openssl.h
363
- - vendor/libgit2/src/hash/hash_win32.c
364
- - vendor/libgit2/src/hash/hash_win32.h
365
- - vendor/libgit2/src/hash/sha1dc/sha1.c
366
- - vendor/libgit2/src/hash/sha1dc/sha1.h
367
- - vendor/libgit2/src/hash/sha1dc/ubc_check.c
368
- - vendor/libgit2/src/hash/sha1dc/ubc_check.h
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
@@ -392,6 +453,8 @@ files:
392
453
  - vendor/libgit2/src/message.h
393
454
  - vendor/libgit2/src/mwindow.c
394
455
  - vendor/libgit2/src/mwindow.h
456
+ - vendor/libgit2/src/net.c
457
+ - vendor/libgit2/src/net.h
395
458
  - vendor/libgit2/src/netops.c
396
459
  - vendor/libgit2/src/netops.h
397
460
  - vendor/libgit2/src/notes.c
@@ -451,6 +514,8 @@ files:
451
514
  - vendor/libgit2/src/refs.h
452
515
  - vendor/libgit2/src/refspec.c
453
516
  - vendor/libgit2/src/refspec.h
517
+ - vendor/libgit2/src/regexp.c
518
+ - vendor/libgit2/src/regexp.h
454
519
  - vendor/libgit2/src/remote.c
455
520
  - vendor/libgit2/src/remote.h
456
521
  - vendor/libgit2/src/repo_template.h
@@ -462,8 +527,6 @@ files:
462
527
  - vendor/libgit2/src/revwalk.c
463
528
  - vendor/libgit2/src/revwalk.h
464
529
  - vendor/libgit2/src/settings.c
465
- - vendor/libgit2/src/sha1_lookup.c
466
- - vendor/libgit2/src/sha1_lookup.h
467
530
  - vendor/libgit2/src/signature.c
468
531
  - vendor/libgit2/src/signature.h
469
532
  - vendor/libgit2/src/sortedcache.c
@@ -471,8 +534,6 @@ files:
471
534
  - vendor/libgit2/src/stash.c
472
535
  - vendor/libgit2/src/status.c
473
536
  - vendor/libgit2/src/status.h
474
- - vendor/libgit2/src/stdalloc.c
475
- - vendor/libgit2/src/stdalloc.h
476
537
  - vendor/libgit2/src/stream.h
477
538
  - vendor/libgit2/src/streams/mbedtls.c
478
539
  - vendor/libgit2/src/streams/mbedtls.h
@@ -507,12 +568,15 @@ files:
507
568
  - vendor/libgit2/src/transports/auth.h
508
569
  - vendor/libgit2/src/transports/auth_negotiate.c
509
570
  - vendor/libgit2/src/transports/auth_negotiate.h
510
- - vendor/libgit2/src/transports/cred.c
511
- - vendor/libgit2/src/transports/cred.h
512
- - vendor/libgit2/src/transports/cred_helpers.c
571
+ - vendor/libgit2/src/transports/auth_ntlm.c
572
+ - vendor/libgit2/src/transports/auth_ntlm.h
573
+ - vendor/libgit2/src/transports/credential.c
574
+ - vendor/libgit2/src/transports/credential_helpers.c
513
575
  - vendor/libgit2/src/transports/git.c
514
576
  - vendor/libgit2/src/transports/http.c
515
577
  - vendor/libgit2/src/transports/http.h
578
+ - vendor/libgit2/src/transports/httpclient.c
579
+ - vendor/libgit2/src/transports/httpclient.h
516
580
  - vendor/libgit2/src/transports/local.c
517
581
  - vendor/libgit2/src/transports/smart.c
518
582
  - vendor/libgit2/src/transports/smart.h
@@ -537,6 +601,8 @@ files:
537
601
  - vendor/libgit2/src/varint.h
538
602
  - vendor/libgit2/src/vector.c
539
603
  - vendor/libgit2/src/vector.h
604
+ - vendor/libgit2/src/wildmatch.c
605
+ - vendor/libgit2/src/wildmatch.h
540
606
  - vendor/libgit2/src/win32/dir.c
541
607
  - vendor/libgit2/src/win32/dir.h
542
608
  - vendor/libgit2/src/win32/error.c
@@ -561,6 +627,7 @@ files:
561
627
  - vendor/libgit2/src/win32/version.h
562
628
  - vendor/libgit2/src/win32/w32_buffer.c
563
629
  - vendor/libgit2/src/win32/w32_buffer.h
630
+ - vendor/libgit2/src/win32/w32_common.h
564
631
  - vendor/libgit2/src/win32/w32_crtdbg_stacktrace.c
565
632
  - vendor/libgit2/src/win32/w32_crtdbg_stacktrace.h
566
633
  - vendor/libgit2/src/win32/w32_stack.c
@@ -590,7 +657,8 @@ files:
590
657
  homepage: https://github.com/libgit2/rugged
591
658
  licenses:
592
659
  - MIT
593
- metadata: {}
660
+ metadata:
661
+ msys2_mingw_dependencies: libssh2
594
662
  post_install_message:
595
663
  rdoc_options: []
596
664
  require_paths:
@@ -606,8 +674,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
606
674
  - !ruby/object:Gem::Version
607
675
  version: '0'
608
676
  requirements: []
609
- rubyforge_project:
610
- rubygems_version: 2.7.6.2
677
+ rubygems_version: 3.0.3
611
678
  signing_key:
612
679
  specification_version: 4
613
680
  summary: Rugged is a Ruby binding to the libgit2 linkable library