rugged 0.17.0b2 → 0.17.0.b6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. data/Rakefile +10 -11
  2. data/ext/rugged/extconf.rb +5 -13
  3. data/ext/rugged/rugged_commit.c +2 -5
  4. data/ext/rugged/rugged_reference.c +29 -28
  5. data/ext/rugged/rugged_remote.c +1 -1
  6. data/ext/rugged/rugged_repo.c +4 -1
  7. data/ext/rugged/rugged_tree.c +20 -19
  8. data/lib/rugged/commit.rb +5 -1
  9. data/lib/rugged/repository.rb +6 -4
  10. data/lib/rugged/version.rb +1 -1
  11. data/test/config_test.rb +1 -1
  12. data/test/index_test.rb +4 -2
  13. data/test/object_test.rb +3 -3
  14. data/test/reference_test.rb +66 -1
  15. data/test/repo_test.rb +4 -4
  16. data/test/tree_test.rb +1 -1
  17. data/test/walker_test.rb +1 -1
  18. data/vendor/libgit2/Makefile.embed +42 -0
  19. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/http-parser/http_parser.c +0 -0
  20. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/http-parser/http_parser.h +0 -0
  21. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/regex/config.h +0 -0
  22. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/regex/regcomp.c +0 -0
  23. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/regex/regex.c +0 -0
  24. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/regex/regex.h +0 -0
  25. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/regex/regex_internal.c +0 -0
  26. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/regex/regex_internal.h +0 -0
  27. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/regex/regexec.c +0 -0
  28. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/adler32.c +0 -0
  29. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/crc32.c +0 -0
  30. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/crc32.h +0 -0
  31. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/deflate.c +0 -0
  32. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/deflate.h +0 -0
  33. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/inffast.c +0 -0
  34. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/inffast.h +0 -0
  35. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/inffixed.h +0 -0
  36. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/inflate.c +0 -0
  37. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/inflate.h +0 -0
  38. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/inftrees.c +0 -0
  39. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/inftrees.h +0 -0
  40. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/trees.c +0 -0
  41. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/trees.h +0 -0
  42. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/zconf.h +0 -0
  43. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/zlib.h +0 -0
  44. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/zutil.c +0 -0
  45. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/deps/zlib/zutil.h +0 -0
  46. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2.h +6 -0
  47. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/attr.h +35 -20
  48. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/blob.h +1 -1
  49. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/branch.h +62 -24
  50. data/vendor/libgit2/include/git2/checkout.h +66 -0
  51. data/vendor/libgit2/include/git2/clone.h +59 -0
  52. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/commit.h +22 -3
  53. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/common.h +27 -0
  54. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/config.h +22 -4
  55. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/diff.h +20 -1
  56. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/errors.h +2 -37
  57. data/vendor/libgit2/include/git2/ignore.h +74 -0
  58. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/index.h +37 -5
  59. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/indexer.h +2 -2
  60. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/inttypes.h +0 -0
  61. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/merge.h +10 -0
  62. data/vendor/libgit2/include/git2/message.h +43 -0
  63. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/net.h +0 -0
  64. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/notes.h +24 -20
  65. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/object.h +18 -1
  66. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/odb.h +16 -1
  67. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/odb_backend.h +8 -1
  68. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/oid.h +26 -2
  69. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/reflog.h +39 -9
  70. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/refs.h +55 -3
  71. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/refspec.h +0 -0
  72. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/remote.h +68 -2
  73. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/repository.h +39 -1
  74. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/reset.h +0 -0
  75. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/revparse.h +0 -0
  76. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/revwalk.h +2 -2
  77. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/signature.h +3 -0
  78. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/status.h +5 -2
  79. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/stdint.h +0 -0
  80. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/submodule.h +0 -0
  81. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/tag.h +3 -3
  82. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/threads.h +0 -0
  83. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/tree.h +77 -20
  84. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/types.h +14 -0
  85. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/version.h +0 -0
  86. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/include/git2/windows.h +0 -0
  87. data/vendor/libgit2/src/amiga/map.c +51 -0
  88. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/attr.c +39 -6
  89. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/attr.h +1 -0
  90. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/attr_file.c +2 -16
  91. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/attr_file.h +4 -0
  92. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/blob.c +0 -0
  93. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/blob.h +0 -0
  94. data/vendor/libgit2/src/branch.c +294 -0
  95. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/bswap.h +0 -0
  96. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/buffer.c +40 -0
  97. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/buffer.h +22 -0
  98. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/cache.c +1 -0
  99. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/cache.h +0 -0
  100. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/cc-compat.h +0 -0
  101. data/vendor/libgit2/src/checkout.c +230 -0
  102. data/vendor/libgit2/src/clone.c +254 -0
  103. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/commit.c +42 -16
  104. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/commit.h +0 -0
  105. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/common.h +3 -9
  106. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/compat/fnmatch.c +0 -0
  107. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/compat/fnmatch.h +0 -0
  108. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/config.c +15 -5
  109. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/config.h +0 -0
  110. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/config_cache.c +0 -0
  111. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/config_file.c +86 -19
  112. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/config_file.h +16 -1
  113. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/crlf.c +92 -4
  114. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/date.c +20 -20
  115. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/delta-apply.c +0 -0
  116. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/delta-apply.h +0 -0
  117. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/diff.c +45 -18
  118. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/diff.h +0 -0
  119. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/diff_output.c +63 -46
  120. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/errors.c +0 -0
  121. data/vendor/libgit2/src/fetch.c +380 -0
  122. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/fetch.h +1 -2
  123. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/filebuf.c +7 -2
  124. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/filebuf.h +0 -0
  125. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/fileops.c +16 -1
  126. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/fileops.h +10 -0
  127. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/filter.c +38 -2
  128. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/filter.h +15 -0
  129. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/global.c +5 -0
  130. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/global.h +2 -6
  131. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/hash.c +0 -0
  132. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/hash.h +0 -0
  133. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/ignore.c +50 -1
  134. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/ignore.h +0 -0
  135. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/index.c +95 -28
  136. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/index.h +5 -0
  137. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/indexer.c +27 -25
  138. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/iterator.c +0 -0
  139. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/iterator.h +0 -0
  140. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/khash.h +6 -4
  141. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/map.h +4 -0
  142. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/message.c +27 -2
  143. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/message.h +2 -1
  144. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/mwindow.c +54 -10
  145. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/mwindow.h +1 -1
  146. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/netops.c +48 -38
  147. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/netops.h +7 -4
  148. data/vendor/libgit2/src/notes.c +610 -0
  149. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/notes.h +0 -0
  150. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/object.c +73 -2
  151. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/odb.c +20 -1
  152. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/odb.h +0 -0
  153. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/odb_loose.c +89 -3
  154. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/odb_pack.c +61 -3
  155. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/oid.c +1 -6
  156. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/oidmap.h +1 -6
  157. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/pack.c +49 -4
  158. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/pack.h +5 -1
  159. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/path.c +144 -21
  160. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/path.h +46 -0
  161. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/pkt.c +30 -8
  162. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/pkt.h +0 -0
  163. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/pool.c +7 -0
  164. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/pool.h +7 -0
  165. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/posix.c +92 -1
  166. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/posix.h +36 -1
  167. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/ppc/sha1.c +0 -0
  168. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/ppc/sha1.h +0 -0
  169. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/pqueue.c +0 -0
  170. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/pqueue.h +0 -0
  171. data/vendor/libgit2/src/protocol.c +88 -0
  172. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/protocol.h +3 -9
  173. data/vendor/libgit2/src/reflog.c +489 -0
  174. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/reflog.h +3 -0
  175. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/refs.c +95 -52
  176. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/refs.h +0 -0
  177. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/refspec.c +0 -0
  178. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/refspec.h +0 -0
  179. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/remote.c +130 -8
  180. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/remote.h +6 -0
  181. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/repository.c +167 -42
  182. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/repository.h +7 -0
  183. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/reset.c +1 -1
  184. data/vendor/libgit2/src/revparse.c +830 -0
  185. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/revwalk.c +83 -15
  186. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/sha1.c +0 -0
  187. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/sha1.h +5 -0
  188. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/sha1_lookup.c +0 -0
  189. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/sha1_lookup.h +0 -0
  190. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/signature.c +19 -5
  191. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/signature.h +0 -0
  192. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/status.c +24 -18
  193. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/strmap.h +1 -1
  194. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/submodule.c +3 -3
  195. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/tag.c +2 -9
  196. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/tag.h +0 -0
  197. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/thread-utils.c +0 -0
  198. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/thread-utils.h +0 -0
  199. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/transport.c +0 -0
  200. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/transport.h +13 -9
  201. data/vendor/libgit2/src/transports/git.c +245 -0
  202. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/transports/http.c +93 -336
  203. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/transports/local.c +35 -32
  204. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/tree-cache.c +0 -0
  205. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/tree-cache.h +0 -0
  206. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/tree.c +214 -124
  207. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/tree.h +7 -3
  208. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/tsort.c +0 -0
  209. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/unix/map.c +2 -0
  210. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/unix/posix.h +2 -1
  211. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/util.c +30 -0
  212. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/util.h +13 -6
  213. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/vector.c +1 -1
  214. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/vector.h +5 -5
  215. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/win32/dir.c +0 -0
  216. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/win32/dir.h +0 -0
  217. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/win32/map.c +0 -0
  218. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/win32/mingw-compat.h +0 -0
  219. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/win32/msvc-compat.h +0 -0
  220. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/win32/posix.h +1 -0
  221. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/win32/posix_w32.c +17 -1
  222. data/vendor/libgit2/src/win32/precompiled.c +1 -0
  223. data/vendor/libgit2/src/win32/precompiled.h +19 -0
  224. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/win32/pthread.c +0 -0
  225. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/win32/pthread.h +0 -0
  226. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/win32/utf-conv.c +0 -0
  227. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/win32/utf-conv.h +0 -0
  228. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/xdiff/xdiff.h +0 -0
  229. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/xdiff/xdiffi.c +0 -0
  230. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/xdiff/xdiffi.h +0 -0
  231. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/xdiff/xemit.c +0 -0
  232. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/xdiff/xemit.h +0 -0
  233. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/xdiff/xhistogram.c +0 -0
  234. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/xdiff/xinclude.h +0 -0
  235. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/xdiff/xmacros.h +0 -0
  236. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/xdiff/xmerge.c +0 -0
  237. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/xdiff/xpatience.c +0 -0
  238. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/xdiff/xprepare.c +0 -0
  239. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/xdiff/xprepare.h +0 -0
  240. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/xdiff/xtypes.h +0 -0
  241. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/xdiff/xutils.c +0 -0
  242. data/{ext/rugged/vendor/libgit2-dist → vendor/libgit2}/src/xdiff/xutils.h +0 -0
  243. metadata +265 -348
  244. data/ext/rugged/vendor/libgit2-dist.tar.gz +0 -0
  245. data/ext/rugged/vendor/libgit2-dist/examples/diff.c +0 -238
  246. data/ext/rugged/vendor/libgit2-dist/examples/general.c +0 -451
  247. data/ext/rugged/vendor/libgit2-dist/examples/network/common.h +0 -14
  248. data/ext/rugged/vendor/libgit2-dist/examples/network/fetch.c +0 -113
  249. data/ext/rugged/vendor/libgit2-dist/examples/network/git2.c +0 -62
  250. data/ext/rugged/vendor/libgit2-dist/examples/network/index-pack.c +0 -102
  251. data/ext/rugged/vendor/libgit2-dist/examples/network/ls-remote.c +0 -76
  252. data/ext/rugged/vendor/libgit2-dist/examples/showindex.c +0 -43
  253. data/ext/rugged/vendor/libgit2-dist/src/branch.c +0 -208
  254. data/ext/rugged/vendor/libgit2-dist/src/branch.h +0 -17
  255. data/ext/rugged/vendor/libgit2-dist/src/fetch.c +0 -200
  256. data/ext/rugged/vendor/libgit2-dist/src/notes.c +0 -548
  257. data/ext/rugged/vendor/libgit2-dist/src/protocol.c +0 -58
  258. data/ext/rugged/vendor/libgit2-dist/src/reflog.c +0 -340
  259. data/ext/rugged/vendor/libgit2-dist/src/revparse.c +0 -748
  260. data/ext/rugged/vendor/libgit2-dist/src/transports/git.c +0 -477
  261. data/ext/rugged/vendor/libgit2-dist/tests-clar/attr/attr_expect.h +0 -43
  262. data/ext/rugged/vendor/libgit2-dist/tests-clar/attr/file.c +0 -226
  263. data/ext/rugged/vendor/libgit2-dist/tests-clar/attr/flags.c +0 -108
  264. data/ext/rugged/vendor/libgit2-dist/tests-clar/attr/lookup.c +0 -262
  265. data/ext/rugged/vendor/libgit2-dist/tests-clar/attr/repo.c +0 -273
  266. data/ext/rugged/vendor/libgit2-dist/tests-clar/buf/basic.c +0 -29
  267. data/ext/rugged/vendor/libgit2-dist/tests-clar/clar_helpers.c +0 -181
  268. data/ext/rugged/vendor/libgit2-dist/tests-clar/clar_libgit2.h +0 -55
  269. data/ext/rugged/vendor/libgit2-dist/tests-clar/commit/commit.c +0 -44
  270. data/ext/rugged/vendor/libgit2-dist/tests-clar/commit/parse.c +0 -350
  271. data/ext/rugged/vendor/libgit2-dist/tests-clar/commit/signature.c +0 -65
  272. data/ext/rugged/vendor/libgit2-dist/tests-clar/commit/write.c +0 -140
  273. data/ext/rugged/vendor/libgit2-dist/tests-clar/config/add.c +0 -37
  274. data/ext/rugged/vendor/libgit2-dist/tests-clar/config/multivar.c +0 -151
  275. data/ext/rugged/vendor/libgit2-dist/tests-clar/config/new.c +0 -36
  276. data/ext/rugged/vendor/libgit2-dist/tests-clar/config/read.c +0 -221
  277. data/ext/rugged/vendor/libgit2-dist/tests-clar/config/stress.c +0 -61
  278. data/ext/rugged/vendor/libgit2-dist/tests-clar/config/write.c +0 -92
  279. data/ext/rugged/vendor/libgit2-dist/tests-clar/core/buffer.c +0 -613
  280. data/ext/rugged/vendor/libgit2-dist/tests-clar/core/dirent.c +0 -235
  281. data/ext/rugged/vendor/libgit2-dist/tests-clar/core/env.c +0 -115
  282. data/ext/rugged/vendor/libgit2-dist/tests-clar/core/errors.c +0 -60
  283. data/ext/rugged/vendor/libgit2-dist/tests-clar/core/filebuf.c +0 -92
  284. data/ext/rugged/vendor/libgit2-dist/tests-clar/core/hex.c +0 -22
  285. data/ext/rugged/vendor/libgit2-dist/tests-clar/core/oid.c +0 -18
  286. data/ext/rugged/vendor/libgit2-dist/tests-clar/core/path.c +0 -420
  287. data/ext/rugged/vendor/libgit2-dist/tests-clar/core/pool.c +0 -85
  288. data/ext/rugged/vendor/libgit2-dist/tests-clar/core/rmdir.c +0 -68
  289. data/ext/rugged/vendor/libgit2-dist/tests-clar/core/string.c +0 -28
  290. data/ext/rugged/vendor/libgit2-dist/tests-clar/core/strmap.c +0 -102
  291. data/ext/rugged/vendor/libgit2-dist/tests-clar/core/strtol.c +0 -37
  292. data/ext/rugged/vendor/libgit2-dist/tests-clar/core/vector.c +0 -191
  293. data/ext/rugged/vendor/libgit2-dist/tests-clar/date/date.c +0 -15
  294. data/ext/rugged/vendor/libgit2-dist/tests-clar/diff/blob.c +0 -254
  295. data/ext/rugged/vendor/libgit2-dist/tests-clar/diff/diff_helpers.c +0 -104
  296. data/ext/rugged/vendor/libgit2-dist/tests-clar/diff/diff_helpers.h +0 -47
  297. data/ext/rugged/vendor/libgit2-dist/tests-clar/diff/index.c +0 -92
  298. data/ext/rugged/vendor/libgit2-dist/tests-clar/diff/iterator.c +0 -572
  299. data/ext/rugged/vendor/libgit2-dist/tests-clar/diff/patch.c +0 -99
  300. data/ext/rugged/vendor/libgit2-dist/tests-clar/diff/tree.c +0 -210
  301. data/ext/rugged/vendor/libgit2-dist/tests-clar/diff/workdir.c +0 -543
  302. data/ext/rugged/vendor/libgit2-dist/tests-clar/index/read_tree.c +0 -46
  303. data/ext/rugged/vendor/libgit2-dist/tests-clar/index/rename.c +0 -50
  304. data/ext/rugged/vendor/libgit2-dist/tests-clar/index/tests.c +0 -246
  305. data/ext/rugged/vendor/libgit2-dist/tests-clar/network/createremotethenload.c +0 -33
  306. data/ext/rugged/vendor/libgit2-dist/tests-clar/network/remotelocal.c +0 -137
  307. data/ext/rugged/vendor/libgit2-dist/tests-clar/network/remotes.c +0 -183
  308. data/ext/rugged/vendor/libgit2-dist/tests-clar/notes/notes.c +0 -133
  309. data/ext/rugged/vendor/libgit2-dist/tests-clar/notes/notesref.c +0 -57
  310. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/blob/filter.c +0 -125
  311. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/blob/fromchunks.c +0 -87
  312. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/blob/write.c +0 -69
  313. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/commit/commitstagedfile.c +0 -126
  314. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/lookup.c +0 -63
  315. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/message.c +0 -171
  316. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/chars.c +0 -41
  317. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/compare.c +0 -124
  318. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/convert.c +0 -75
  319. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/data.h +0 -323
  320. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/fromstr.c +0 -30
  321. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/hash.c +0 -166
  322. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/short.c +0 -94
  323. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/size.c +0 -13
  324. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/type2string.c +0 -54
  325. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/write.c +0 -455
  326. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/tag/peel.c +0 -56
  327. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/tag/read.c +0 -130
  328. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/tag/write.c +0 -192
  329. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/tree/frompath.c +0 -81
  330. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/tree/read.c +0 -75
  331. data/ext/rugged/vendor/libgit2-dist/tests-clar/object/tree/write.c +0 -84
  332. data/ext/rugged/vendor/libgit2-dist/tests-clar/odb/loose.c +0 -84
  333. data/ext/rugged/vendor/libgit2-dist/tests-clar/odb/loose_data.h +0 -522
  334. data/ext/rugged/vendor/libgit2-dist/tests-clar/odb/mixed.c +0 -24
  335. data/ext/rugged/vendor/libgit2-dist/tests-clar/odb/pack_data.h +0 -151
  336. data/ext/rugged/vendor/libgit2-dist/tests-clar/odb/packed.c +0 -78
  337. data/ext/rugged/vendor/libgit2-dist/tests-clar/odb/sorting.c +0 -71
  338. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/branches/create.c +0 -113
  339. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/branches/delete.c +0 -91
  340. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/branches/listall.c +0 -78
  341. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/branches/move.c +0 -72
  342. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/crashes.c +0 -17
  343. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/create.c +0 -149
  344. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/delete.c +0 -85
  345. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/list.c +0 -53
  346. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/listall.c +0 -36
  347. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/lookup.c +0 -42
  348. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/normalize.c +0 -200
  349. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/overwrite.c +0 -136
  350. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/pack.c +0 -67
  351. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/read.c +0 -194
  352. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/reflog.c +0 -123
  353. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/rename.c +0 -339
  354. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/revparse.c +0 -174
  355. data/ext/rugged/vendor/libgit2-dist/tests-clar/refs/unicode.c +0 -42
  356. data/ext/rugged/vendor/libgit2-dist/tests-clar/repo/discover.c +0 -142
  357. data/ext/rugged/vendor/libgit2-dist/tests-clar/repo/getters.c +0 -86
  358. data/ext/rugged/vendor/libgit2-dist/tests-clar/repo/init.c +0 -249
  359. data/ext/rugged/vendor/libgit2-dist/tests-clar/repo/open.c +0 -282
  360. data/ext/rugged/vendor/libgit2-dist/tests-clar/repo/setters.c +0 -80
  361. data/ext/rugged/vendor/libgit2-dist/tests-clar/reset/mixed.c +0 -47
  362. data/ext/rugged/vendor/libgit2-dist/tests-clar/reset/reset_helpers.c +0 -10
  363. data/ext/rugged/vendor/libgit2-dist/tests-clar/reset/reset_helpers.h +0 -6
  364. data/ext/rugged/vendor/libgit2-dist/tests-clar/reset/soft.c +0 -102
  365. data/ext/rugged/vendor/libgit2-dist/tests-clar/revwalk/basic.c +0 -181
  366. data/ext/rugged/vendor/libgit2-dist/tests-clar/revwalk/mergebase.c +0 -148
  367. data/ext/rugged/vendor/libgit2-dist/tests-clar/status/ignore.c +0 -147
  368. data/ext/rugged/vendor/libgit2-dist/tests-clar/status/single.c +0 -29
  369. data/ext/rugged/vendor/libgit2-dist/tests-clar/status/status_data.h +0 -202
  370. data/ext/rugged/vendor/libgit2-dist/tests-clar/status/status_helpers.c +0 -49
  371. data/ext/rugged/vendor/libgit2-dist/tests-clar/status/status_helpers.h +0 -33
  372. data/ext/rugged/vendor/libgit2-dist/tests-clar/status/submodules.c +0 -112
  373. data/ext/rugged/vendor/libgit2-dist/tests-clar/status/worktree.c +0 -649
  374. data/ext/rugged/vendor/libgit2-dist/tests-clar/threads/basic.c +0 -20
@@ -13,11 +13,11 @@
13
13
  #include "vector.h"
14
14
 
15
15
  struct git_tree_entry {
16
- unsigned int attr;
17
- char *filename;
16
+ uint16_t removed;
17
+ uint16_t attr;
18
18
  git_oid oid;
19
19
  size_t filename_len;
20
- int removed;
20
+ char filename[1];
21
21
  };
22
22
 
23
23
  struct git_tree {
@@ -47,5 +47,9 @@ int git_tree__parse(git_tree *tree, git_odb_object *obj);
47
47
  */
48
48
  int git_tree__prefix_position(git_tree *tree, const char *prefix);
49
49
 
50
+ /**
51
+ * Obsolete mode kept for compatibility reasons
52
+ */
53
+ #define GIT_FILEMODE_BLOB_GROUP_WRITABLE 0100664
50
54
 
51
55
  #endif
@@ -33,6 +33,7 @@ int p_mmap(git_map *out, size_t len, int prot, int flags, int fd, git_off_t offs
33
33
  mflag = MAP_PRIVATE;
34
34
 
35
35
  out->data = mmap(NULL, len, mprot, mflag, fd, offset);
36
+
36
37
  if (!out->data || out->data == MAP_FAILED) {
37
38
  giterr_set(GITERR_OS, "Failed to mmap. Could not write data");
38
39
  return -1;
@@ -47,6 +48,7 @@ int p_munmap(git_map *map)
47
48
  {
48
49
  assert(map != NULL);
49
50
  munmap(map->data, map->len);
51
+
50
52
  return 0;
51
53
  }
52
54
 
@@ -7,7 +7,7 @@
7
7
  #ifndef INCLUDE_posix__w32_h__
8
8
  #define INCLUDE_posix__w32_h__
9
9
 
10
- #ifndef __sun
10
+ #if !defined(__sun) && !defined(__amigaos4__)
11
11
  # include <fnmatch.h>
12
12
  # define p_fnmatch(p, s, f) fnmatch(p, s, f)
13
13
  #else
@@ -19,6 +19,7 @@
19
19
  #define p_lstat(p,b) lstat(p,b)
20
20
  #define p_readlink(a, b, c) readlink(a, b, c)
21
21
  #define p_link(o,n) link(o, n)
22
+ #define p_symlink(o,n) symlink(o,n)
22
23
  #define p_unlink(p) unlink(p)
23
24
  #define p_mkdir(p,m) mkdir(p, m)
24
25
  #define p_fsync(fd) fsync(fd)
@@ -22,6 +22,18 @@ void git_libgit2_version(int *major, int *minor, int *rev)
22
22
  *rev = LIBGIT2_VER_REVISION;
23
23
  }
24
24
 
25
+ int git_libgit2_capabilities()
26
+ {
27
+ return 0
28
+ #ifdef GIT_THREADS
29
+ | GIT_CAP_THREADS
30
+ #endif
31
+ #ifdef GIT_SSL
32
+ | GIT_CAP_HTTPS
33
+ #endif
34
+ ;
35
+ }
36
+
25
37
  void git_strarray_free(git_strarray *array)
26
38
  {
27
39
  size_t i;
@@ -435,3 +447,21 @@ int git__parse_bool(int *out, const char *value)
435
447
 
436
448
  return -1;
437
449
  }
450
+
451
+ size_t git__unescape(char *str)
452
+ {
453
+ char *scan, *pos = str;
454
+
455
+ for (scan = str; *scan; pos++, scan++) {
456
+ if (*scan == '\\' && *(scan + 1) != '\0')
457
+ scan++; /* skip '\' but include next char */
458
+ if (pos != scan)
459
+ *pos = *scan;
460
+ }
461
+
462
+ if (pos != scan) {
463
+ *pos = '\0';
464
+ }
465
+
466
+ return (pos - str);
467
+ }
@@ -204,16 +204,14 @@ GIT_INLINE(bool) git__isalpha(int c)
204
204
  return ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z'));
205
205
  }
206
206
 
207
- GIT_INLINE(bool) git__isspace(int c)
207
+ GIT_INLINE(bool) git__isdigit(int c)
208
208
  {
209
- return (c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r' || c == '\v');
209
+ return (c >= '0' && c <= '9');
210
210
  }
211
211
 
212
- GIT_INLINE(int) git__time_cmp(const git_time *a, const git_time *b)
212
+ GIT_INLINE(bool) git__isspace(int c)
213
213
  {
214
- /* Adjust for time zones. Times are in seconds, offsets are in minutes. */
215
- git_time_t adjusted_a = a->time + ((b->offset - a->offset) * 60);
216
- return (int)(adjusted_a - b->time);
214
+ return (c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r' || c == '\v' || c == 0x85 /* Unicode CR+LF */);
217
215
  }
218
216
 
219
217
  GIT_INLINE(bool) git__iswildcard(int c)
@@ -240,4 +238,13 @@ extern int git__parse_bool(int *out, const char *value);
240
238
  */
241
239
  int git__date_parse(git_time_t *out, const char *date);
242
240
 
241
+ /*
242
+ * Unescapes a string in-place.
243
+ *
244
+ * Edge cases behavior:
245
+ * - "jackie\" -> "jacky\"
246
+ * - "chan\\" -> "chan\"
247
+ */
248
+ extern size_t git__unescape(char *str);
249
+
243
250
  #endif /* INCLUDE_util_h__ */
@@ -35,7 +35,7 @@ void git_vector_free(git_vector *v)
35
35
  v->_alloc_size = 0;
36
36
  }
37
37
 
38
- int git_vector_init(git_vector *v, unsigned int initial_size, git_vector_cmp cmp)
38
+ int git_vector_init(git_vector *v, size_t initial_size, git_vector_cmp cmp)
39
39
  {
40
40
  assert(v);
41
41
 
@@ -12,16 +12,16 @@
12
12
  typedef int (*git_vector_cmp)(const void *, const void *);
13
13
 
14
14
  typedef struct git_vector {
15
- unsigned int _alloc_size;
15
+ size_t _alloc_size;
16
16
  git_vector_cmp _cmp;
17
17
  void **contents;
18
- unsigned int length;
18
+ size_t length;
19
19
  int sorted;
20
20
  } git_vector;
21
21
 
22
22
  #define GIT_VECTOR_INIT {0}
23
23
 
24
- int git_vector_init(git_vector *v, unsigned int initial_size, git_vector_cmp cmp);
24
+ int git_vector_init(git_vector *v, size_t initial_size, git_vector_cmp cmp);
25
25
  void git_vector_free(git_vector *v);
26
26
  void git_vector_clear(git_vector *v);
27
27
  void git_vector_swap(git_vector *a, git_vector *b);
@@ -45,12 +45,12 @@ GIT_INLINE(int) git_vector_bsearch2(
45
45
  return git_vector_bsearch3(NULL, v, cmp, key);
46
46
  }
47
47
 
48
- GIT_INLINE(void *) git_vector_get(git_vector *v, unsigned int position)
48
+ GIT_INLINE(void *) git_vector_get(git_vector *v, size_t position)
49
49
  {
50
50
  return (position < v->length) ? v->contents[position] : NULL;
51
51
  }
52
52
 
53
- GIT_INLINE(const void *) git_vector_get_const(const git_vector *v, unsigned int position)
53
+ GIT_INLINE(const void *) git_vector_get_const(const git_vector *v, size_t position)
54
54
  {
55
55
  return (position < v->length) ? v->contents[position] : NULL;
56
56
  }
@@ -33,6 +33,7 @@ GIT_INLINE(int) p_mkdir(const char *path, mode_t mode)
33
33
  extern int p_unlink(const char *path);
34
34
  extern int p_lstat(const char *file_name, struct stat *buf);
35
35
  extern int p_readlink(const char *link, char *target, size_t target_len);
36
+ extern int p_symlink(const char *old, const char *new);
36
37
  extern int p_hide_directory__w32(const char *path);
37
38
  extern char *p_realpath(const char *orig_path, char *buffer);
38
39
  extern int p_vsnprintf(char *buffer, size_t count, const char *format, va_list argptr);
@@ -7,6 +7,7 @@
7
7
  #include "../posix.h"
8
8
  #include "path.h"
9
9
  #include "utf-conv.h"
10
+ #include "repository.h"
10
11
  #include <errno.h>
11
12
  #include <io.h>
12
13
  #include <fcntl.h>
@@ -60,6 +61,7 @@ GIT_INLINE(time_t) filetime_to_time_t(const FILETIME *ft)
60
61
  static int do_lstat(const char *file_name, struct stat *buf)
61
62
  {
62
63
  WIN32_FILE_ATTRIBUTE_DATA fdata;
64
+ DWORD last_error;
63
65
  wchar_t* fbuf = gitwin_to_utf16(file_name);
64
66
  if (!fbuf)
65
67
  return -1;
@@ -93,6 +95,12 @@ static int do_lstat(const char *file_name, struct stat *buf)
93
95
  return 0;
94
96
  }
95
97
 
98
+ last_error = GetLastError();
99
+ if (last_error == ERROR_FILE_NOT_FOUND)
100
+ errno = ENOENT;
101
+ else if (last_error == ERROR_PATH_NOT_FOUND)
102
+ errno = ENOTDIR;
103
+
96
104
  git__free(fbuf);
97
105
  return -1;
98
106
  }
@@ -217,6 +225,14 @@ int p_readlink(const char *link, char *target, size_t target_len)
217
225
  return dwRet;
218
226
  }
219
227
 
228
+ int p_symlink(const char *old, const char *new)
229
+ {
230
+ /* Real symlinks on NTFS require admin privileges. Until this changes,
231
+ * libgit2 just creates a text file with the link target in the contents.
232
+ */
233
+ return git_futils_fake_symlink(old, new);
234
+ }
235
+
220
236
  int p_open(const char *path, int flags, ...)
221
237
  {
222
238
  int fd;
@@ -232,7 +248,7 @@ int p_open(const char *path, int flags, ...)
232
248
  va_list arg_list;
233
249
 
234
250
  va_start(arg_list, flags);
235
- mode = va_arg(arg_list, mode_t);
251
+ mode = (mode_t)va_arg(arg_list, int);
236
252
  va_end(arg_list);
237
253
  }
238
254
 
@@ -0,0 +1 @@
1
+ #include "precompiled.h"
@@ -0,0 +1,19 @@
1
+ #include "git2.h"
2
+
3
+ #include <assert.h>
4
+ #include <errno.h>
5
+ #include <limits.h>
6
+ #include <stdlib.h>
7
+ #include <stdio.h>
8
+ #include <string.h>
9
+
10
+ #include <sys/types.h>
11
+ #include <sys/stat.h>
12
+
13
+ #include <regex.h>
14
+
15
+ #include <io.h>
16
+ #include <direct.h>
17
+ #ifdef GIT_THREADS
18
+ #include "win32/pthread.h"
19
+ #endif
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rugged
3
3
  version: !ruby/object:Gem::Version
4
- hash: 355
5
- prerelease: 6
4
+ hash: 2854922145
5
+ prerelease: 7
6
6
  segments:
7
7
  - 0
8
8
  - 17
9
9
  - 0
10
10
  - b
11
- - 2
12
- version: 0.17.0b2
11
+ - 6
12
+ version: 0.17.0.b6
13
13
  platform: ruby
14
14
  authors:
15
15
  - Scott Chacon
@@ -18,9 +18,39 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2012-06-15 00:00:00 Z
22
- dependencies: []
23
-
21
+ date: 2012-08-22 00:00:00 -07:00
22
+ default_executable:
23
+ dependencies:
24
+ - !ruby/object:Gem::Dependency
25
+ name: rake-compiler
26
+ prerelease: false
27
+ requirement: &id001 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ hash: 3
33
+ segments:
34
+ - 0
35
+ version: "0"
36
+ type: :development
37
+ version_requirements: *id001
38
+ - !ruby/object:Gem::Dependency
39
+ name: minitest
40
+ prerelease: false
41
+ requirement: &id002 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ hash: 7
47
+ segments:
48
+ - 3
49
+ - 0
50
+ - 0
51
+ version: 3.0.0
52
+ type: :development
53
+ version_requirements: *id002
24
54
  description: |
25
55
  Rugged is a Ruby bindings to the libgit2 linkable C Git library. This is
26
56
  for testing and using the libgit2 library in a language that is awesome.
@@ -101,6 +131,7 @@ files:
101
131
  - test/tree_test.rb
102
132
  - test/walker_test.rb
103
133
  - ext/rugged/rugged.c
134
+ - ext/rugged/rugged.h
104
135
  - ext/rugged/rugged_blob.c
105
136
  - ext/rugged/rugged_commit.c
106
137
  - ext/rugged/rugged_config.c
@@ -113,347 +144,233 @@ files:
113
144
  - ext/rugged/rugged_signature.c
114
145
  - ext/rugged/rugged_tag.c
115
146
  - ext/rugged/rugged_tree.c
116
- - ext/rugged/vendor/libgit2-dist/deps/http-parser/http_parser.c
117
- - ext/rugged/vendor/libgit2-dist/deps/regex/regcomp.c
118
- - ext/rugged/vendor/libgit2-dist/deps/regex/regex.c
119
- - ext/rugged/vendor/libgit2-dist/deps/regex/regex_internal.c
120
- - ext/rugged/vendor/libgit2-dist/deps/regex/regexec.c
121
- - ext/rugged/vendor/libgit2-dist/deps/zlib/adler32.c
122
- - ext/rugged/vendor/libgit2-dist/deps/zlib/crc32.c
123
- - ext/rugged/vendor/libgit2-dist/deps/zlib/deflate.c
124
- - ext/rugged/vendor/libgit2-dist/deps/zlib/inffast.c
125
- - ext/rugged/vendor/libgit2-dist/deps/zlib/inflate.c
126
- - ext/rugged/vendor/libgit2-dist/deps/zlib/inftrees.c
127
- - ext/rugged/vendor/libgit2-dist/deps/zlib/trees.c
128
- - ext/rugged/vendor/libgit2-dist/deps/zlib/zutil.c
129
- - ext/rugged/vendor/libgit2-dist/examples/diff.c
130
- - ext/rugged/vendor/libgit2-dist/examples/general.c
131
- - ext/rugged/vendor/libgit2-dist/examples/network/fetch.c
132
- - ext/rugged/vendor/libgit2-dist/examples/network/git2.c
133
- - ext/rugged/vendor/libgit2-dist/examples/network/index-pack.c
134
- - ext/rugged/vendor/libgit2-dist/examples/network/ls-remote.c
135
- - ext/rugged/vendor/libgit2-dist/examples/showindex.c
136
- - ext/rugged/vendor/libgit2-dist/src/attr.c
137
- - ext/rugged/vendor/libgit2-dist/src/attr_file.c
138
- - ext/rugged/vendor/libgit2-dist/src/blob.c
139
- - ext/rugged/vendor/libgit2-dist/src/branch.c
140
- - ext/rugged/vendor/libgit2-dist/src/buffer.c
141
- - ext/rugged/vendor/libgit2-dist/src/cache.c
142
- - ext/rugged/vendor/libgit2-dist/src/commit.c
143
- - ext/rugged/vendor/libgit2-dist/src/compat/fnmatch.c
144
- - ext/rugged/vendor/libgit2-dist/src/config.c
145
- - ext/rugged/vendor/libgit2-dist/src/config_cache.c
146
- - ext/rugged/vendor/libgit2-dist/src/config_file.c
147
- - ext/rugged/vendor/libgit2-dist/src/crlf.c
148
- - ext/rugged/vendor/libgit2-dist/src/date.c
149
- - ext/rugged/vendor/libgit2-dist/src/delta-apply.c
150
- - ext/rugged/vendor/libgit2-dist/src/diff.c
151
- - ext/rugged/vendor/libgit2-dist/src/diff_output.c
152
- - ext/rugged/vendor/libgit2-dist/src/errors.c
153
- - ext/rugged/vendor/libgit2-dist/src/fetch.c
154
- - ext/rugged/vendor/libgit2-dist/src/filebuf.c
155
- - ext/rugged/vendor/libgit2-dist/src/fileops.c
156
- - ext/rugged/vendor/libgit2-dist/src/filter.c
157
- - ext/rugged/vendor/libgit2-dist/src/global.c
158
- - ext/rugged/vendor/libgit2-dist/src/hash.c
159
- - ext/rugged/vendor/libgit2-dist/src/ignore.c
160
- - ext/rugged/vendor/libgit2-dist/src/index.c
161
- - ext/rugged/vendor/libgit2-dist/src/indexer.c
162
- - ext/rugged/vendor/libgit2-dist/src/iterator.c
163
- - ext/rugged/vendor/libgit2-dist/src/message.c
164
- - ext/rugged/vendor/libgit2-dist/src/mwindow.c
165
- - ext/rugged/vendor/libgit2-dist/src/netops.c
166
- - ext/rugged/vendor/libgit2-dist/src/notes.c
167
- - ext/rugged/vendor/libgit2-dist/src/object.c
168
- - ext/rugged/vendor/libgit2-dist/src/odb.c
169
- - ext/rugged/vendor/libgit2-dist/src/odb_loose.c
170
- - ext/rugged/vendor/libgit2-dist/src/odb_pack.c
171
- - ext/rugged/vendor/libgit2-dist/src/oid.c
172
- - ext/rugged/vendor/libgit2-dist/src/pack.c
173
- - ext/rugged/vendor/libgit2-dist/src/path.c
174
- - ext/rugged/vendor/libgit2-dist/src/pkt.c
175
- - ext/rugged/vendor/libgit2-dist/src/pool.c
176
- - ext/rugged/vendor/libgit2-dist/src/posix.c
177
- - ext/rugged/vendor/libgit2-dist/src/ppc/sha1.c
178
- - ext/rugged/vendor/libgit2-dist/src/pqueue.c
179
- - ext/rugged/vendor/libgit2-dist/src/protocol.c
180
- - ext/rugged/vendor/libgit2-dist/src/reflog.c
181
- - ext/rugged/vendor/libgit2-dist/src/refs.c
182
- - ext/rugged/vendor/libgit2-dist/src/refspec.c
183
- - ext/rugged/vendor/libgit2-dist/src/remote.c
184
- - ext/rugged/vendor/libgit2-dist/src/repository.c
185
- - ext/rugged/vendor/libgit2-dist/src/reset.c
186
- - ext/rugged/vendor/libgit2-dist/src/revparse.c
187
- - ext/rugged/vendor/libgit2-dist/src/revwalk.c
188
- - ext/rugged/vendor/libgit2-dist/src/sha1.c
189
- - ext/rugged/vendor/libgit2-dist/src/sha1_lookup.c
190
- - ext/rugged/vendor/libgit2-dist/src/signature.c
191
- - ext/rugged/vendor/libgit2-dist/src/status.c
192
- - ext/rugged/vendor/libgit2-dist/src/submodule.c
193
- - ext/rugged/vendor/libgit2-dist/src/tag.c
194
- - ext/rugged/vendor/libgit2-dist/src/thread-utils.c
195
- - ext/rugged/vendor/libgit2-dist/src/transport.c
196
- - ext/rugged/vendor/libgit2-dist/src/transports/git.c
197
- - ext/rugged/vendor/libgit2-dist/src/transports/http.c
198
- - ext/rugged/vendor/libgit2-dist/src/transports/local.c
199
- - ext/rugged/vendor/libgit2-dist/src/tree-cache.c
200
- - ext/rugged/vendor/libgit2-dist/src/tree.c
201
- - ext/rugged/vendor/libgit2-dist/src/tsort.c
202
- - ext/rugged/vendor/libgit2-dist/src/unix/map.c
203
- - ext/rugged/vendor/libgit2-dist/src/util.c
204
- - ext/rugged/vendor/libgit2-dist/src/vector.c
205
- - ext/rugged/vendor/libgit2-dist/src/win32/dir.c
206
- - ext/rugged/vendor/libgit2-dist/src/win32/map.c
207
- - ext/rugged/vendor/libgit2-dist/src/win32/posix_w32.c
208
- - ext/rugged/vendor/libgit2-dist/src/win32/pthread.c
209
- - ext/rugged/vendor/libgit2-dist/src/win32/utf-conv.c
210
- - ext/rugged/vendor/libgit2-dist/src/xdiff/xdiffi.c
211
- - ext/rugged/vendor/libgit2-dist/src/xdiff/xemit.c
212
- - ext/rugged/vendor/libgit2-dist/src/xdiff/xhistogram.c
213
- - ext/rugged/vendor/libgit2-dist/src/xdiff/xmerge.c
214
- - ext/rugged/vendor/libgit2-dist/src/xdiff/xpatience.c
215
- - ext/rugged/vendor/libgit2-dist/src/xdiff/xprepare.c
216
- - ext/rugged/vendor/libgit2-dist/src/xdiff/xutils.c
217
- - ext/rugged/vendor/libgit2-dist/tests-clar/attr/file.c
218
- - ext/rugged/vendor/libgit2-dist/tests-clar/attr/flags.c
219
- - ext/rugged/vendor/libgit2-dist/tests-clar/attr/lookup.c
220
- - ext/rugged/vendor/libgit2-dist/tests-clar/attr/repo.c
221
- - ext/rugged/vendor/libgit2-dist/tests-clar/buf/basic.c
222
- - ext/rugged/vendor/libgit2-dist/tests-clar/clar_helpers.c
223
- - ext/rugged/vendor/libgit2-dist/tests-clar/commit/commit.c
224
- - ext/rugged/vendor/libgit2-dist/tests-clar/commit/parse.c
225
- - ext/rugged/vendor/libgit2-dist/tests-clar/commit/signature.c
226
- - ext/rugged/vendor/libgit2-dist/tests-clar/commit/write.c
227
- - ext/rugged/vendor/libgit2-dist/tests-clar/config/add.c
228
- - ext/rugged/vendor/libgit2-dist/tests-clar/config/multivar.c
229
- - ext/rugged/vendor/libgit2-dist/tests-clar/config/new.c
230
- - ext/rugged/vendor/libgit2-dist/tests-clar/config/read.c
231
- - ext/rugged/vendor/libgit2-dist/tests-clar/config/stress.c
232
- - ext/rugged/vendor/libgit2-dist/tests-clar/config/write.c
233
- - ext/rugged/vendor/libgit2-dist/tests-clar/core/buffer.c
234
- - ext/rugged/vendor/libgit2-dist/tests-clar/core/dirent.c
235
- - ext/rugged/vendor/libgit2-dist/tests-clar/core/env.c
236
- - ext/rugged/vendor/libgit2-dist/tests-clar/core/errors.c
237
- - ext/rugged/vendor/libgit2-dist/tests-clar/core/filebuf.c
238
- - ext/rugged/vendor/libgit2-dist/tests-clar/core/hex.c
239
- - ext/rugged/vendor/libgit2-dist/tests-clar/core/oid.c
240
- - ext/rugged/vendor/libgit2-dist/tests-clar/core/path.c
241
- - ext/rugged/vendor/libgit2-dist/tests-clar/core/pool.c
242
- - ext/rugged/vendor/libgit2-dist/tests-clar/core/rmdir.c
243
- - ext/rugged/vendor/libgit2-dist/tests-clar/core/string.c
244
- - ext/rugged/vendor/libgit2-dist/tests-clar/core/strmap.c
245
- - ext/rugged/vendor/libgit2-dist/tests-clar/core/strtol.c
246
- - ext/rugged/vendor/libgit2-dist/tests-clar/core/vector.c
247
- - ext/rugged/vendor/libgit2-dist/tests-clar/date/date.c
248
- - ext/rugged/vendor/libgit2-dist/tests-clar/diff/blob.c
249
- - ext/rugged/vendor/libgit2-dist/tests-clar/diff/diff_helpers.c
250
- - ext/rugged/vendor/libgit2-dist/tests-clar/diff/index.c
251
- - ext/rugged/vendor/libgit2-dist/tests-clar/diff/iterator.c
252
- - ext/rugged/vendor/libgit2-dist/tests-clar/diff/patch.c
253
- - ext/rugged/vendor/libgit2-dist/tests-clar/diff/tree.c
254
- - ext/rugged/vendor/libgit2-dist/tests-clar/diff/workdir.c
255
- - ext/rugged/vendor/libgit2-dist/tests-clar/index/read_tree.c
256
- - ext/rugged/vendor/libgit2-dist/tests-clar/index/rename.c
257
- - ext/rugged/vendor/libgit2-dist/tests-clar/index/tests.c
258
- - ext/rugged/vendor/libgit2-dist/tests-clar/network/createremotethenload.c
259
- - ext/rugged/vendor/libgit2-dist/tests-clar/network/remotelocal.c
260
- - ext/rugged/vendor/libgit2-dist/tests-clar/network/remotes.c
261
- - ext/rugged/vendor/libgit2-dist/tests-clar/notes/notes.c
262
- - ext/rugged/vendor/libgit2-dist/tests-clar/notes/notesref.c
263
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/blob/filter.c
264
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/blob/fromchunks.c
265
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/blob/write.c
266
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/commit/commitstagedfile.c
267
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/lookup.c
268
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/message.c
269
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/chars.c
270
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/compare.c
271
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/convert.c
272
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/fromstr.c
273
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/hash.c
274
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/short.c
275
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/size.c
276
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/type2string.c
277
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/write.c
278
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/tag/peel.c
279
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/tag/read.c
280
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/tag/write.c
281
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/tree/frompath.c
282
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/tree/read.c
283
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/tree/write.c
284
- - ext/rugged/vendor/libgit2-dist/tests-clar/odb/loose.c
285
- - ext/rugged/vendor/libgit2-dist/tests-clar/odb/mixed.c
286
- - ext/rugged/vendor/libgit2-dist/tests-clar/odb/packed.c
287
- - ext/rugged/vendor/libgit2-dist/tests-clar/odb/sorting.c
288
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/branches/create.c
289
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/branches/delete.c
290
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/branches/listall.c
291
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/branches/move.c
292
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/crashes.c
293
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/create.c
294
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/delete.c
295
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/list.c
296
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/listall.c
297
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/lookup.c
298
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/normalize.c
299
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/overwrite.c
300
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/pack.c
301
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/read.c
302
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/reflog.c
303
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/rename.c
304
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/revparse.c
305
- - ext/rugged/vendor/libgit2-dist/tests-clar/refs/unicode.c
306
- - ext/rugged/vendor/libgit2-dist/tests-clar/repo/discover.c
307
- - ext/rugged/vendor/libgit2-dist/tests-clar/repo/getters.c
308
- - ext/rugged/vendor/libgit2-dist/tests-clar/repo/init.c
309
- - ext/rugged/vendor/libgit2-dist/tests-clar/repo/open.c
310
- - ext/rugged/vendor/libgit2-dist/tests-clar/repo/setters.c
311
- - ext/rugged/vendor/libgit2-dist/tests-clar/reset/mixed.c
312
- - ext/rugged/vendor/libgit2-dist/tests-clar/reset/reset_helpers.c
313
- - ext/rugged/vendor/libgit2-dist/tests-clar/reset/soft.c
314
- - ext/rugged/vendor/libgit2-dist/tests-clar/revwalk/basic.c
315
- - ext/rugged/vendor/libgit2-dist/tests-clar/revwalk/mergebase.c
316
- - ext/rugged/vendor/libgit2-dist/tests-clar/status/ignore.c
317
- - ext/rugged/vendor/libgit2-dist/tests-clar/status/single.c
318
- - ext/rugged/vendor/libgit2-dist/tests-clar/status/status_helpers.c
319
- - ext/rugged/vendor/libgit2-dist/tests-clar/status/submodules.c
320
- - ext/rugged/vendor/libgit2-dist/tests-clar/status/worktree.c
321
- - ext/rugged/vendor/libgit2-dist/tests-clar/threads/basic.c
322
- - ext/rugged/rugged.h
323
- - ext/rugged/vendor/libgit2-dist/deps/http-parser/http_parser.h
324
- - ext/rugged/vendor/libgit2-dist/deps/regex/config.h
325
- - ext/rugged/vendor/libgit2-dist/deps/regex/regex.h
326
- - ext/rugged/vendor/libgit2-dist/deps/regex/regex_internal.h
327
- - ext/rugged/vendor/libgit2-dist/deps/zlib/crc32.h
328
- - ext/rugged/vendor/libgit2-dist/deps/zlib/deflate.h
329
- - ext/rugged/vendor/libgit2-dist/deps/zlib/inffast.h
330
- - ext/rugged/vendor/libgit2-dist/deps/zlib/inffixed.h
331
- - ext/rugged/vendor/libgit2-dist/deps/zlib/inflate.h
332
- - ext/rugged/vendor/libgit2-dist/deps/zlib/inftrees.h
333
- - ext/rugged/vendor/libgit2-dist/deps/zlib/trees.h
334
- - ext/rugged/vendor/libgit2-dist/deps/zlib/zconf.h
335
- - ext/rugged/vendor/libgit2-dist/deps/zlib/zlib.h
336
- - ext/rugged/vendor/libgit2-dist/deps/zlib/zutil.h
337
- - ext/rugged/vendor/libgit2-dist/examples/network/common.h
338
- - ext/rugged/vendor/libgit2-dist/include/git2/attr.h
339
- - ext/rugged/vendor/libgit2-dist/include/git2/blob.h
340
- - ext/rugged/vendor/libgit2-dist/include/git2/branch.h
341
- - ext/rugged/vendor/libgit2-dist/include/git2/commit.h
342
- - ext/rugged/vendor/libgit2-dist/include/git2/common.h
343
- - ext/rugged/vendor/libgit2-dist/include/git2/config.h
344
- - ext/rugged/vendor/libgit2-dist/include/git2/diff.h
345
- - ext/rugged/vendor/libgit2-dist/include/git2/errors.h
346
- - ext/rugged/vendor/libgit2-dist/include/git2/index.h
347
- - ext/rugged/vendor/libgit2-dist/include/git2/indexer.h
348
- - ext/rugged/vendor/libgit2-dist/include/git2/inttypes.h
349
- - ext/rugged/vendor/libgit2-dist/include/git2/merge.h
350
- - ext/rugged/vendor/libgit2-dist/include/git2/net.h
351
- - ext/rugged/vendor/libgit2-dist/include/git2/notes.h
352
- - ext/rugged/vendor/libgit2-dist/include/git2/object.h
353
- - ext/rugged/vendor/libgit2-dist/include/git2/odb.h
354
- - ext/rugged/vendor/libgit2-dist/include/git2/odb_backend.h
355
- - ext/rugged/vendor/libgit2-dist/include/git2/oid.h
356
- - ext/rugged/vendor/libgit2-dist/include/git2/reflog.h
357
- - ext/rugged/vendor/libgit2-dist/include/git2/refs.h
358
- - ext/rugged/vendor/libgit2-dist/include/git2/refspec.h
359
- - ext/rugged/vendor/libgit2-dist/include/git2/remote.h
360
- - ext/rugged/vendor/libgit2-dist/include/git2/repository.h
361
- - ext/rugged/vendor/libgit2-dist/include/git2/reset.h
362
- - ext/rugged/vendor/libgit2-dist/include/git2/revparse.h
363
- - ext/rugged/vendor/libgit2-dist/include/git2/revwalk.h
364
- - ext/rugged/vendor/libgit2-dist/include/git2/signature.h
365
- - ext/rugged/vendor/libgit2-dist/include/git2/status.h
366
- - ext/rugged/vendor/libgit2-dist/include/git2/stdint.h
367
- - ext/rugged/vendor/libgit2-dist/include/git2/submodule.h
368
- - ext/rugged/vendor/libgit2-dist/include/git2/tag.h
369
- - ext/rugged/vendor/libgit2-dist/include/git2/threads.h
370
- - ext/rugged/vendor/libgit2-dist/include/git2/tree.h
371
- - ext/rugged/vendor/libgit2-dist/include/git2/types.h
372
- - ext/rugged/vendor/libgit2-dist/include/git2/version.h
373
- - ext/rugged/vendor/libgit2-dist/include/git2/windows.h
374
- - ext/rugged/vendor/libgit2-dist/include/git2.h
375
- - ext/rugged/vendor/libgit2-dist/src/attr.h
376
- - ext/rugged/vendor/libgit2-dist/src/attr_file.h
377
- - ext/rugged/vendor/libgit2-dist/src/blob.h
378
- - ext/rugged/vendor/libgit2-dist/src/branch.h
379
- - ext/rugged/vendor/libgit2-dist/src/bswap.h
380
- - ext/rugged/vendor/libgit2-dist/src/buffer.h
381
- - ext/rugged/vendor/libgit2-dist/src/cache.h
382
- - ext/rugged/vendor/libgit2-dist/src/cc-compat.h
383
- - ext/rugged/vendor/libgit2-dist/src/commit.h
384
- - ext/rugged/vendor/libgit2-dist/src/common.h
385
- - ext/rugged/vendor/libgit2-dist/src/compat/fnmatch.h
386
- - ext/rugged/vendor/libgit2-dist/src/config.h
387
- - ext/rugged/vendor/libgit2-dist/src/config_file.h
388
- - ext/rugged/vendor/libgit2-dist/src/delta-apply.h
389
- - ext/rugged/vendor/libgit2-dist/src/diff.h
390
- - ext/rugged/vendor/libgit2-dist/src/fetch.h
391
- - ext/rugged/vendor/libgit2-dist/src/filebuf.h
392
- - ext/rugged/vendor/libgit2-dist/src/fileops.h
393
- - ext/rugged/vendor/libgit2-dist/src/filter.h
394
- - ext/rugged/vendor/libgit2-dist/src/global.h
395
- - ext/rugged/vendor/libgit2-dist/src/hash.h
396
- - ext/rugged/vendor/libgit2-dist/src/ignore.h
397
- - ext/rugged/vendor/libgit2-dist/src/index.h
398
- - ext/rugged/vendor/libgit2-dist/src/iterator.h
399
- - ext/rugged/vendor/libgit2-dist/src/khash.h
400
- - ext/rugged/vendor/libgit2-dist/src/map.h
401
- - ext/rugged/vendor/libgit2-dist/src/message.h
402
- - ext/rugged/vendor/libgit2-dist/src/mwindow.h
403
- - ext/rugged/vendor/libgit2-dist/src/netops.h
404
- - ext/rugged/vendor/libgit2-dist/src/notes.h
405
- - ext/rugged/vendor/libgit2-dist/src/odb.h
406
- - ext/rugged/vendor/libgit2-dist/src/oidmap.h
407
- - ext/rugged/vendor/libgit2-dist/src/pack.h
408
- - ext/rugged/vendor/libgit2-dist/src/path.h
409
- - ext/rugged/vendor/libgit2-dist/src/pkt.h
410
- - ext/rugged/vendor/libgit2-dist/src/pool.h
411
- - ext/rugged/vendor/libgit2-dist/src/posix.h
412
- - ext/rugged/vendor/libgit2-dist/src/ppc/sha1.h
413
- - ext/rugged/vendor/libgit2-dist/src/pqueue.h
414
- - ext/rugged/vendor/libgit2-dist/src/protocol.h
415
- - ext/rugged/vendor/libgit2-dist/src/reflog.h
416
- - ext/rugged/vendor/libgit2-dist/src/refs.h
417
- - ext/rugged/vendor/libgit2-dist/src/refspec.h
418
- - ext/rugged/vendor/libgit2-dist/src/remote.h
419
- - ext/rugged/vendor/libgit2-dist/src/repository.h
420
- - ext/rugged/vendor/libgit2-dist/src/sha1.h
421
- - ext/rugged/vendor/libgit2-dist/src/sha1_lookup.h
422
- - ext/rugged/vendor/libgit2-dist/src/signature.h
423
- - ext/rugged/vendor/libgit2-dist/src/strmap.h
424
- - ext/rugged/vendor/libgit2-dist/src/tag.h
425
- - ext/rugged/vendor/libgit2-dist/src/thread-utils.h
426
- - ext/rugged/vendor/libgit2-dist/src/transport.h
427
- - ext/rugged/vendor/libgit2-dist/src/tree-cache.h
428
- - ext/rugged/vendor/libgit2-dist/src/tree.h
429
- - ext/rugged/vendor/libgit2-dist/src/unix/posix.h
430
- - ext/rugged/vendor/libgit2-dist/src/util.h
431
- - ext/rugged/vendor/libgit2-dist/src/vector.h
432
- - ext/rugged/vendor/libgit2-dist/src/win32/dir.h
433
- - ext/rugged/vendor/libgit2-dist/src/win32/mingw-compat.h
434
- - ext/rugged/vendor/libgit2-dist/src/win32/msvc-compat.h
435
- - ext/rugged/vendor/libgit2-dist/src/win32/posix.h
436
- - ext/rugged/vendor/libgit2-dist/src/win32/pthread.h
437
- - ext/rugged/vendor/libgit2-dist/src/win32/utf-conv.h
438
- - ext/rugged/vendor/libgit2-dist/src/xdiff/xdiff.h
439
- - ext/rugged/vendor/libgit2-dist/src/xdiff/xdiffi.h
440
- - ext/rugged/vendor/libgit2-dist/src/xdiff/xemit.h
441
- - ext/rugged/vendor/libgit2-dist/src/xdiff/xinclude.h
442
- - ext/rugged/vendor/libgit2-dist/src/xdiff/xmacros.h
443
- - ext/rugged/vendor/libgit2-dist/src/xdiff/xprepare.h
444
- - ext/rugged/vendor/libgit2-dist/src/xdiff/xtypes.h
445
- - ext/rugged/vendor/libgit2-dist/src/xdiff/xutils.h
446
- - ext/rugged/vendor/libgit2-dist/tests-clar/attr/attr_expect.h
447
- - ext/rugged/vendor/libgit2-dist/tests-clar/clar_libgit2.h
448
- - ext/rugged/vendor/libgit2-dist/tests-clar/diff/diff_helpers.h
449
- - ext/rugged/vendor/libgit2-dist/tests-clar/object/raw/data.h
450
- - ext/rugged/vendor/libgit2-dist/tests-clar/odb/loose_data.h
451
- - ext/rugged/vendor/libgit2-dist/tests-clar/odb/pack_data.h
452
- - ext/rugged/vendor/libgit2-dist/tests-clar/reset/reset_helpers.h
453
- - ext/rugged/vendor/libgit2-dist/tests-clar/status/status_data.h
454
- - ext/rugged/vendor/libgit2-dist/tests-clar/status/status_helpers.h
455
- - ext/rugged/vendor/libgit2-dist.tar.gz
147
+ - vendor/libgit2/include/git2/attr.h
148
+ - vendor/libgit2/include/git2/blob.h
149
+ - vendor/libgit2/include/git2/branch.h
150
+ - vendor/libgit2/include/git2/checkout.h
151
+ - vendor/libgit2/include/git2/clone.h
152
+ - vendor/libgit2/include/git2/commit.h
153
+ - vendor/libgit2/include/git2/common.h
154
+ - vendor/libgit2/include/git2/config.h
155
+ - vendor/libgit2/include/git2/diff.h
156
+ - vendor/libgit2/include/git2/errors.h
157
+ - vendor/libgit2/include/git2/ignore.h
158
+ - vendor/libgit2/include/git2/index.h
159
+ - vendor/libgit2/include/git2/indexer.h
160
+ - vendor/libgit2/include/git2/inttypes.h
161
+ - vendor/libgit2/include/git2/merge.h
162
+ - vendor/libgit2/include/git2/message.h
163
+ - vendor/libgit2/include/git2/net.h
164
+ - vendor/libgit2/include/git2/notes.h
165
+ - vendor/libgit2/include/git2/object.h
166
+ - vendor/libgit2/include/git2/odb.h
167
+ - vendor/libgit2/include/git2/odb_backend.h
168
+ - vendor/libgit2/include/git2/oid.h
169
+ - vendor/libgit2/include/git2/reflog.h
170
+ - vendor/libgit2/include/git2/refs.h
171
+ - vendor/libgit2/include/git2/refspec.h
172
+ - vendor/libgit2/include/git2/remote.h
173
+ - vendor/libgit2/include/git2/repository.h
174
+ - vendor/libgit2/include/git2/reset.h
175
+ - vendor/libgit2/include/git2/revparse.h
176
+ - vendor/libgit2/include/git2/revwalk.h
177
+ - vendor/libgit2/include/git2/signature.h
178
+ - vendor/libgit2/include/git2/status.h
179
+ - vendor/libgit2/include/git2/stdint.h
180
+ - vendor/libgit2/include/git2/submodule.h
181
+ - vendor/libgit2/include/git2/tag.h
182
+ - vendor/libgit2/include/git2/threads.h
183
+ - vendor/libgit2/include/git2/tree.h
184
+ - vendor/libgit2/include/git2/types.h
185
+ - vendor/libgit2/include/git2/version.h
186
+ - vendor/libgit2/include/git2/windows.h
187
+ - vendor/libgit2/include/git2.h
188
+ - vendor/libgit2/src/amiga/map.c
189
+ - vendor/libgit2/src/attr.c
190
+ - vendor/libgit2/src/attr.h
191
+ - vendor/libgit2/src/attr_file.c
192
+ - vendor/libgit2/src/attr_file.h
193
+ - vendor/libgit2/src/blob.c
194
+ - vendor/libgit2/src/blob.h
195
+ - vendor/libgit2/src/branch.c
196
+ - vendor/libgit2/src/bswap.h
197
+ - vendor/libgit2/src/buffer.c
198
+ - vendor/libgit2/src/buffer.h
199
+ - vendor/libgit2/src/cache.c
200
+ - vendor/libgit2/src/cache.h
201
+ - vendor/libgit2/src/cc-compat.h
202
+ - vendor/libgit2/src/checkout.c
203
+ - vendor/libgit2/src/clone.c
204
+ - vendor/libgit2/src/commit.c
205
+ - vendor/libgit2/src/commit.h
206
+ - vendor/libgit2/src/common.h
207
+ - vendor/libgit2/src/compat/fnmatch.c
208
+ - vendor/libgit2/src/compat/fnmatch.h
209
+ - vendor/libgit2/src/config.c
210
+ - vendor/libgit2/src/config.h
211
+ - vendor/libgit2/src/config_cache.c
212
+ - vendor/libgit2/src/config_file.c
213
+ - vendor/libgit2/src/config_file.h
214
+ - vendor/libgit2/src/crlf.c
215
+ - vendor/libgit2/src/date.c
216
+ - vendor/libgit2/src/delta-apply.c
217
+ - vendor/libgit2/src/delta-apply.h
218
+ - vendor/libgit2/src/diff.c
219
+ - vendor/libgit2/src/diff.h
220
+ - vendor/libgit2/src/diff_output.c
221
+ - vendor/libgit2/src/errors.c
222
+ - vendor/libgit2/src/fetch.c
223
+ - vendor/libgit2/src/fetch.h
224
+ - vendor/libgit2/src/filebuf.c
225
+ - vendor/libgit2/src/filebuf.h
226
+ - vendor/libgit2/src/fileops.c
227
+ - vendor/libgit2/src/fileops.h
228
+ - vendor/libgit2/src/filter.c
229
+ - vendor/libgit2/src/filter.h
230
+ - vendor/libgit2/src/global.c
231
+ - vendor/libgit2/src/global.h
232
+ - vendor/libgit2/src/hash.c
233
+ - vendor/libgit2/src/hash.h
234
+ - vendor/libgit2/src/ignore.c
235
+ - vendor/libgit2/src/ignore.h
236
+ - vendor/libgit2/src/index.c
237
+ - vendor/libgit2/src/index.h
238
+ - vendor/libgit2/src/indexer.c
239
+ - vendor/libgit2/src/iterator.c
240
+ - vendor/libgit2/src/iterator.h
241
+ - vendor/libgit2/src/khash.h
242
+ - vendor/libgit2/src/map.h
243
+ - vendor/libgit2/src/message.c
244
+ - vendor/libgit2/src/message.h
245
+ - vendor/libgit2/src/mwindow.c
246
+ - vendor/libgit2/src/mwindow.h
247
+ - vendor/libgit2/src/netops.c
248
+ - vendor/libgit2/src/netops.h
249
+ - vendor/libgit2/src/notes.c
250
+ - vendor/libgit2/src/notes.h
251
+ - vendor/libgit2/src/object.c
252
+ - vendor/libgit2/src/odb.c
253
+ - vendor/libgit2/src/odb.h
254
+ - vendor/libgit2/src/odb_loose.c
255
+ - vendor/libgit2/src/odb_pack.c
256
+ - vendor/libgit2/src/oid.c
257
+ - vendor/libgit2/src/oidmap.h
258
+ - vendor/libgit2/src/pack.c
259
+ - vendor/libgit2/src/pack.h
260
+ - vendor/libgit2/src/path.c
261
+ - vendor/libgit2/src/path.h
262
+ - vendor/libgit2/src/pkt.c
263
+ - vendor/libgit2/src/pkt.h
264
+ - vendor/libgit2/src/pool.c
265
+ - vendor/libgit2/src/pool.h
266
+ - vendor/libgit2/src/posix.c
267
+ - vendor/libgit2/src/posix.h
268
+ - vendor/libgit2/src/ppc/sha1.c
269
+ - vendor/libgit2/src/ppc/sha1.h
270
+ - vendor/libgit2/src/pqueue.c
271
+ - vendor/libgit2/src/pqueue.h
272
+ - vendor/libgit2/src/protocol.c
273
+ - vendor/libgit2/src/protocol.h
274
+ - vendor/libgit2/src/reflog.c
275
+ - vendor/libgit2/src/reflog.h
276
+ - vendor/libgit2/src/refs.c
277
+ - vendor/libgit2/src/refs.h
278
+ - vendor/libgit2/src/refspec.c
279
+ - vendor/libgit2/src/refspec.h
280
+ - vendor/libgit2/src/remote.c
281
+ - vendor/libgit2/src/remote.h
282
+ - vendor/libgit2/src/repository.c
283
+ - vendor/libgit2/src/repository.h
284
+ - vendor/libgit2/src/reset.c
285
+ - vendor/libgit2/src/revparse.c
286
+ - vendor/libgit2/src/revwalk.c
287
+ - vendor/libgit2/src/sha1.c
288
+ - vendor/libgit2/src/sha1.h
289
+ - vendor/libgit2/src/sha1_lookup.c
290
+ - vendor/libgit2/src/sha1_lookup.h
291
+ - vendor/libgit2/src/signature.c
292
+ - vendor/libgit2/src/signature.h
293
+ - vendor/libgit2/src/status.c
294
+ - vendor/libgit2/src/strmap.h
295
+ - vendor/libgit2/src/submodule.c
296
+ - vendor/libgit2/src/tag.c
297
+ - vendor/libgit2/src/tag.h
298
+ - vendor/libgit2/src/thread-utils.c
299
+ - vendor/libgit2/src/thread-utils.h
300
+ - vendor/libgit2/src/transport.c
301
+ - vendor/libgit2/src/transport.h
302
+ - vendor/libgit2/src/transports/git.c
303
+ - vendor/libgit2/src/transports/http.c
304
+ - vendor/libgit2/src/transports/local.c
305
+ - vendor/libgit2/src/tree-cache.c
306
+ - vendor/libgit2/src/tree-cache.h
307
+ - vendor/libgit2/src/tree.c
308
+ - vendor/libgit2/src/tree.h
309
+ - vendor/libgit2/src/tsort.c
310
+ - vendor/libgit2/src/unix/map.c
311
+ - vendor/libgit2/src/unix/posix.h
312
+ - vendor/libgit2/src/util.c
313
+ - vendor/libgit2/src/util.h
314
+ - vendor/libgit2/src/vector.c
315
+ - vendor/libgit2/src/vector.h
316
+ - vendor/libgit2/src/win32/dir.c
317
+ - vendor/libgit2/src/win32/dir.h
318
+ - vendor/libgit2/src/win32/map.c
319
+ - vendor/libgit2/src/win32/mingw-compat.h
320
+ - vendor/libgit2/src/win32/msvc-compat.h
321
+ - vendor/libgit2/src/win32/posix.h
322
+ - vendor/libgit2/src/win32/posix_w32.c
323
+ - vendor/libgit2/src/win32/precompiled.c
324
+ - vendor/libgit2/src/win32/precompiled.h
325
+ - vendor/libgit2/src/win32/pthread.c
326
+ - vendor/libgit2/src/win32/pthread.h
327
+ - vendor/libgit2/src/win32/utf-conv.c
328
+ - vendor/libgit2/src/win32/utf-conv.h
329
+ - vendor/libgit2/src/xdiff/xdiff.h
330
+ - vendor/libgit2/src/xdiff/xdiffi.c
331
+ - vendor/libgit2/src/xdiff/xdiffi.h
332
+ - vendor/libgit2/src/xdiff/xemit.c
333
+ - vendor/libgit2/src/xdiff/xemit.h
334
+ - vendor/libgit2/src/xdiff/xhistogram.c
335
+ - vendor/libgit2/src/xdiff/xinclude.h
336
+ - vendor/libgit2/src/xdiff/xmacros.h
337
+ - vendor/libgit2/src/xdiff/xmerge.c
338
+ - vendor/libgit2/src/xdiff/xpatience.c
339
+ - vendor/libgit2/src/xdiff/xprepare.c
340
+ - vendor/libgit2/src/xdiff/xprepare.h
341
+ - vendor/libgit2/src/xdiff/xtypes.h
342
+ - vendor/libgit2/src/xdiff/xutils.c
343
+ - vendor/libgit2/src/xdiff/xutils.h
344
+ - vendor/libgit2/deps/http-parser/http_parser.c
345
+ - vendor/libgit2/deps/http-parser/http_parser.h
346
+ - vendor/libgit2/deps/regex/config.h
347
+ - vendor/libgit2/deps/regex/regcomp.c
348
+ - vendor/libgit2/deps/regex/regex.c
349
+ - vendor/libgit2/deps/regex/regex.h
350
+ - vendor/libgit2/deps/regex/regex_internal.c
351
+ - vendor/libgit2/deps/regex/regex_internal.h
352
+ - vendor/libgit2/deps/regex/regexec.c
353
+ - vendor/libgit2/deps/zlib/adler32.c
354
+ - vendor/libgit2/deps/zlib/crc32.c
355
+ - vendor/libgit2/deps/zlib/crc32.h
356
+ - vendor/libgit2/deps/zlib/deflate.c
357
+ - vendor/libgit2/deps/zlib/deflate.h
358
+ - vendor/libgit2/deps/zlib/inffast.c
359
+ - vendor/libgit2/deps/zlib/inffast.h
360
+ - vendor/libgit2/deps/zlib/inffixed.h
361
+ - vendor/libgit2/deps/zlib/inflate.c
362
+ - vendor/libgit2/deps/zlib/inflate.h
363
+ - vendor/libgit2/deps/zlib/inftrees.c
364
+ - vendor/libgit2/deps/zlib/inftrees.h
365
+ - vendor/libgit2/deps/zlib/trees.c
366
+ - vendor/libgit2/deps/zlib/trees.h
367
+ - vendor/libgit2/deps/zlib/zconf.h
368
+ - vendor/libgit2/deps/zlib/zlib.h
369
+ - vendor/libgit2/deps/zlib/zutil.c
370
+ - vendor/libgit2/deps/zlib/zutil.h
371
+ - vendor/libgit2/Makefile.embed
456
372
  - ext/rugged/extconf.rb
373
+ has_rdoc: true
457
374
  homepage: http://github.com/libgit2/rugged
458
375
  licenses: []
459
376
 
@@ -485,7 +402,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
485
402
  requirements: []
486
403
 
487
404
  rubyforge_project:
488
- rubygems_version: 1.8.17
405
+ rubygems_version: 1.6.2
489
406
  signing_key:
490
407
  specification_version: 3
491
408
  summary: Rugged is a Ruby binding to the libgit2 linkable library