git 1.0.5 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of git might be problematic. Click here for more details.

Files changed (735) hide show
  1. data/README +7 -1
  2. data/lib/git.rb +14 -0
  3. data/lib/git/base.rb +59 -44
  4. data/lib/git/branch.rb +3 -5
  5. data/lib/git/branches.rb +4 -13
  6. data/lib/git/diff.rb +20 -17
  7. data/lib/git/lib.rb +147 -111
  8. data/lib/git/log.rb +40 -17
  9. data/lib/git/object.rb +70 -85
  10. data/lib/git/remote.rb +1 -3
  11. data/lib/git/stash.rb +2 -1
  12. data/lib/git/stashes.rb +5 -10
  13. data/lib/git/status.rb +7 -15
  14. metadata +42 -1106
  15. data/doc/classes/Git.html +0 -378
  16. data/doc/classes/Git.src/M000001.html +0 -18
  17. data/doc/classes/Git.src/M000002.html +0 -18
  18. data/doc/classes/Git.src/M000003.html +0 -18
  19. data/doc/classes/Git.src/M000004.html +0 -18
  20. data/doc/classes/Git/Author.html +0 -175
  21. data/doc/classes/Git/Base.html +0 -1764
  22. data/doc/classes/Git/Base.src/M000076.html +0 -18
  23. data/doc/classes/Git/Base.src/M000077.html +0 -21
  24. data/doc/classes/Git/Base.src/M000078.html +0 -30
  25. data/doc/classes/Git/Base.src/M000079.html +0 -19
  26. data/doc/classes/Git/Base.src/M000080.html +0 -25
  27. data/doc/classes/Git/Base.src/M000081.html +0 -18
  28. data/doc/classes/Git/Base.src/M000082.html +0 -18
  29. data/doc/classes/Git/Base.src/M000083.html +0 -18
  30. data/doc/classes/Git/Base.src/M000084.html +0 -20
  31. data/doc/classes/Git/Base.src/M000085.html +0 -22
  32. data/doc/classes/Git/Base.src/M000086.html +0 -27
  33. data/doc/classes/Git/Base.src/M000087.html +0 -18
  34. data/doc/classes/Git/Base.src/M000091.html +0 -18
  35. data/doc/classes/Git/Base.src/M000092.html +0 -18
  36. data/doc/classes/Git/Base.src/M000093.html +0 -18
  37. data/doc/classes/Git/Base.src/M000094.html +0 -18
  38. data/doc/classes/Git/Base.src/M000095.html +0 -18
  39. data/doc/classes/Git/Base.src/M000096.html +0 -18
  40. data/doc/classes/Git/Base.src/M000097.html +0 -18
  41. data/doc/classes/Git/Base.src/M000098.html +0 -18
  42. data/doc/classes/Git/Base.src/M000099.html +0 -18
  43. data/doc/classes/Git/Base.src/M000100.html +0 -18
  44. data/doc/classes/Git/Base.src/M000101.html +0 -18
  45. data/doc/classes/Git/Base.src/M000102.html +0 -19
  46. data/doc/classes/Git/Base.src/M000103.html +0 -18
  47. data/doc/classes/Git/Base.src/M000104.html +0 -19
  48. data/doc/classes/Git/Base.src/M000105.html +0 -18
  49. data/doc/classes/Git/Base.src/M000106.html +0 -18
  50. data/doc/classes/Git/Base.src/M000107.html +0 -18
  51. data/doc/classes/Git/Base.src/M000108.html +0 -19
  52. data/doc/classes/Git/Base.src/M000109.html +0 -18
  53. data/doc/classes/Git/Base.src/M000110.html +0 -22
  54. data/doc/classes/Git/Base.src/M000111.html +0 -18
  55. data/doc/classes/Git/Base.src/M000112.html +0 -18
  56. data/doc/classes/Git/Base.src/M000113.html +0 -19
  57. data/doc/classes/Git/Base.src/M000114.html +0 -18
  58. data/doc/classes/Git/Base.src/M000115.html +0 -18
  59. data/doc/classes/Git/Base.src/M000116.html +0 -18
  60. data/doc/classes/Git/Branch.html +0 -477
  61. data/doc/classes/Git/Branch.src/M000066.html +0 -28
  62. data/doc/classes/Git/Branch.src/M000067.html +0 -19
  63. data/doc/classes/Git/Branch.src/M000068.html +0 -19
  64. data/doc/classes/Git/Branch.src/M000069.html +0 -25
  65. data/doc/classes/Git/Branch.src/M000070.html +0 -18
  66. data/doc/classes/Git/Branch.src/M000071.html +0 -18
  67. data/doc/classes/Git/Branch.src/M000072.html +0 -18
  68. data/doc/classes/Git/Branch.src/M000073.html +0 -27
  69. data/doc/classes/Git/Branch.src/M000074.html +0 -18
  70. data/doc/classes/Git/Branch.src/M000075.html +0 -18
  71. data/doc/classes/Git/Branches.html +0 -294
  72. data/doc/classes/Git/Branches.src/M000060.html +0 -24
  73. data/doc/classes/Git/Branches.src/M000061.html +0 -18
  74. data/doc/classes/Git/Branches.src/M000062.html +0 -18
  75. data/doc/classes/Git/Branches.src/M000063.html +0 -18
  76. data/doc/classes/Git/Branches.src/M000064.html +0 -20
  77. data/doc/classes/Git/Branches.src/M000065.html +0 -18
  78. data/doc/classes/Git/Diff.html +0 -419
  79. data/doc/classes/Git/Diff.src/M000134.html +0 -20
  80. data/doc/classes/Git/Diff.src/M000135.html +0 -19
  81. data/doc/classes/Git/Diff.src/M000136.html +0 -19
  82. data/doc/classes/Git/Diff.src/M000137.html +0 -19
  83. data/doc/classes/Git/Diff.src/M000138.html +0 -19
  84. data/doc/classes/Git/Diff.src/M000139.html +0 -19
  85. data/doc/classes/Git/Diff.src/M000140.html +0 -19
  86. data/doc/classes/Git/Diff.src/M000141.html +0 -19
  87. data/doc/classes/Git/Diff.src/M000143.html +0 -19
  88. data/doc/classes/Git/Diff.src/M000144.html +0 -21
  89. data/doc/classes/Git/Diff/DiffFile.html +0 -220
  90. data/doc/classes/Git/Diff/DiffFile.src/M000145.html +0 -24
  91. data/doc/classes/Git/Diff/DiffFile.src/M000146.html +0 -22
  92. data/doc/classes/Git/GitExecuteError.html +0 -111
  93. data/doc/classes/Git/GitTagNameDoesNotExist.html +0 -111
  94. data/doc/classes/Git/Index.html +0 -113
  95. data/doc/classes/Git/Lib.html +0 -1560
  96. data/doc/classes/Git/Lib.src/M000024.html +0 -26
  97. data/doc/classes/Git/Lib.src/M000025.html +0 -18
  98. data/doc/classes/Git/Lib.src/M000026.html +0 -29
  99. data/doc/classes/Git/Lib.src/M000027.html +0 -25
  100. data/doc/classes/Git/Lib.src/M000028.html +0 -18
  101. data/doc/classes/Git/Lib.src/M000029.html +0 -18
  102. data/doc/classes/Git/Lib.src/M000030.html +0 -18
  103. data/doc/classes/Git/Lib.src/M000031.html +0 -18
  104. data/doc/classes/Git/Lib.src/M000032.html +0 -24
  105. data/doc/classes/Git/Lib.src/M000033.html +0 -18
  106. data/doc/classes/Git/Lib.src/M000034.html +0 -33
  107. data/doc/classes/Git/Lib.src/M000035.html +0 -23
  108. data/doc/classes/Git/Lib.src/M000036.html +0 -34
  109. data/doc/classes/Git/Lib.src/M000037.html +0 -25
  110. data/doc/classes/Git/Lib.src/M000038.html +0 -25
  111. data/doc/classes/Git/Lib.src/M000039.html +0 -24
  112. data/doc/classes/Git/Lib.src/M000040.html +0 -23
  113. data/doc/classes/Git/Lib.src/M000041.html +0 -18
  114. data/doc/classes/Git/Lib.src/M000042.html +0 -23
  115. data/doc/classes/Git/Lib.src/M000043.html +0 -18
  116. data/doc/classes/Git/Lib.src/M000044.html +0 -19
  117. data/doc/classes/Git/Lib.src/M000045.html +0 -24
  118. data/doc/classes/Git/Lib.src/M000046.html +0 -20
  119. data/doc/classes/Git/Lib.src/M000047.html +0 -21
  120. data/doc/classes/Git/Lib.src/M000048.html +0 -18
  121. data/doc/classes/Git/Lib.src/M000049.html +0 -18
  122. data/doc/classes/Git/Lib.src/M000050.html +0 -22
  123. data/doc/classes/Git/Lib.src/M000051.html +0 -21
  124. data/doc/classes/Git/Lib.src/M000052.html +0 -23
  125. data/doc/classes/Git/Lib.src/M000053.html +0 -18
  126. data/doc/classes/Git/Lib.src/M000054.html +0 -18
  127. data/doc/classes/Git/Lib.src/M000055.html +0 -18
  128. data/doc/classes/Git/Lib.src/M000056.html +0 -18
  129. data/doc/classes/Git/Lib.src/M000057.html +0 -18
  130. data/doc/classes/Git/Lib.src/M000058.html +0 -18
  131. data/doc/classes/Git/Lib.src/M000059.html +0 -18
  132. data/doc/classes/Git/Log.html +0 -373
  133. data/doc/classes/Git/Log.src/M000015.html +0 -20
  134. data/doc/classes/Git/Log.src/M000016.html +0 -20
  135. data/doc/classes/Git/Log.src/M000017.html +0 -20
  136. data/doc/classes/Git/Log.src/M000018.html +0 -20
  137. data/doc/classes/Git/Log.src/M000019.html +0 -20
  138. data/doc/classes/Git/Log.src/M000020.html +0 -18
  139. data/doc/classes/Git/Log.src/M000021.html +0 -19
  140. data/doc/classes/Git/Log.src/M000022.html +0 -21
  141. data/doc/classes/Git/Log.src/M000023.html +0 -19
  142. data/doc/classes/Git/Object.html +0 -186
  143. data/doc/classes/Git/Object.src/M000120.html +0 -35
  144. data/doc/classes/Git/Object/AbstractObject.html +0 -522
  145. data/doc/classes/Git/Object/AbstractObject.src/M000122.html +0 -21
  146. data/doc/classes/Git/Object/AbstractObject.src/M000123.html +0 -18
  147. data/doc/classes/Git/Object/AbstractObject.src/M000124.html +0 -18
  148. data/doc/classes/Git/Object/AbstractObject.src/M000125.html +0 -18
  149. data/doc/classes/Git/Object/AbstractObject.src/M000126.html +0 -18
  150. data/doc/classes/Git/Object/AbstractObject.src/M000127.html +0 -20
  151. data/doc/classes/Git/Object/AbstractObject.src/M000128.html +0 -18
  152. data/doc/classes/Git/Object/AbstractObject.src/M000129.html +0 -18
  153. data/doc/classes/Git/Object/Blob.html +0 -149
  154. data/doc/classes/Git/Object/Blob.src/M000132.html +0 -18
  155. data/doc/classes/Git/Object/Commit.html +0 -453
  156. data/doc/classes/Git/Object/Commit.src/M000121.html +0 -18
  157. data/doc/classes/Git/Object/Tag.html +0 -162
  158. data/doc/classes/Git/Object/Tag.src/M000130.html +0 -19
  159. data/doc/classes/Git/Object/Tag.src/M000131.html +0 -18
  160. data/doc/classes/Git/Object/Tree.html +0 -270
  161. data/doc/classes/Git/Object/Tree.src/M000133.html +0 -18
  162. data/doc/classes/Git/Path.html +0 -239
  163. data/doc/classes/Git/Path.src/M000117.html +0 -22
  164. data/doc/classes/Git/Path.src/M000118.html +0 -18
  165. data/doc/classes/Git/Path.src/M000119.html +0 -18
  166. data/doc/classes/Git/Remote.html +0 -324
  167. data/doc/classes/Git/Remote.src/M000147.html +0 -22
  168. data/doc/classes/Git/Remote.src/M000148.html +0 -18
  169. data/doc/classes/Git/Remote.src/M000149.html +0 -18
  170. data/doc/classes/Git/Remote.src/M000150.html +0 -18
  171. data/doc/classes/Git/Remote.src/M000151.html +0 -18
  172. data/doc/classes/Git/Remote.src/M000152.html +0 -18
  173. data/doc/classes/Git/Remote.src/M000153.html +0 -18
  174. data/doc/classes/Git/Repository.html +0 -113
  175. data/doc/classes/Git/Status.html +0 -348
  176. data/doc/classes/Git/Status.src/M000005.html +0 -19
  177. data/doc/classes/Git/Status.src/M000006.html +0 -18
  178. data/doc/classes/Git/Status.src/M000007.html +0 -18
  179. data/doc/classes/Git/Status.src/M000008.html +0 -18
  180. data/doc/classes/Git/Status.src/M000009.html +0 -18
  181. data/doc/classes/Git/Status.src/M000010.html +0 -29
  182. data/doc/classes/Git/Status.src/M000011.html +0 -18
  183. data/doc/classes/Git/Status.src/M000012.html +0 -20
  184. data/doc/classes/Git/Status/StatusFile.html +0 -232
  185. data/doc/classes/Git/Status/StatusFile.src/M000013.html +0 -26
  186. data/doc/classes/Git/Status/StatusFile.src/M000014.html +0 -22
  187. data/doc/classes/Git/WorkingDirectory.html +0 -113
  188. data/doc/created.rid +0 -1
  189. data/doc/files/EXAMPLES.html +0 -247
  190. data/doc/files/README.html +0 -380
  191. data/doc/files/lib/git/author_rb.html +0 -101
  192. data/doc/files/lib/git/base_rb.html +0 -101
  193. data/doc/files/lib/git/branch_rb.html +0 -101
  194. data/doc/files/lib/git/branches_rb.html +0 -101
  195. data/doc/files/lib/git/diff_rb.html +0 -101
  196. data/doc/files/lib/git/index_rb.html +0 -101
  197. data/doc/files/lib/git/lib_rb.html +0 -108
  198. data/doc/files/lib/git/log_rb.html +0 -101
  199. data/doc/files/lib/git/object_rb.html +0 -101
  200. data/doc/files/lib/git/path_rb.html +0 -101
  201. data/doc/files/lib/git/remote_rb.html +0 -101
  202. data/doc/files/lib/git/repository_rb.html +0 -101
  203. data/doc/files/lib/git/status_rb.html +0 -101
  204. data/doc/files/lib/git/working_directory_rb.html +0 -101
  205. data/doc/files/lib/git_rb.html +0 -128
  206. data/doc/fr_class_index.html +0 -50
  207. data/doc/fr_file_index.html +0 -42
  208. data/doc/fr_method_index.html +0 -234
  209. data/doc/index.html +0 -24
  210. data/doc/rdoc-style.css +0 -208
  211. data/lib/git/lib.rb.orig +0 -620
  212. data/tests/all_tests.rb +0 -4
  213. data/tests/files/index +0 -0
  214. data/tests/files/working.git/HEAD +0 -1
  215. data/tests/files/working.git/config +0 -4
  216. data/tests/files/working.git/description +0 -1
  217. data/tests/files/working.git/hooks/applypatch-msg +0 -15
  218. data/tests/files/working.git/hooks/commit-msg +0 -21
  219. data/tests/files/working.git/hooks/post-commit +0 -8
  220. data/tests/files/working.git/hooks/post-receive +0 -16
  221. data/tests/files/working.git/hooks/post-update +0 -8
  222. data/tests/files/working.git/hooks/pre-applypatch +0 -14
  223. data/tests/files/working.git/hooks/pre-commit +0 -70
  224. data/tests/files/working.git/hooks/pre-rebase +0 -150
  225. data/tests/files/working.git/hooks/update +0 -78
  226. data/tests/files/working.git/info/exclude +0 -6
  227. data/tests/files/working.git/info/refs +0 -10
  228. data/tests/files/working.git/objects/00/62cdf4c1e63069eececf54325535e91fd57c42 +0 -0
  229. data/tests/files/working.git/objects/00/ea60e1331b184386392037a7267dfb4a7c7d86 +0 -0
  230. data/tests/files/working.git/objects/01/0b7b79019cb510d8c5849704fd10541655916d +0 -0
  231. data/tests/files/working.git/objects/01/dd46ebe07fc30c10c85c2e926c70f2d7058a6b +0 -0
  232. data/tests/files/working.git/objects/02/b2a02844d00574c234d17bec6294e832f3c4c1 +0 -0
  233. data/tests/files/working.git/objects/06/f4e8a840d23fc0ab94895a5d16827a19f75fb7 +0 -0
  234. data/tests/files/working.git/objects/0b/2fe00801b62b7760c23d554796b05abc16af92 +0 -0
  235. data/tests/files/working.git/objects/0b/5262f6ee3552a99b7081a317e8289d6a4d8e72 +0 -0
  236. data/tests/files/working.git/objects/0b/c0d846cf80b079e763e35c3af273171bf01fca +0 -0
  237. data/tests/files/working.git/objects/0d/2c47f07277b3ea30b0884f8e3acd68440507c8 +0 -0
  238. data/tests/files/working.git/objects/0d/519ca9c2eddc44431efe135d0fc8df00e0b975 +0 -0
  239. data/tests/files/working.git/objects/0f/845a0a981bc2f61354fcdd2b6eafe2b2c55c2d +0 -3
  240. data/tests/files/working.git/objects/0f/f4a0357c3d7221a2ef1e4c6b7d5c46d97fe250 +0 -0
  241. data/tests/files/working.git/objects/12/eb889f49f1464b32a51424d7724fb16f6c3a31 +0 -0
  242. data/tests/files/working.git/objects/15/34a65657edf4e5caaa5ce35652dca5e4c7d316 +0 -0
  243. data/tests/files/working.git/objects/15/378a1f3eafe4c5ab4f890883356df917ee5539 +0 -2
  244. data/tests/files/working.git/objects/16/9e6db43d4c09cd610179a7b9826483b4d94123 +0 -0
  245. data/tests/files/working.git/objects/16/d1f96acfd92d09c4f1f56d3441ac55dd30500e +0 -0
  246. data/tests/files/working.git/objects/16/ee5335538f11b4ffcc17b051f8d5db7570a055 +0 -0
  247. data/tests/files/working.git/objects/17/9ef0e0209e90af00f544ff414e0674dfb5f5c7 +0 -0
  248. data/tests/files/working.git/objects/19/9d2f8e60fddd1bb2a1b0bddedde35e5aa8b03f +0 -0
  249. data/tests/files/working.git/objects/1c/c8667014381e2788a94777532a788307f38d26 +0 -1
  250. data/tests/files/working.git/objects/1c/fcfba04eb4e461e9f930d22f528023ab1ddefc +0 -0
  251. data/tests/files/working.git/objects/1d/7be4117ded4534789d85c42ab579644cd3fa12 +0 -0
  252. data/tests/files/working.git/objects/1d/9e4767a95047ca5e395714985afaedb186f4cd +0 -1
  253. data/tests/files/working.git/objects/1f/09f2edb9c0d9275d15960771b363ca6940fbe3 +0 -0
  254. data/tests/files/working.git/objects/1f/691b879df15cf6742502ffc59833b4a40e7aef +0 -0
  255. data/tests/files/working.git/objects/23/751ef6c1fed1304ae1d07020aa73da6f2b93b0 +0 -1
  256. data/tests/files/working.git/objects/24/5582a71306d7360e40c07cd7d849a1aa14a31e +0 -0
  257. data/tests/files/working.git/objects/26/3e3c527004e7b742ed1f747c1bfb7e11825d7a +0 -0
  258. data/tests/files/working.git/objects/27/c0c003dda3e59ba236f53f6661faaf74432b5c +0 -0
  259. data/tests/files/working.git/objects/29/1b6be488d6abc586d3ee03ca61238766625a75 +0 -0
  260. data/tests/files/working.git/objects/2a/f6f7d51b7afdd404a871581ebb3b6ac07fb8cc +0 -0
  261. data/tests/files/working.git/objects/2c/ef51480d44dcc262d16be2812c692d940d5f29 +0 -0
  262. data/tests/files/working.git/objects/2e/20132e8fd40cb3e82248919a10900d31f1816a +0 -0
  263. data/tests/files/working.git/objects/2e/939fd37bbd2da971faa27c3e3de7d5aad40507 +0 -0
  264. data/tests/files/working.git/objects/2f/53e667d1d88e75b3fa300f9ab6e2d8ffd32a15 +0 -0
  265. data/tests/files/working.git/objects/32/4968b9dc40253f2c52a8e3856398c761dea856 +0 -0
  266. data/tests/files/working.git/objects/33/8ecb0183d507498aedb669b796b4f9e8880f00 +0 -0
  267. data/tests/files/working.git/objects/33/edabb4334cbe849a477a0d2893cdb768fa3091 +0 -0
  268. data/tests/files/working.git/objects/34/a566d193dc4702f03149969a2aad1443231560 +0 -1
  269. data/tests/files/working.git/objects/36/fe213c328fd280f33abe00069c4b92eb5a88d1 +0 -0
  270. data/tests/files/working.git/objects/39/66e9fa0e0b9fe9d3ef2fdaa6933f3d0bb82bc3 +0 -0
  271. data/tests/files/working.git/objects/3a/9f195756f5bd26b67c5e1fffd92d68d61be14e +0 -2
  272. data/tests/files/working.git/objects/3a/ac4b445017a8fc07502670ec2dbf744213dd48 +0 -0
  273. data/tests/files/working.git/objects/3b/6eeed9ce43ea893cf48d263da93448edae9f1c +0 -0
  274. data/tests/files/working.git/objects/3c/644f22b9b8edb06e7e298ecac8e71b133061f1 +0 -0
  275. data/tests/files/working.git/objects/3c/c71b13d906e445da52785ddeff40dad1163d49 +0 -2
  276. data/tests/files/working.git/objects/3c/f35bd14cf5f2dd08bbeef8698d700f3a038e5c +0 -0
  277. data/tests/files/working.git/objects/3d/331db92a8ead0565679efb76f328ae69ed1b77 +0 -0
  278. data/tests/files/working.git/objects/44/88516c3c936db58ea485ec2213dab9d13e6628 +0 -0
  279. data/tests/files/working.git/objects/44/987dd95c338fb573726541f270f1a7b55c9d51 +0 -0
  280. data/tests/files/working.git/objects/45/20c29b885e9db9b0df3c7bab7870157e1d00c3 +0 -0
  281. data/tests/files/working.git/objects/45/b983be36b73c0788dc9cbcb76cbb80fc7bb057 +0 -0
  282. data/tests/files/working.git/objects/46/00557506be20eb1501a4f15a52e684d4b9ee61 +0 -0
  283. data/tests/files/working.git/objects/46/a60232117527e7b57ac0dd5ea4af2cd3fdb696 +0 -0
  284. data/tests/files/working.git/objects/47/0f6a87fa51dd25f6db0f4725ae37791d449356 +0 -0
  285. data/tests/files/working.git/objects/47/2650d42fa9454e2e61e3da9f5c158b8af6d298 +0 -0
  286. data/tests/files/working.git/objects/47/8e5ee111572790b248eaa99140c5a8f728abc7 +0 -0
  287. data/tests/files/working.git/objects/48/bbf0db7e813affab7d8dd2842b8455ff9876be +0 -0
  288. data/tests/files/working.git/objects/49/b352299735fda3a333c69c6273178b0c3dfa08 +0 -0
  289. data/tests/files/working.git/objects/4a/1e3e4500962c3631a479726bf2e40469594cba +0 -0
  290. data/tests/files/working.git/objects/4a/2bee50944e9285e8f82216c9b0b8a7d3cdd315 +0 -0
  291. data/tests/files/working.git/objects/4a/4e676afe275afecf23130390fe96d0e6d00057 +0 -0
  292. data/tests/files/working.git/objects/4a/de99433ac3e4bcc874cd7de488de29399e9096 +0 -1
  293. data/tests/files/working.git/objects/4b/7c90536eaa830d8c1f6ff49a7885b581d6acef +0 -1
  294. data/tests/files/working.git/objects/4c/411dc8e6ea6fcba0ed56e84aa7707f881d24c7 +0 -0
  295. data/tests/files/working.git/objects/4c/ce9432b2f80461324a61611f6143f8544cd80f +0 -1
  296. data/tests/files/working.git/objects/4c/e44a75510cbfe200b131fdbcc56a86f1b2dc08 +0 -0
  297. data/tests/files/working.git/objects/4d/35ba97a858072c240d327e3ce30c28b333a1b0 +0 -0
  298. data/tests/files/working.git/objects/4d/ff9ef38ef09cbf0e36031bbee22b7cf0c7a8fc +0 -1
  299. data/tests/files/working.git/objects/4e/aafb1d843aec4f8f1612d03de46a08c2143ea9 +0 -0
  300. data/tests/files/working.git/objects/4e/ebc1b62c53241b7fbf7fb33b5230362595bfdd +0 -0
  301. data/tests/files/working.git/objects/4f/4065121cb78fe6116ae7e3075f5c5a446bd08b +0 -0
  302. data/tests/files/working.git/objects/50/3d77289b054742f507d8a8ce7cc51d3841d5b9 +0 -0
  303. data/tests/files/working.git/objects/52/4038b20b297f40d78e7d83e04e38049457312b +0 -0
  304. data/tests/files/working.git/objects/53/a72df554e585e239e41cb1fc498d5aee9bb164 +0 -0
  305. data/tests/files/working.git/objects/54/0200385c3b0b299c7a87ecf59ca94c32fbbe99 +0 -0
  306. data/tests/files/working.git/objects/54/5c81a2e8d1112d5f7356f840a22e8f6abcef8f +0 -2
  307. data/tests/files/working.git/objects/54/5ffc79786f268524c35e1e05b1770c7c74faf1 +0 -3
  308. data/tests/files/working.git/objects/54/6bec6f8872efa41d5d97a369f669165ecda0de +0 -0
  309. data/tests/files/working.git/objects/54/7a4bae347658f0d9eed0d35d31b4561aea7cf8 +0 -2
  310. data/tests/files/working.git/objects/56/195ef83e9e20ca75dddef0630633fc8060ed11 +0 -0
  311. data/tests/files/working.git/objects/57/7ddd894033c46a5fcf2c6f3c4e71cc72f86909 +0 -0
  312. data/tests/files/working.git/objects/58/501cbd0fc5ce832f6b34d37243a520dc19a6cc +0 -1
  313. data/tests/files/working.git/objects/58/73a650a91eb238005444d2c637b451f687951b +0 -0
  314. data/tests/files/working.git/objects/5a/28efd2fcf55b7b58eb7cc66b5db836155bc2bb +0 -0
  315. data/tests/files/working.git/objects/5b/0be7da7cc9ecdb6c2de5f818c30a42fbd2c9fa +0 -1
  316. data/tests/files/working.git/objects/5c/16fb8b958b51f6008f9722b279b1fde0defb76 +0 -3
  317. data/tests/files/working.git/objects/5d/4606820736043f9eed2a6336661d6892c820a5 +0 -0
  318. data/tests/files/working.git/objects/5e/392652a881999392c2757cf9b783c5d47b67f7 +0 -0
  319. data/tests/files/working.git/objects/5e/53019b3238362144c2766f02a2c00d91fcc023 +0 -2
  320. data/tests/files/working.git/objects/62/70c7f48ca41e6fb41b745ddc1bffe521d83194 +0 -2
  321. data/tests/files/working.git/objects/62/7e1097cda3b2e3ad6ba4d3772c0985e1ff349c +0 -0
  322. data/tests/files/working.git/objects/62/bb94c53efae4d53fd0649d129baef4aca87af7 +0 -3
  323. data/tests/files/working.git/objects/62/c9331ffe97bb6388fb7968662b4e97d121e2da +0 -0
  324. data/tests/files/working.git/objects/63/1446ec50808846e31fff786c065e69da2c673b +0 -0
  325. data/tests/files/working.git/objects/64/d0c52ac4c061cf1705e3005dfd86fb70374a14 +0 -0
  326. data/tests/files/working.git/objects/66/80a909b0e02b297bedbe143ef789d297235358 +0 -0
  327. data/tests/files/working.git/objects/6b/790ddc5eab30f18cabdd0513e8f8dac0d2d3ed +0 -0
  328. data/tests/files/working.git/objects/6c/2d312ebd67eed4c7e97e3923b3667764e7360e +0 -0
  329. data/tests/files/working.git/objects/6d/e8fb35c2e4a69addd030f2dbb4f73fd4742b5b +0 -0
  330. data/tests/files/working.git/objects/6e/d281c757a969ffe22f3dcfa5830c532479c726 +0 -0
  331. data/tests/files/working.git/objects/70/714b02913c1a249a5ab05021742f0bc7065df7 +0 -0
  332. data/tests/files/working.git/objects/71/894b736711ea0a5def4f536009364d07ee4db3 +0 -2
  333. data/tests/files/working.git/objects/71/c9a23879ff0ac8c49b92d107f3f89c6d1b2d92 +0 -1
  334. data/tests/files/working.git/objects/73/b171450704ea4350f9f884426389fe04c6cd51 +0 -0
  335. data/tests/files/working.git/objects/74/32b657191a10587335e74ae6f0966a7eed2976 +0 -0
  336. data/tests/files/working.git/objects/79/e5b9e6ee5a1e6c52676a6332fe9163adaa92cb +0 -0
  337. data/tests/files/working.git/objects/7c/076f209839d7f910e8c84e41cc94898287ef45 +0 -0
  338. data/tests/files/working.git/objects/7c/60c6ab64c74d52f973d18cd1933318a8d9ae2e +0 -0
  339. data/tests/files/working.git/objects/7c/ac4f8d519d524ed025732ee220f6451665a770 +0 -0
  340. data/tests/files/working.git/objects/7f/5625f6b3c7213287a12c89017361248ed88936 +0 -0
  341. data/tests/files/working.git/objects/7f/86d16e0254f64f784198c6a55ef9bf7adbe7ce +0 -0
  342. data/tests/files/working.git/objects/7f/bfee9f8882ada1ec45c4925baf5649d96c4a16 +0 -0
  343. data/tests/files/working.git/objects/81/25fbe8605d2884e732a185c9a24abcc0d12a1f +0 -0
  344. data/tests/files/working.git/objects/81/d4d5e9b6db474d0f432aa31d44bf690d841e94 +0 -0
  345. data/tests/files/working.git/objects/81/f545324202466d44115656ea463a5bb114345f +0 -0
  346. data/tests/files/working.git/objects/82/d331cf4d3d4ee537c4f866cab2633b46a8d090 +0 -0
  347. data/tests/files/working.git/objects/83/c6a1f0d7d8df18a9d9bfe917707aec37868418 +0 -0
  348. data/tests/files/working.git/objects/85/8f46dd7496faf7af72102ca15cccff832b5377 +0 -0
  349. data/tests/files/working.git/objects/87/c56502c73149f006631129f85dff697e000356 +0 -0
  350. data/tests/files/working.git/objects/88/cf23d06f519bec7b824acd52b87a729555f2e7 +0 -0
  351. data/tests/files/working.git/objects/8a/3fb747983bf2a7f4ef136af4bfcf7993a19307 +0 -0
  352. data/tests/files/working.git/objects/8b/00d915a0ee5aeb32e0b166e1054c2901338c9d +0 -0
  353. data/tests/files/working.git/objects/8c/e3ee48a7e7ec697a99ee33700ec624548ad9e8 +0 -0
  354. data/tests/files/working.git/objects/8d/ae07ab9d98b5fe04d4d7ed804cc36441b68dab +0 -0
  355. data/tests/files/working.git/objects/8d/c79ae7616abf1e2d4d5d97d566f2b2f6cee043 +0 -0
  356. data/tests/files/working.git/objects/92/4dec9203af851c3b3e564697ab3004b35b3c2f +0 -0
  357. data/tests/files/working.git/objects/93/06c056ba3ef9dca6f6365af38148c71196533a +0 -0
  358. data/tests/files/working.git/objects/93/5badc874edd62a8629aaf103418092c73f0a56 +0 -1
  359. data/tests/files/working.git/objects/94/c827875e2cadb8bc8d4cdd900f19aa9e8634c7 +0 -0
  360. data/tests/files/working.git/objects/95/ef665df6ebd69842c5e74a24cb8a12225dee3e +0 -0
  361. data/tests/files/working.git/objects/98/fb6a686563963b8f7e552d747158adbc1c2bd6 +0 -0
  362. data/tests/files/working.git/objects/99/3dd9b1cdeab53e305886c91dbcbc8929eff22e +0 -1
  363. data/tests/files/working.git/objects/9a/e1fbd7636c99d34fdd395cf9bb21ad51417ce7 +0 -1
  364. data/tests/files/working.git/objects/9b/5149aa4ace4ef69461803b0ccbb21139e12626 +0 -0
  365. data/tests/files/working.git/objects/9d/3ad2f09cb7a1d4f4c91182c96f2be537fbc4ff +0 -0
  366. data/tests/files/working.git/objects/9d/6f937544dc3b936d6ee1466d6e216ba18d5686 +0 -0
  367. data/tests/files/working.git/objects/9f/a43bcd45af28e109e6f7b9a6ccd26e8e193a63 +0 -0
  368. data/tests/files/working.git/objects/a0/b3f35b3c39cfb12c4cc819bffe1cf54efb3642 +0 -2
  369. data/tests/files/working.git/objects/a1/15413501949f4f09811fd1aaecf136c012c7d7 +0 -0
  370. data/tests/files/working.git/objects/a1/a3069efcc64330fb6c66004e69b870da3d6186 +0 -0
  371. data/tests/files/working.git/objects/a3/62d30d5fe1021cabc4c90f073ba2511d5a43a1 +0 -0
  372. data/tests/files/working.git/objects/a3/c1f067074cdc9aa998cb5f3cad46a6f17aab2d +0 -0
  373. data/tests/files/working.git/objects/a3/db7143944dcfa006fefe7fb49c48793cb29ade +0 -2
  374. data/tests/files/working.git/objects/a4/4a5e945176ff31be83ffca3e7c68a8b6a45ea5 +0 -1
  375. data/tests/files/working.git/objects/a5/1546fabf88ddef5a9fd91b3989dd8ccae2edf3 +0 -0
  376. data/tests/files/working.git/objects/a6/b25c4b27ee99f93fd611154202af5f9e3c99de +0 -2
  377. data/tests/files/working.git/objects/a7/88a1cba299638a2c898fcfaae1f69a1549853d +0 -0
  378. data/tests/files/working.git/objects/a8/98e8a6b143188022863bc1cab0b5f7514624ba +0 -0
  379. data/tests/files/working.git/objects/a8/b607b221454c4cd7bc7831b2d19712bb4ff888 +0 -0
  380. data/tests/files/working.git/objects/a9/e2d9b71b616531f04a65ae5b972ba5d1f2cb93 +0 -0
  381. data/tests/files/working.git/objects/a9/e2f17562ae78a75dc855bb3dc9e87364195dcf +0 -0
  382. data/tests/files/working.git/objects/ab/16bc1812fd6226780a841300a2432dfd0c6719 +0 -0
  383. data/tests/files/working.git/objects/ac/8f48bbb7b31c945ba6a4fbe6950d009a5d8373 +0 -0
  384. data/tests/files/working.git/objects/ae/21cabd23aee99a719fc828977c0df9e8b19363 +0 -0
  385. data/tests/files/working.git/objects/b0/3003311ad3fa368b475df58390353868e13c91 +0 -2
  386. data/tests/files/working.git/objects/b0/ee249c5e5cc9464f3bc0034ab05632dcb87a23 +0 -0
  387. data/tests/files/working.git/objects/b1/288f8beeaa6cf048c3a9f578d4e266fab8820e +0 -0
  388. data/tests/files/working.git/objects/b1/5336206c9040f4c52660b3f3c76ee02ccece56 +0 -0
  389. data/tests/files/working.git/objects/b1/b18f5bea24648a1b08e5bba88728c15ec3cb50 +0 -2
  390. data/tests/files/working.git/objects/b4/5724ee906d2561901208ba924add09ab95ccb3 +0 -0
  391. data/tests/files/working.git/objects/b5/d8fc3cb740eb643c66eb5f4a97345fdb806259 +0 -0
  392. data/tests/files/working.git/objects/b6/153b8fe540288d66b974ae05113338ab1a61f0 +0 -0
  393. data/tests/files/working.git/objects/b6/987bc1201ad19774c43c0ea8078f6f51d76bcb +0 -0
  394. data/tests/files/working.git/objects/b6/9e6acd87e5f9114ce6580b095ef1057a8fe5bb +0 -0
  395. data/tests/files/working.git/objects/b9/8f4909807c8c84a1dc1b62b4a339ae1777f369 +0 -3
  396. data/tests/files/working.git/objects/ba/492c62b6227d7f3507b4dcc6e6d5f13790eabf +0 -0
  397. data/tests/files/working.git/objects/ba/c335cb9dc058a477d04cde34c07d1f70d16fb9 +0 -0
  398. data/tests/files/working.git/objects/bb/0850568bb43049031a38b01ddb60e4a487f823 +0 -0
  399. data/tests/files/working.git/objects/be/b14380ef26540efcad06bedcd0e302b6bce70e +0 -0
  400. data/tests/files/working.git/objects/c1/3142dd26a1f6f38403a17f6c411cb621b9a1cd +0 -0
  401. data/tests/files/working.git/objects/c1/8b4e9b0829411705d7fa9a1570a20d88780817 +0 -0
  402. data/tests/files/working.git/objects/c5/a3fdb33f052b8f17dac83c533b62244226f4ba +0 -0
  403. data/tests/files/working.git/objects/c6/567e2feccce3893ae0aaac2bf97807338aa8d4 +0 -0
  404. data/tests/files/working.git/objects/cb/45eef6fa1ad913137d91c6b81d2b42d69094a6 +0 -0
  405. data/tests/files/working.git/objects/cd/0d59357b36a447ff27a7c176b46e0a319b42df +0 -0
  406. data/tests/files/working.git/objects/cd/4291452a61ff8b57cf5510addc8ddc5630748e +0 -0
  407. data/tests/files/working.git/objects/cf/7135368cc3bf4920ceeaeebd083e098cfad355 +0 -4
  408. data/tests/files/working.git/objects/cf/b9952c3a28831144a0fac7ea5a2d8517f466c4 +0 -0
  409. data/tests/files/working.git/objects/d0/0491fd7e5bb6fa28c517a0bb32b8b506539d4d +0 -0
  410. data/tests/files/working.git/objects/d1/4cbc09cc34fb6450b2e96432102be51c8292b8 +0 -0
  411. data/tests/files/working.git/objects/d3/d171221e87a30e059d638f155f899595d96b71 +0 -0
  412. data/tests/files/working.git/objects/d5/b9587b65731e25216743b0caca72051a760211 +0 -2
  413. data/tests/files/working.git/objects/d6/a3aab3e38bc16688b4e636a91e462434210878 +0 -0
  414. data/tests/files/working.git/objects/d6/f31c35d7e010e50568c0d605227028aa7bac66 +0 -0
  415. data/tests/files/working.git/objects/d7/875788aeafdd8e317880c00e3372f683cad91e +0 -0
  416. data/tests/files/working.git/objects/d7/d8a71a719e2a4ca501991a66dab47df804f6ad +0 -0
  417. data/tests/files/working.git/objects/d7/e844eec32d74a3d37c4ce02d7138658e1035d6 +0 -0
  418. data/tests/files/working.git/objects/da/597fb7fba247a5b59d917e90342cf4b9695905 +0 -0
  419. data/tests/files/working.git/objects/da/7b788b1575936a4381050610a37737c70b55a0 +0 -1
  420. data/tests/files/working.git/objects/de/996da0ef3dcee1a28aef9243aa3e255eb825b5 +0 -0
  421. data/tests/files/working.git/objects/de/d54b45e4d49816f6d4256e74d45ba2bb351357 +0 -0
  422. data/tests/files/working.git/objects/e3/6f723934fd1d67c7d21538751f0b1e941141db +0 -0
  423. data/tests/files/working.git/objects/e3/ebef76525fe9e6e8dc739934a08512dff777c0 +0 -0
  424. data/tests/files/working.git/objects/e5/0fa6835cb99747346f19fea5f1ba939da4205f +0 -2
  425. data/tests/files/working.git/objects/e5/650a5c9c4b5a4415195bfb01d4d8dccbc8221b +0 -0
  426. data/tests/files/working.git/objects/e5/76bdfc9ed4627ac954f9390cf7a6151ad2a73e +0 -0
  427. data/tests/files/working.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
  428. data/tests/files/working.git/objects/e7/ea5938f9c009d32235050bca991d0b9533e440 +0 -0
  429. data/tests/files/working.git/objects/e8/183f05f5db68b3934e93f4bf6bed2bb664e0b5 +0 -0
  430. data/tests/files/working.git/objects/e8/bd03b163f82fba4560c11839d49361a78dec85 +0 -0
  431. data/tests/files/working.git/objects/e9/0de8268373e4fd5ab13310b7745d47ec16813c +0 -0
  432. data/tests/files/working.git/objects/ec/16a327a6a98367d03369b4e998baf3db379313 +0 -0
  433. data/tests/files/working.git/objects/ec/1e3d44e160e18dbfbaa80b5b0780ccc03e678e +0 -0
  434. data/tests/files/working.git/objects/ed/551aa66cf0c6f1a078832f80899faff0ae88dc +0 -0
  435. data/tests/files/working.git/objects/f1/25480ee106989ec4d86554c0d5a1487ad4336a +0 -1
  436. data/tests/files/working.git/objects/f1/410f8735f6f73d3599eb9b5cdd2fb70373335c +0 -3
  437. data/tests/files/working.git/objects/f2/02cb755135d4263589602783b04fb32a079d88 +0 -0
  438. data/tests/files/working.git/objects/f2/ff401fb3fc81f8abb3ca15247aadc1e22b6288 +0 -0
  439. data/tests/files/working.git/objects/f5/501de98279c6454f510188873476f3ead0cee6 +0 -4
  440. data/tests/files/working.git/objects/f7/5f313ca30e534aa9c42463e85108e682d3a14a +0 -0
  441. data/tests/files/working.git/objects/f8/e9c6748331411c0d3511f90bd4e0a1a30acff0 +0 -0
  442. data/tests/files/working.git/objects/f9/bce8995109cfab475d043a7dd9156d5e574ed3 +0 -0
  443. data/tests/files/working.git/objects/fa/6312f71abb153ada6a0399ad710d21bb61e4d8 +0 -0
  444. data/tests/files/working.git/objects/fb/8e78840d79085abf50edebf5b9d6b73ee0fb4c +0 -0
  445. data/tests/files/working.git/objects/fc/b49fa99454f804799a12095292edbca48779ab +0 -0
  446. data/tests/files/working.git/objects/fe/b2ccf88397c2d93f381176067be2727eba330b +0 -0
  447. data/tests/files/working.git/objects/info/packs +0 -2
  448. data/tests/files/working.git/objects/pack/pack-6e99d3a243c58205968336728d5637ce2a3b2aff.idx +0 -0
  449. data/tests/files/working.git/objects/pack/pack-6e99d3a243c58205968336728d5637ce2a3b2aff.pack +0 -0
  450. data/tests/files/working.git/refs/heads/git_grep +0 -1
  451. data/tests/files/working.git/refs/heads/master +0 -1
  452. data/tests/files/working.git/refs/heads/test +0 -1
  453. data/tests/files/working.git/refs/heads/test_branches +0 -1
  454. data/tests/files/working.git/refs/heads/test_object +0 -1
  455. data/tests/files/working.git/refs/tags/gitsearch1 +0 -1
  456. data/tests/files/working.git/refs/tags/v2.5 +0 -1
  457. data/tests/files/working.git/refs/tags/v2.6 +0 -1
  458. data/tests/files/working.git/refs/tags/v2.7 +0 -1
  459. data/tests/files/working.git/refs/tags/v2.8 +0 -1
  460. data/tests/files/working/dot_git/FETCH_HEAD +0 -1
  461. data/tests/files/working/dot_git/HEAD +0 -1
  462. data/tests/files/working/dot_git/config +0 -13
  463. data/tests/files/working/dot_git/description +0 -1
  464. data/tests/files/working/dot_git/hooks/applypatch-msg +0 -15
  465. data/tests/files/working/dot_git/hooks/commit-msg +0 -21
  466. data/tests/files/working/dot_git/hooks/post-commit +0 -8
  467. data/tests/files/working/dot_git/hooks/post-receive +0 -16
  468. data/tests/files/working/dot_git/hooks/post-update +0 -8
  469. data/tests/files/working/dot_git/hooks/pre-applypatch +0 -14
  470. data/tests/files/working/dot_git/hooks/pre-commit +0 -70
  471. data/tests/files/working/dot_git/hooks/pre-rebase +0 -150
  472. data/tests/files/working/dot_git/hooks/update +0 -78
  473. data/tests/files/working/dot_git/index +0 -0
  474. data/tests/files/working/dot_git/info/exclude +0 -6
  475. data/tests/files/working/dot_git/logs/HEAD +0 -75
  476. data/tests/files/working/dot_git/logs/refs/heads/git_grep +0 -5
  477. data/tests/files/working/dot_git/logs/refs/heads/master +0 -64
  478. data/tests/files/working/dot_git/logs/refs/heads/test +0 -3
  479. data/tests/files/working/dot_git/logs/refs/heads/test_branches +0 -1
  480. data/tests/files/working/dot_git/logs/refs/heads/test_object +0 -2
  481. data/tests/files/working/dot_git/logs/refs/remotes/working/master +0 -1
  482. data/tests/files/working/dot_git/objects/00/62cdf4c1e63069eececf54325535e91fd57c42 +0 -0
  483. data/tests/files/working/dot_git/objects/00/ea60e1331b184386392037a7267dfb4a7c7d86 +0 -0
  484. data/tests/files/working/dot_git/objects/01/0b7b79019cb510d8c5849704fd10541655916d +0 -0
  485. data/tests/files/working/dot_git/objects/01/dd46ebe07fc30c10c85c2e926c70f2d7058a6b +0 -0
  486. data/tests/files/working/dot_git/objects/02/b2a02844d00574c234d17bec6294e832f3c4c1 +0 -0
  487. data/tests/files/working/dot_git/objects/06/f4e8a840d23fc0ab94895a5d16827a19f75fb7 +0 -0
  488. data/tests/files/working/dot_git/objects/0b/2fe00801b62b7760c23d554796b05abc16af92 +0 -0
  489. data/tests/files/working/dot_git/objects/0b/5262f6ee3552a99b7081a317e8289d6a4d8e72 +0 -0
  490. data/tests/files/working/dot_git/objects/0b/c0d846cf80b079e763e35c3af273171bf01fca +0 -0
  491. data/tests/files/working/dot_git/objects/0d/2c47f07277b3ea30b0884f8e3acd68440507c8 +0 -0
  492. data/tests/files/working/dot_git/objects/0d/519ca9c2eddc44431efe135d0fc8df00e0b975 +0 -0
  493. data/tests/files/working/dot_git/objects/0f/845a0a981bc2f61354fcdd2b6eafe2b2c55c2d +0 -3
  494. data/tests/files/working/dot_git/objects/0f/f4a0357c3d7221a2ef1e4c6b7d5c46d97fe250 +0 -0
  495. data/tests/files/working/dot_git/objects/12/eb889f49f1464b32a51424d7724fb16f6c3a31 +0 -0
  496. data/tests/files/working/dot_git/objects/15/34a65657edf4e5caaa5ce35652dca5e4c7d316 +0 -0
  497. data/tests/files/working/dot_git/objects/15/378a1f3eafe4c5ab4f890883356df917ee5539 +0 -2
  498. data/tests/files/working/dot_git/objects/16/9e6db43d4c09cd610179a7b9826483b4d94123 +0 -0
  499. data/tests/files/working/dot_git/objects/16/d1f96acfd92d09c4f1f56d3441ac55dd30500e +0 -0
  500. data/tests/files/working/dot_git/objects/16/ee5335538f11b4ffcc17b051f8d5db7570a055 +0 -0
  501. data/tests/files/working/dot_git/objects/17/9ef0e0209e90af00f544ff414e0674dfb5f5c7 +0 -0
  502. data/tests/files/working/dot_git/objects/19/9d2f8e60fddd1bb2a1b0bddedde35e5aa8b03f +0 -0
  503. data/tests/files/working/dot_git/objects/1c/c8667014381e2788a94777532a788307f38d26 +0 -1
  504. data/tests/files/working/dot_git/objects/1c/fcfba04eb4e461e9f930d22f528023ab1ddefc +0 -0
  505. data/tests/files/working/dot_git/objects/1d/7be4117ded4534789d85c42ab579644cd3fa12 +0 -0
  506. data/tests/files/working/dot_git/objects/1d/9e4767a95047ca5e395714985afaedb186f4cd +0 -1
  507. data/tests/files/working/dot_git/objects/1f/09f2edb9c0d9275d15960771b363ca6940fbe3 +0 -0
  508. data/tests/files/working/dot_git/objects/1f/691b879df15cf6742502ffc59833b4a40e7aef +0 -0
  509. data/tests/files/working/dot_git/objects/23/751ef6c1fed1304ae1d07020aa73da6f2b93b0 +0 -1
  510. data/tests/files/working/dot_git/objects/24/5582a71306d7360e40c07cd7d849a1aa14a31e +0 -0
  511. data/tests/files/working/dot_git/objects/26/3e3c527004e7b742ed1f747c1bfb7e11825d7a +0 -0
  512. data/tests/files/working/dot_git/objects/27/c0c003dda3e59ba236f53f6661faaf74432b5c +0 -0
  513. data/tests/files/working/dot_git/objects/29/1b6be488d6abc586d3ee03ca61238766625a75 +0 -0
  514. data/tests/files/working/dot_git/objects/2a/f6f7d51b7afdd404a871581ebb3b6ac07fb8cc +0 -0
  515. data/tests/files/working/dot_git/objects/2c/ef51480d44dcc262d16be2812c692d940d5f29 +0 -0
  516. data/tests/files/working/dot_git/objects/2e/20132e8fd40cb3e82248919a10900d31f1816a +0 -0
  517. data/tests/files/working/dot_git/objects/2e/939fd37bbd2da971faa27c3e3de7d5aad40507 +0 -0
  518. data/tests/files/working/dot_git/objects/2f/53e667d1d88e75b3fa300f9ab6e2d8ffd32a15 +0 -0
  519. data/tests/files/working/dot_git/objects/32/4968b9dc40253f2c52a8e3856398c761dea856 +0 -0
  520. data/tests/files/working/dot_git/objects/33/8ecb0183d507498aedb669b796b4f9e8880f00 +0 -0
  521. data/tests/files/working/dot_git/objects/33/edabb4334cbe849a477a0d2893cdb768fa3091 +0 -0
  522. data/tests/files/working/dot_git/objects/34/a566d193dc4702f03149969a2aad1443231560 +0 -1
  523. data/tests/files/working/dot_git/objects/36/fe213c328fd280f33abe00069c4b92eb5a88d1 +0 -0
  524. data/tests/files/working/dot_git/objects/39/66e9fa0e0b9fe9d3ef2fdaa6933f3d0bb82bc3 +0 -0
  525. data/tests/files/working/dot_git/objects/3a/9f195756f5bd26b67c5e1fffd92d68d61be14e +0 -2
  526. data/tests/files/working/dot_git/objects/3a/ac4b445017a8fc07502670ec2dbf744213dd48 +0 -0
  527. data/tests/files/working/dot_git/objects/3b/6eeed9ce43ea893cf48d263da93448edae9f1c +0 -0
  528. data/tests/files/working/dot_git/objects/3c/644f22b9b8edb06e7e298ecac8e71b133061f1 +0 -0
  529. data/tests/files/working/dot_git/objects/3c/c71b13d906e445da52785ddeff40dad1163d49 +0 -2
  530. data/tests/files/working/dot_git/objects/3c/f35bd14cf5f2dd08bbeef8698d700f3a038e5c +0 -0
  531. data/tests/files/working/dot_git/objects/3d/331db92a8ead0565679efb76f328ae69ed1b77 +0 -0
  532. data/tests/files/working/dot_git/objects/44/88516c3c936db58ea485ec2213dab9d13e6628 +0 -0
  533. data/tests/files/working/dot_git/objects/44/987dd95c338fb573726541f270f1a7b55c9d51 +0 -0
  534. data/tests/files/working/dot_git/objects/45/20c29b885e9db9b0df3c7bab7870157e1d00c3 +0 -0
  535. data/tests/files/working/dot_git/objects/45/b983be36b73c0788dc9cbcb76cbb80fc7bb057 +0 -0
  536. data/tests/files/working/dot_git/objects/46/00557506be20eb1501a4f15a52e684d4b9ee61 +0 -0
  537. data/tests/files/working/dot_git/objects/46/a60232117527e7b57ac0dd5ea4af2cd3fdb696 +0 -0
  538. data/tests/files/working/dot_git/objects/47/0f6a87fa51dd25f6db0f4725ae37791d449356 +0 -0
  539. data/tests/files/working/dot_git/objects/47/2650d42fa9454e2e61e3da9f5c158b8af6d298 +0 -0
  540. data/tests/files/working/dot_git/objects/47/8e5ee111572790b248eaa99140c5a8f728abc7 +0 -0
  541. data/tests/files/working/dot_git/objects/48/bbf0db7e813affab7d8dd2842b8455ff9876be +0 -0
  542. data/tests/files/working/dot_git/objects/49/b352299735fda3a333c69c6273178b0c3dfa08 +0 -0
  543. data/tests/files/working/dot_git/objects/4a/1e3e4500962c3631a479726bf2e40469594cba +0 -0
  544. data/tests/files/working/dot_git/objects/4a/2bee50944e9285e8f82216c9b0b8a7d3cdd315 +0 -0
  545. data/tests/files/working/dot_git/objects/4a/4e676afe275afecf23130390fe96d0e6d00057 +0 -0
  546. data/tests/files/working/dot_git/objects/4a/de99433ac3e4bcc874cd7de488de29399e9096 +0 -1
  547. data/tests/files/working/dot_git/objects/4b/7c90536eaa830d8c1f6ff49a7885b581d6acef +0 -1
  548. data/tests/files/working/dot_git/objects/4c/411dc8e6ea6fcba0ed56e84aa7707f881d24c7 +0 -0
  549. data/tests/files/working/dot_git/objects/4c/ce9432b2f80461324a61611f6143f8544cd80f +0 -1
  550. data/tests/files/working/dot_git/objects/4c/e44a75510cbfe200b131fdbcc56a86f1b2dc08 +0 -0
  551. data/tests/files/working/dot_git/objects/4d/35ba97a858072c240d327e3ce30c28b333a1b0 +0 -0
  552. data/tests/files/working/dot_git/objects/4d/ff9ef38ef09cbf0e36031bbee22b7cf0c7a8fc +0 -1
  553. data/tests/files/working/dot_git/objects/4e/aafb1d843aec4f8f1612d03de46a08c2143ea9 +0 -0
  554. data/tests/files/working/dot_git/objects/4e/ebc1b62c53241b7fbf7fb33b5230362595bfdd +0 -0
  555. data/tests/files/working/dot_git/objects/4f/4065121cb78fe6116ae7e3075f5c5a446bd08b +0 -0
  556. data/tests/files/working/dot_git/objects/50/3d77289b054742f507d8a8ce7cc51d3841d5b9 +0 -0
  557. data/tests/files/working/dot_git/objects/52/4038b20b297f40d78e7d83e04e38049457312b +0 -0
  558. data/tests/files/working/dot_git/objects/53/a72df554e585e239e41cb1fc498d5aee9bb164 +0 -0
  559. data/tests/files/working/dot_git/objects/54/0200385c3b0b299c7a87ecf59ca94c32fbbe99 +0 -0
  560. data/tests/files/working/dot_git/objects/54/5c81a2e8d1112d5f7356f840a22e8f6abcef8f +0 -2
  561. data/tests/files/working/dot_git/objects/54/5ffc79786f268524c35e1e05b1770c7c74faf1 +0 -3
  562. data/tests/files/working/dot_git/objects/54/6bec6f8872efa41d5d97a369f669165ecda0de +0 -0
  563. data/tests/files/working/dot_git/objects/54/7a4bae347658f0d9eed0d35d31b4561aea7cf8 +0 -2
  564. data/tests/files/working/dot_git/objects/56/195ef83e9e20ca75dddef0630633fc8060ed11 +0 -0
  565. data/tests/files/working/dot_git/objects/57/7ddd894033c46a5fcf2c6f3c4e71cc72f86909 +0 -0
  566. data/tests/files/working/dot_git/objects/58/501cbd0fc5ce832f6b34d37243a520dc19a6cc +0 -1
  567. data/tests/files/working/dot_git/objects/58/73a650a91eb238005444d2c637b451f687951b +0 -0
  568. data/tests/files/working/dot_git/objects/5a/28efd2fcf55b7b58eb7cc66b5db836155bc2bb +0 -0
  569. data/tests/files/working/dot_git/objects/5b/0be7da7cc9ecdb6c2de5f818c30a42fbd2c9fa +0 -1
  570. data/tests/files/working/dot_git/objects/5c/16fb8b958b51f6008f9722b279b1fde0defb76 +0 -3
  571. data/tests/files/working/dot_git/objects/5d/4606820736043f9eed2a6336661d6892c820a5 +0 -0
  572. data/tests/files/working/dot_git/objects/5e/392652a881999392c2757cf9b783c5d47b67f7 +0 -0
  573. data/tests/files/working/dot_git/objects/5e/53019b3238362144c2766f02a2c00d91fcc023 +0 -2
  574. data/tests/files/working/dot_git/objects/62/70c7f48ca41e6fb41b745ddc1bffe521d83194 +0 -2
  575. data/tests/files/working/dot_git/objects/62/7e1097cda3b2e3ad6ba4d3772c0985e1ff349c +0 -0
  576. data/tests/files/working/dot_git/objects/62/bb94c53efae4d53fd0649d129baef4aca87af7 +0 -3
  577. data/tests/files/working/dot_git/objects/62/c9331ffe97bb6388fb7968662b4e97d121e2da +0 -0
  578. data/tests/files/working/dot_git/objects/63/1446ec50808846e31fff786c065e69da2c673b +0 -0
  579. data/tests/files/working/dot_git/objects/64/d0c52ac4c061cf1705e3005dfd86fb70374a14 +0 -0
  580. data/tests/files/working/dot_git/objects/66/80a909b0e02b297bedbe143ef789d297235358 +0 -0
  581. data/tests/files/working/dot_git/objects/6b/790ddc5eab30f18cabdd0513e8f8dac0d2d3ed +0 -0
  582. data/tests/files/working/dot_git/objects/6c/2d312ebd67eed4c7e97e3923b3667764e7360e +0 -0
  583. data/tests/files/working/dot_git/objects/6d/e8fb35c2e4a69addd030f2dbb4f73fd4742b5b +0 -0
  584. data/tests/files/working/dot_git/objects/6e/d281c757a969ffe22f3dcfa5830c532479c726 +0 -0
  585. data/tests/files/working/dot_git/objects/70/714b02913c1a249a5ab05021742f0bc7065df7 +0 -0
  586. data/tests/files/working/dot_git/objects/71/894b736711ea0a5def4f536009364d07ee4db3 +0 -2
  587. data/tests/files/working/dot_git/objects/71/c9a23879ff0ac8c49b92d107f3f89c6d1b2d92 +0 -1
  588. data/tests/files/working/dot_git/objects/73/b171450704ea4350f9f884426389fe04c6cd51 +0 -0
  589. data/tests/files/working/dot_git/objects/74/32b657191a10587335e74ae6f0966a7eed2976 +0 -0
  590. data/tests/files/working/dot_git/objects/79/e5b9e6ee5a1e6c52676a6332fe9163adaa92cb +0 -0
  591. data/tests/files/working/dot_git/objects/7c/076f209839d7f910e8c84e41cc94898287ef45 +0 -0
  592. data/tests/files/working/dot_git/objects/7c/60c6ab64c74d52f973d18cd1933318a8d9ae2e +0 -0
  593. data/tests/files/working/dot_git/objects/7c/ac4f8d519d524ed025732ee220f6451665a770 +0 -0
  594. data/tests/files/working/dot_git/objects/7f/5625f6b3c7213287a12c89017361248ed88936 +0 -0
  595. data/tests/files/working/dot_git/objects/7f/86d16e0254f64f784198c6a55ef9bf7adbe7ce +0 -0
  596. data/tests/files/working/dot_git/objects/7f/bfee9f8882ada1ec45c4925baf5649d96c4a16 +0 -0
  597. data/tests/files/working/dot_git/objects/81/25fbe8605d2884e732a185c9a24abcc0d12a1f +0 -0
  598. data/tests/files/working/dot_git/objects/81/d4d5e9b6db474d0f432aa31d44bf690d841e94 +0 -0
  599. data/tests/files/working/dot_git/objects/81/f545324202466d44115656ea463a5bb114345f +0 -0
  600. data/tests/files/working/dot_git/objects/82/d331cf4d3d4ee537c4f866cab2633b46a8d090 +0 -0
  601. data/tests/files/working/dot_git/objects/83/c6a1f0d7d8df18a9d9bfe917707aec37868418 +0 -0
  602. data/tests/files/working/dot_git/objects/85/8f46dd7496faf7af72102ca15cccff832b5377 +0 -0
  603. data/tests/files/working/dot_git/objects/87/c56502c73149f006631129f85dff697e000356 +0 -0
  604. data/tests/files/working/dot_git/objects/88/cf23d06f519bec7b824acd52b87a729555f2e7 +0 -0
  605. data/tests/files/working/dot_git/objects/8a/3fb747983bf2a7f4ef136af4bfcf7993a19307 +0 -0
  606. data/tests/files/working/dot_git/objects/8b/00d915a0ee5aeb32e0b166e1054c2901338c9d +0 -0
  607. data/tests/files/working/dot_git/objects/8c/e3ee48a7e7ec697a99ee33700ec624548ad9e8 +0 -0
  608. data/tests/files/working/dot_git/objects/8d/ae07ab9d98b5fe04d4d7ed804cc36441b68dab +0 -0
  609. data/tests/files/working/dot_git/objects/8d/c79ae7616abf1e2d4d5d97d566f2b2f6cee043 +0 -0
  610. data/tests/files/working/dot_git/objects/92/4dec9203af851c3b3e564697ab3004b35b3c2f +0 -0
  611. data/tests/files/working/dot_git/objects/93/06c056ba3ef9dca6f6365af38148c71196533a +0 -0
  612. data/tests/files/working/dot_git/objects/93/5badc874edd62a8629aaf103418092c73f0a56 +0 -1
  613. data/tests/files/working/dot_git/objects/94/c827875e2cadb8bc8d4cdd900f19aa9e8634c7 +0 -0
  614. data/tests/files/working/dot_git/objects/95/ef665df6ebd69842c5e74a24cb8a12225dee3e +0 -0
  615. data/tests/files/working/dot_git/objects/98/fb6a686563963b8f7e552d747158adbc1c2bd6 +0 -0
  616. data/tests/files/working/dot_git/objects/99/3dd9b1cdeab53e305886c91dbcbc8929eff22e +0 -1
  617. data/tests/files/working/dot_git/objects/9a/e1fbd7636c99d34fdd395cf9bb21ad51417ce7 +0 -1
  618. data/tests/files/working/dot_git/objects/9b/5149aa4ace4ef69461803b0ccbb21139e12626 +0 -0
  619. data/tests/files/working/dot_git/objects/9d/3ad2f09cb7a1d4f4c91182c96f2be537fbc4ff +0 -0
  620. data/tests/files/working/dot_git/objects/9d/6f937544dc3b936d6ee1466d6e216ba18d5686 +0 -0
  621. data/tests/files/working/dot_git/objects/9f/a43bcd45af28e109e6f7b9a6ccd26e8e193a63 +0 -0
  622. data/tests/files/working/dot_git/objects/a0/b3f35b3c39cfb12c4cc819bffe1cf54efb3642 +0 -2
  623. data/tests/files/working/dot_git/objects/a1/15413501949f4f09811fd1aaecf136c012c7d7 +0 -0
  624. data/tests/files/working/dot_git/objects/a1/a3069efcc64330fb6c66004e69b870da3d6186 +0 -0
  625. data/tests/files/working/dot_git/objects/a3/62d30d5fe1021cabc4c90f073ba2511d5a43a1 +0 -0
  626. data/tests/files/working/dot_git/objects/a3/c1f067074cdc9aa998cb5f3cad46a6f17aab2d +0 -0
  627. data/tests/files/working/dot_git/objects/a3/db7143944dcfa006fefe7fb49c48793cb29ade +0 -2
  628. data/tests/files/working/dot_git/objects/a4/4a5e945176ff31be83ffca3e7c68a8b6a45ea5 +0 -1
  629. data/tests/files/working/dot_git/objects/a5/1546fabf88ddef5a9fd91b3989dd8ccae2edf3 +0 -0
  630. data/tests/files/working/dot_git/objects/a6/b25c4b27ee99f93fd611154202af5f9e3c99de +0 -2
  631. data/tests/files/working/dot_git/objects/a7/88a1cba299638a2c898fcfaae1f69a1549853d +0 -0
  632. data/tests/files/working/dot_git/objects/a8/98e8a6b143188022863bc1cab0b5f7514624ba +0 -0
  633. data/tests/files/working/dot_git/objects/a8/b607b221454c4cd7bc7831b2d19712bb4ff888 +0 -0
  634. data/tests/files/working/dot_git/objects/a9/e2d9b71b616531f04a65ae5b972ba5d1f2cb93 +0 -0
  635. data/tests/files/working/dot_git/objects/a9/e2f17562ae78a75dc855bb3dc9e87364195dcf +0 -0
  636. data/tests/files/working/dot_git/objects/ab/16bc1812fd6226780a841300a2432dfd0c6719 +0 -0
  637. data/tests/files/working/dot_git/objects/ac/8f48bbb7b31c945ba6a4fbe6950d009a5d8373 +0 -0
  638. data/tests/files/working/dot_git/objects/ae/21cabd23aee99a719fc828977c0df9e8b19363 +0 -0
  639. data/tests/files/working/dot_git/objects/b0/3003311ad3fa368b475df58390353868e13c91 +0 -2
  640. data/tests/files/working/dot_git/objects/b0/ee249c5e5cc9464f3bc0034ab05632dcb87a23 +0 -0
  641. data/tests/files/working/dot_git/objects/b1/288f8beeaa6cf048c3a9f578d4e266fab8820e +0 -0
  642. data/tests/files/working/dot_git/objects/b1/5336206c9040f4c52660b3f3c76ee02ccece56 +0 -0
  643. data/tests/files/working/dot_git/objects/b1/b18f5bea24648a1b08e5bba88728c15ec3cb50 +0 -2
  644. data/tests/files/working/dot_git/objects/b4/5724ee906d2561901208ba924add09ab95ccb3 +0 -0
  645. data/tests/files/working/dot_git/objects/b5/d8fc3cb740eb643c66eb5f4a97345fdb806259 +0 -0
  646. data/tests/files/working/dot_git/objects/b6/153b8fe540288d66b974ae05113338ab1a61f0 +0 -0
  647. data/tests/files/working/dot_git/objects/b6/987bc1201ad19774c43c0ea8078f6f51d76bcb +0 -0
  648. data/tests/files/working/dot_git/objects/b6/9e6acd87e5f9114ce6580b095ef1057a8fe5bb +0 -0
  649. data/tests/files/working/dot_git/objects/b9/8f4909807c8c84a1dc1b62b4a339ae1777f369 +0 -3
  650. data/tests/files/working/dot_git/objects/ba/492c62b6227d7f3507b4dcc6e6d5f13790eabf +0 -0
  651. data/tests/files/working/dot_git/objects/ba/c335cb9dc058a477d04cde34c07d1f70d16fb9 +0 -0
  652. data/tests/files/working/dot_git/objects/bb/0850568bb43049031a38b01ddb60e4a487f823 +0 -0
  653. data/tests/files/working/dot_git/objects/be/b14380ef26540efcad06bedcd0e302b6bce70e +0 -0
  654. data/tests/files/working/dot_git/objects/c1/3142dd26a1f6f38403a17f6c411cb621b9a1cd +0 -0
  655. data/tests/files/working/dot_git/objects/c1/8b4e9b0829411705d7fa9a1570a20d88780817 +0 -0
  656. data/tests/files/working/dot_git/objects/c5/a3fdb33f052b8f17dac83c533b62244226f4ba +0 -0
  657. data/tests/files/working/dot_git/objects/c6/567e2feccce3893ae0aaac2bf97807338aa8d4 +0 -0
  658. data/tests/files/working/dot_git/objects/cb/45eef6fa1ad913137d91c6b81d2b42d69094a6 +0 -0
  659. data/tests/files/working/dot_git/objects/cd/0d59357b36a447ff27a7c176b46e0a319b42df +0 -0
  660. data/tests/files/working/dot_git/objects/cd/4291452a61ff8b57cf5510addc8ddc5630748e +0 -0
  661. data/tests/files/working/dot_git/objects/cf/7135368cc3bf4920ceeaeebd083e098cfad355 +0 -4
  662. data/tests/files/working/dot_git/objects/cf/b9952c3a28831144a0fac7ea5a2d8517f466c4 +0 -0
  663. data/tests/files/working/dot_git/objects/d0/0491fd7e5bb6fa28c517a0bb32b8b506539d4d +0 -0
  664. data/tests/files/working/dot_git/objects/d1/4cbc09cc34fb6450b2e96432102be51c8292b8 +0 -0
  665. data/tests/files/working/dot_git/objects/d3/d171221e87a30e059d638f155f899595d96b71 +0 -0
  666. data/tests/files/working/dot_git/objects/d5/b9587b65731e25216743b0caca72051a760211 +0 -2
  667. data/tests/files/working/dot_git/objects/d6/a3aab3e38bc16688b4e636a91e462434210878 +0 -0
  668. data/tests/files/working/dot_git/objects/d6/f31c35d7e010e50568c0d605227028aa7bac66 +0 -0
  669. data/tests/files/working/dot_git/objects/d7/875788aeafdd8e317880c00e3372f683cad91e +0 -0
  670. data/tests/files/working/dot_git/objects/d7/d8a71a719e2a4ca501991a66dab47df804f6ad +0 -0
  671. data/tests/files/working/dot_git/objects/d7/e844eec32d74a3d37c4ce02d7138658e1035d6 +0 -0
  672. data/tests/files/working/dot_git/objects/da/597fb7fba247a5b59d917e90342cf4b9695905 +0 -0
  673. data/tests/files/working/dot_git/objects/da/7b788b1575936a4381050610a37737c70b55a0 +0 -1
  674. data/tests/files/working/dot_git/objects/de/996da0ef3dcee1a28aef9243aa3e255eb825b5 +0 -0
  675. data/tests/files/working/dot_git/objects/de/d54b45e4d49816f6d4256e74d45ba2bb351357 +0 -0
  676. data/tests/files/working/dot_git/objects/e3/6f723934fd1d67c7d21538751f0b1e941141db +0 -0
  677. data/tests/files/working/dot_git/objects/e3/ebef76525fe9e6e8dc739934a08512dff777c0 +0 -0
  678. data/tests/files/working/dot_git/objects/e5/0fa6835cb99747346f19fea5f1ba939da4205f +0 -2
  679. data/tests/files/working/dot_git/objects/e5/650a5c9c4b5a4415195bfb01d4d8dccbc8221b +0 -0
  680. data/tests/files/working/dot_git/objects/e5/76bdfc9ed4627ac954f9390cf7a6151ad2a73e +0 -0
  681. data/tests/files/working/dot_git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
  682. data/tests/files/working/dot_git/objects/e7/ea5938f9c009d32235050bca991d0b9533e440 +0 -0
  683. data/tests/files/working/dot_git/objects/e8/183f05f5db68b3934e93f4bf6bed2bb664e0b5 +0 -0
  684. data/tests/files/working/dot_git/objects/e8/bd03b163f82fba4560c11839d49361a78dec85 +0 -0
  685. data/tests/files/working/dot_git/objects/e9/0de8268373e4fd5ab13310b7745d47ec16813c +0 -0
  686. data/tests/files/working/dot_git/objects/ec/16a327a6a98367d03369b4e998baf3db379313 +0 -0
  687. data/tests/files/working/dot_git/objects/ec/1e3d44e160e18dbfbaa80b5b0780ccc03e678e +0 -0
  688. data/tests/files/working/dot_git/objects/ed/551aa66cf0c6f1a078832f80899faff0ae88dc +0 -0
  689. data/tests/files/working/dot_git/objects/f1/25480ee106989ec4d86554c0d5a1487ad4336a +0 -1
  690. data/tests/files/working/dot_git/objects/f1/410f8735f6f73d3599eb9b5cdd2fb70373335c +0 -3
  691. data/tests/files/working/dot_git/objects/f2/02cb755135d4263589602783b04fb32a079d88 +0 -0
  692. data/tests/files/working/dot_git/objects/f2/ff401fb3fc81f8abb3ca15247aadc1e22b6288 +0 -0
  693. data/tests/files/working/dot_git/objects/f5/501de98279c6454f510188873476f3ead0cee6 +0 -4
  694. data/tests/files/working/dot_git/objects/f7/5f313ca30e534aa9c42463e85108e682d3a14a +0 -0
  695. data/tests/files/working/dot_git/objects/f8/e9c6748331411c0d3511f90bd4e0a1a30acff0 +0 -0
  696. data/tests/files/working/dot_git/objects/f9/bce8995109cfab475d043a7dd9156d5e574ed3 +0 -0
  697. data/tests/files/working/dot_git/objects/fa/6312f71abb153ada6a0399ad710d21bb61e4d8 +0 -0
  698. data/tests/files/working/dot_git/objects/fb/8e78840d79085abf50edebf5b9d6b73ee0fb4c +0 -0
  699. data/tests/files/working/dot_git/objects/fc/b49fa99454f804799a12095292edbca48779ab +0 -0
  700. data/tests/files/working/dot_git/objects/fe/b2ccf88397c2d93f381176067be2727eba330b +0 -0
  701. data/tests/files/working/dot_git/refs/heads/git_grep +0 -1
  702. data/tests/files/working/dot_git/refs/heads/master +0 -1
  703. data/tests/files/working/dot_git/refs/heads/test +0 -1
  704. data/tests/files/working/dot_git/refs/heads/test_branches +0 -1
  705. data/tests/files/working/dot_git/refs/heads/test_object +0 -1
  706. data/tests/files/working/dot_git/refs/remotes/working/master +0 -1
  707. data/tests/files/working/dot_git/refs/tags/gitsearch1 +0 -1
  708. data/tests/files/working/dot_git/refs/tags/v2.5 +0 -1
  709. data/tests/files/working/dot_git/refs/tags/v2.6 +0 -1
  710. data/tests/files/working/dot_git/refs/tags/v2.7 +0 -1
  711. data/tests/files/working/dot_git/refs/tags/v2.8 +0 -1
  712. data/tests/files/working/ex_dir/ex.txt +0 -0
  713. data/tests/files/working/example.txt +0 -1
  714. data/tests/files/working/scott/newfile +0 -1
  715. data/tests/files/working/scott/text.txt +0 -8
  716. data/tests/test_helper.rb +0 -77
  717. data/tests/units/test_archive.rb +0 -55
  718. data/tests/units/test_bare.rb +0 -41
  719. data/tests/units/test_branch.rb +0 -92
  720. data/tests/units/test_config.rb +0 -31
  721. data/tests/units/test_diff.rb +0 -86
  722. data/tests/units/test_each_conflict.rb +0 -49
  723. data/tests/units/test_git_path.rb +0 -29
  724. data/tests/units/test_index_ops.rb +0 -94
  725. data/tests/units/test_init.rb +0 -75
  726. data/tests/units/test_lib.rb +0 -141
  727. data/tests/units/test_log.rb +0 -49
  728. data/tests/units/test_logger.rb +0 -38
  729. data/tests/units/test_merge.rb +0 -104
  730. data/tests/units/test_object.rb +0 -129
  731. data/tests/units/test_remotes.rb +0 -80
  732. data/tests/units/test_repack.rb +0 -30
  733. data/tests/units/test_stashes.rb +0 -36
  734. data/tests/units/test_tags.rb +0 -35
  735. data/tests/units/test_tree_ops.rb +0 -121
@@ -1,22 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>blob (Git::Diff::DiffFile)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/git/diff.rb, line 87</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">blob</span>(<span class="ruby-identifier">type</span> = <span class="ruby-identifier">:dst</span>)
15
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">:src</span>
16
- <span class="ruby-ivar">@base</span>.<span class="ruby-identifier">object</span>(<span class="ruby-ivar">@src</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@src</span> <span class="ruby-operator">!=</span> <span class="ruby-value str">'0000000'</span>
17
- <span class="ruby-keyword kw">else</span>
18
- <span class="ruby-ivar">@base</span>.<span class="ruby-identifier">object</span>(<span class="ruby-ivar">@dst</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@dst</span> <span class="ruby-operator">!=</span> <span class="ruby-value str">'0000000'</span>
19
- <span class="ruby-keyword kw">end</span>
20
- <span class="ruby-keyword kw">end</span></pre>
21
- </body>
22
- </html>
@@ -1,111 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Git::GitExecuteError</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">Git::GitExecuteError</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/git/lib_rb.html">
59
- lib/git/lib.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- StandardError
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
-
86
- </div>
87
-
88
-
89
- <!-- if includes -->
90
-
91
- <div id="section">
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
- <!-- if method_list -->
101
-
102
-
103
- </div>
104
-
105
-
106
- <div id="validator-badges">
107
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
108
- </div>
109
-
110
- </body>
111
- </html>
@@ -1,111 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Git::GitTagNameDoesNotExist</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">Git::GitTagNameDoesNotExist</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/git/object_rb.html">
59
- lib/git/object.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- StandardError
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
-
86
- </div>
87
-
88
-
89
- <!-- if includes -->
90
-
91
- <div id="section">
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
- <!-- if method_list -->
101
-
102
-
103
- </div>
104
-
105
-
106
- <div id="validator-badges">
107
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
108
- </div>
109
-
110
- </body>
111
- </html>
@@ -1,113 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Git::Index</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">Git::Index</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/git/index_rb.html">
59
- lib/git/index.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- <a href="Path.html">
69
- Git::Path
70
- </a>
71
- </td>
72
- </tr>
73
- </table>
74
- </div>
75
- <!-- banner header -->
76
-
77
- <div id="bodyContent">
78
-
79
-
80
-
81
- <div id="contextContent">
82
-
83
-
84
-
85
- </div>
86
-
87
-
88
- </div>
89
-
90
-
91
- <!-- if includes -->
92
-
93
- <div id="section">
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
- <!-- if method_list -->
103
-
104
-
105
- </div>
106
-
107
-
108
- <div id="validator-badges">
109
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
110
- </div>
111
-
112
- </body>
113
- </html>
@@ -1,1560 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Git::Lib</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">Git::Lib</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/git/lib_rb.html">
59
- lib/git/lib.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- <a href="Object.html">
69
- Object
70
- </a>
71
- </td>
72
- </tr>
73
- </table>
74
- </div>
75
- <!-- banner header -->
76
-
77
- <div id="bodyContent">
78
-
79
-
80
-
81
- <div id="contextContent">
82
-
83
-
84
-
85
- </div>
86
-
87
- <div id="method-list">
88
- <h3 class="section-bar">Methods</h3>
89
-
90
- <div class="name-list">
91
- <a href="#M000050">add</a>&nbsp;&nbsp;
92
- <a href="#M000072">archive</a>&nbsp;&nbsp;
93
- <a href="#M000039">branch_current</a>&nbsp;&nbsp;
94
- <a href="#M000055">branch_delete</a>&nbsp;&nbsp;
95
- <a href="#M000054">branch_new</a>&nbsp;&nbsp;
96
- <a href="#M000038">branches_all</a>&nbsp;&nbsp;
97
- <a href="#M000056">checkout</a>&nbsp;&nbsp;
98
- <a href="#M000071">checkout_index</a>&nbsp;&nbsp;
99
- <a href="#M000027">clone</a>&nbsp;&nbsp;
100
- <a href="#M000052">commit</a>&nbsp;&nbsp;
101
- <a href="#M000034">commit_data</a>&nbsp;&nbsp;
102
- <a href="#M000069">commit_tree</a>&nbsp;&nbsp;
103
- <a href="#M000047">config_get</a>&nbsp;&nbsp;
104
- <a href="#M000048">config_list</a>&nbsp;&nbsp;
105
- <a href="#M000046">config_remote</a>&nbsp;&nbsp;
106
- <a href="#M000049">config_set</a>&nbsp;&nbsp;
107
- <a href="#M000043">diff_files</a>&nbsp;&nbsp;
108
- <a href="#M000041">diff_full</a>&nbsp;&nbsp;
109
- <a href="#M000044">diff_index</a>&nbsp;&nbsp;
110
- <a href="#M000042">diff_stats</a>&nbsp;&nbsp;
111
- <a href="#M000063">fetch</a>&nbsp;&nbsp;
112
- <a href="#M000029">full_log_commits</a>&nbsp;&nbsp;
113
- <a href="#M000040">grep</a>&nbsp;&nbsp;
114
- <a href="#M000026">init</a>&nbsp;&nbsp;
115
- <a href="#M000028">log_commits</a>&nbsp;&nbsp;
116
- <a href="#M000045">ls_files</a>&nbsp;&nbsp;
117
- <a href="#M000037">ls_tree</a>&nbsp;&nbsp;
118
- <a href="#M000057">merge</a>&nbsp;&nbsp;
119
- <a href="#M000031">namerev</a>&nbsp;&nbsp;
120
- <a href="#M000025">new</a>&nbsp;&nbsp;
121
- <a href="#M000036">object_contents</a>&nbsp;&nbsp;
122
- <a href="#M000033">object_size</a>&nbsp;&nbsp;
123
- <a href="#M000032">object_type</a>&nbsp;&nbsp;
124
- <a href="#M000035">process_commit_data</a>&nbsp;&nbsp;
125
- <a href="#M000064">push</a>&nbsp;&nbsp;
126
- <a href="#M000067">read_tree</a>&nbsp;&nbsp;
127
- <a href="#M000058">remote_add</a>&nbsp;&nbsp;
128
- <a href="#M000059">remote_remove</a>&nbsp;&nbsp;
129
- <a href="#M000060">remotes</a>&nbsp;&nbsp;
130
- <a href="#M000051">remove</a>&nbsp;&nbsp;
131
- <a href="#M000066">repack</a>&nbsp;&nbsp;
132
- <a href="#M000053">reset</a>&nbsp;&nbsp;
133
- <a href="#M000030">revparse</a>&nbsp;&nbsp;
134
- <a href="#M000062">tag</a>&nbsp;&nbsp;
135
- <a href="#M000065">tag_sha</a>&nbsp;&nbsp;
136
- <a href="#M000061">tags</a>&nbsp;&nbsp;
137
- <a href="#M000070">update_ref</a>&nbsp;&nbsp;
138
- <a href="#M000068">write_tree</a>&nbsp;&nbsp;
139
- </div>
140
- </div>
141
-
142
- </div>
143
-
144
-
145
- <!-- if includes -->
146
-
147
- <div id="section">
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
- <!-- if method_list -->
157
- <div id="methods">
158
- <h3 class="section-bar">Public Class methods</h3>
159
-
160
- <div id="method-M000025" class="method-detail">
161
- <a name="M000025"></a>
162
-
163
- <div class="method-heading">
164
- <a href="#M000025" class="method-signature">
165
- <span class="method-name">new</span><span class="method-args">(base = nil)</span>
166
- </a>
167
- </div>
168
-
169
- <div class="method-description">
170
- <p><a class="source-toggle" href="#"
171
- onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
172
- <div class="method-source-code" id="M000025-source">
173
- <pre>
174
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 15</span>
175
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">base</span> = <span class="ruby-keyword kw">nil</span>)
176
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">base</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Base</span>)
177
- <span class="ruby-ivar">@git_dir</span> = <span class="ruby-identifier">base</span>.<span class="ruby-identifier">repo</span>.<span class="ruby-identifier">path</span>
178
- <span class="ruby-ivar">@git_index_file</span> = <span class="ruby-identifier">base</span>.<span class="ruby-identifier">index</span>.<span class="ruby-identifier">path</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">base</span>.<span class="ruby-identifier">index</span>
179
- <span class="ruby-ivar">@git_work_dir</span> = <span class="ruby-identifier">base</span>.<span class="ruby-identifier">dir</span>.<span class="ruby-identifier">path</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">base</span>.<span class="ruby-identifier">dir</span>
180
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">base</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>)
181
- <span class="ruby-ivar">@git_dir</span> = <span class="ruby-identifier">base</span>[<span class="ruby-identifier">:repository</span>]
182
- <span class="ruby-ivar">@git_index_file</span> = <span class="ruby-identifier">base</span>[<span class="ruby-identifier">:index</span>]
183
- <span class="ruby-ivar">@git_work_dir</span> = <span class="ruby-identifier">base</span>[<span class="ruby-identifier">:working_directory</span>]
184
- <span class="ruby-keyword kw">end</span>
185
- <span class="ruby-keyword kw">end</span>
186
- </pre>
187
- </div>
188
- </div>
189
- </div>
190
-
191
- <h3 class="section-bar">Public Instance methods</h3>
192
-
193
- <div id="method-M000050" class="method-detail">
194
- <a name="M000050"></a>
195
-
196
- <div class="method-heading">
197
- <a href="#M000050" class="method-signature">
198
- <span class="method-name">add</span><span class="method-args">(path = '.')</span>
199
- </a>
200
- </div>
201
-
202
- <div class="method-description">
203
- <p><a class="source-toggle" href="#"
204
- onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
205
- <div class="method-source-code" id="M000050-source">
206
- <pre>
207
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 296</span>
208
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-identifier">path</span> = <span class="ruby-value str">'.'</span>)
209
- <span class="ruby-identifier">path</span> = <span class="ruby-identifier">path</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">' '</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">path</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
210
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'add'</span>, <span class="ruby-identifier">path</span>)
211
- <span class="ruby-keyword kw">end</span>
212
- </pre>
213
- </div>
214
- </div>
215
- </div>
216
-
217
- <div id="method-M000072" class="method-detail">
218
- <a name="M000072"></a>
219
-
220
- <div class="method-heading">
221
- <a href="#M000072" class="method-signature">
222
- <span class="method-name">archive</span><span class="method-args">(sha, file = nil, opts = {})</span>
223
- </a>
224
- </div>
225
-
226
- <div class="method-description">
227
- <p>
228
- creates an archive file
229
- </p>
230
- <p>
231
- options
232
- </p>
233
- <pre>
234
- :format (zip, tar)
235
- :prefix
236
- :remote
237
- :path
238
- </pre>
239
- <p><a class="source-toggle" href="#"
240
- onclick="toggleCode('M000072-source');return false;">[Source]</a></p>
241
- <div class="method-source-code" id="M000072-source">
242
- <pre>
243
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 438</span>
244
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">archive</span>(<span class="ruby-identifier">sha</span>, <span class="ruby-identifier">file</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">opts</span> = {})
245
- <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:format</span>] = <span class="ruby-value str">'zip'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:format</span>]
246
-
247
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:format</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">'tgz'</span>
248
- <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:format</span>] = <span class="ruby-value str">'tar'</span>
249
- <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:add_gzip</span>] = <span class="ruby-keyword kw">true</span>
250
- <span class="ruby-keyword kw">end</span>
251
-
252
- <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">file</span>
253
- <span class="ruby-identifier">file</span> = <span class="ruby-constant">Tempfile</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'archive'</span>).<span class="ruby-identifier">path</span>
254
- <span class="ruby-keyword kw">end</span>
255
-
256
- <span class="ruby-identifier">arr_opts</span> = []
257
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;--format=#{opts[:format]}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:format</span>]
258
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;--prefix=#{opts[:prefix]}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:prefix</span>]
259
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;--remote=#{opts[:remote]}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:remote</span>]
260
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">sha</span>
261
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path</span>]
262
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'| gzip'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:add_gzip</span>]
263
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;&gt; #{file.to_s}&quot;</span>
264
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'archive'</span>, <span class="ruby-identifier">arr_opts</span>)
265
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">file</span>
266
- <span class="ruby-keyword kw">end</span>
267
- </pre>
268
- </div>
269
- </div>
270
- </div>
271
-
272
- <div id="method-M000039" class="method-detail">
273
- <a name="M000039"></a>
274
-
275
- <div class="method-heading">
276
- <a href="#M000039" class="method-signature">
277
- <span class="method-name">branch_current</span><span class="method-args">()</span>
278
- </a>
279
- </div>
280
-
281
- <div class="method-description">
282
- <p><a class="source-toggle" href="#"
283
- onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
284
- <div class="method-source-code" id="M000039-source">
285
- <pre>
286
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 177</span>
287
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">branch_current</span>
288
- <span class="ruby-identifier">branches_all</span>.<span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">b</span><span class="ruby-operator">|</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">1</span>] }.<span class="ruby-identifier">first</span>[<span class="ruby-value">0</span>] <span class="ruby-keyword kw">rescue</span> <span class="ruby-keyword kw">nil</span>
289
- <span class="ruby-keyword kw">end</span>
290
- </pre>
291
- </div>
292
- </div>
293
- </div>
294
-
295
- <div id="method-M000055" class="method-detail">
296
- <a name="M000055"></a>
297
-
298
- <div class="method-heading">
299
- <a href="#M000055" class="method-signature">
300
- <span class="method-name">branch_delete</span><span class="method-args">(branch)</span>
301
- </a>
302
- </div>
303
-
304
- <div class="method-description">
305
- <p><a class="source-toggle" href="#"
306
- onclick="toggleCode('M000055-source');return false;">[Source]</a></p>
307
- <div class="method-source-code" id="M000055-source">
308
- <pre>
309
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 329</span>
310
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">branch_delete</span>(<span class="ruby-identifier">branch</span>)
311
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'branch'</span>, [<span class="ruby-value str">'-d'</span>, <span class="ruby-identifier">branch</span>])
312
- <span class="ruby-keyword kw">end</span>
313
- </pre>
314
- </div>
315
- </div>
316
- </div>
317
-
318
- <div id="method-M000054" class="method-detail">
319
- <a name="M000054"></a>
320
-
321
- <div class="method-heading">
322
- <a href="#M000054" class="method-signature">
323
- <span class="method-name">branch_new</span><span class="method-args">(branch)</span>
324
- </a>
325
- </div>
326
-
327
- <div class="method-description">
328
- <p><a class="source-toggle" href="#"
329
- onclick="toggleCode('M000054-source');return false;">[Source]</a></p>
330
- <div class="method-source-code" id="M000054-source">
331
- <pre>
332
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 325</span>
333
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">branch_new</span>(<span class="ruby-identifier">branch</span>)
334
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'branch'</span>, <span class="ruby-identifier">branch</span>)
335
- <span class="ruby-keyword kw">end</span>
336
- </pre>
337
- </div>
338
- </div>
339
- </div>
340
-
341
- <div id="method-M000038" class="method-detail">
342
- <a name="M000038"></a>
343
-
344
- <div class="method-heading">
345
- <a href="#M000038" class="method-signature">
346
- <span class="method-name">branches_all</span><span class="method-args">()</span>
347
- </a>
348
- </div>
349
-
350
- <div class="method-description">
351
- <p><a class="source-toggle" href="#"
352
- onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
353
- <div class="method-source-code" id="M000038-source">
354
- <pre>
355
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 167</span>
356
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">branches_all</span>
357
- <span class="ruby-identifier">arr</span> = []
358
- <span class="ruby-identifier">command_lines</span>(<span class="ruby-value str">'branch'</span>, <span class="ruby-value str">'-a'</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">b</span><span class="ruby-operator">|</span>
359
- <span class="ruby-identifier">current</span> = <span class="ruby-keyword kw">false</span>
360
- <span class="ruby-identifier">current</span> = <span class="ruby-keyword kw">true</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">b</span>[<span class="ruby-value">0</span>, <span class="ruby-value">2</span>] <span class="ruby-operator">==</span> <span class="ruby-value str">'* '</span>
361
- <span class="ruby-identifier">arr</span> <span class="ruby-operator">&lt;&lt;</span> [<span class="ruby-identifier">b</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">'* '</span>, <span class="ruby-value str">''</span>).<span class="ruby-identifier">strip</span>, <span class="ruby-identifier">current</span>]
362
- <span class="ruby-keyword kw">end</span>
363
- <span class="ruby-identifier">arr</span>
364
- <span class="ruby-keyword kw">end</span>
365
- </pre>
366
- </div>
367
- </div>
368
- </div>
369
-
370
- <div id="method-M000056" class="method-detail">
371
- <a name="M000056"></a>
372
-
373
- <div class="method-heading">
374
- <a href="#M000056" class="method-signature">
375
- <span class="method-name">checkout</span><span class="method-args">(branch, opts = {})</span>
376
- </a>
377
- </div>
378
-
379
- <div class="method-description">
380
- <p><a class="source-toggle" href="#"
381
- onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
382
- <div class="method-source-code" id="M000056-source">
383
- <pre>
384
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 333</span>
385
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">checkout</span>(<span class="ruby-identifier">branch</span>, <span class="ruby-identifier">opts</span> = {})
386
- <span class="ruby-identifier">arr_opts</span> = []
387
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'-f'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:force</span>]
388
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">branch</span>.<span class="ruby-identifier">to_s</span>
389
-
390
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'checkout'</span>, <span class="ruby-identifier">arr_opts</span>)
391
- <span class="ruby-keyword kw">end</span>
392
- </pre>
393
- </div>
394
- </div>
395
- </div>
396
-
397
- <div id="method-M000071" class="method-detail">
398
- <a name="M000071"></a>
399
-
400
- <div class="method-heading">
401
- <a href="#M000071" class="method-signature">
402
- <span class="method-name">checkout_index</span><span class="method-args">(opts = {})</span>
403
- </a>
404
- </div>
405
-
406
- <div class="method-description">
407
- <p><a class="source-toggle" href="#"
408
- onclick="toggleCode('M000071-source');return false;">[Source]</a></p>
409
- <div class="method-source-code" id="M000071-source">
410
- <pre>
411
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 422</span>
412
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">checkout_index</span>(<span class="ruby-identifier">opts</span> = {})
413
- <span class="ruby-identifier">arr_opts</span> = []
414
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;--prefix=#{opts[:prefix]}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:prefix</span>]
415
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;--force&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:force</span>]
416
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;--all&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:all</span>]
417
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> (<span class="ruby-value str">'-- '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path_limiter</span>]) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path_limiter</span>].<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">String</span>
418
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'checkout-index'</span>, <span class="ruby-identifier">arr_opts</span>)
419
- <span class="ruby-keyword kw">end</span>
420
- </pre>
421
- </div>
422
- </div>
423
- </div>
424
-
425
- <div id="method-M000027" class="method-detail">
426
- <a name="M000027"></a>
427
-
428
- <div class="method-heading">
429
- <a href="#M000027" class="method-signature">
430
- <span class="method-name">clone</span><span class="method-args">(repository, name, opts = {})</span>
431
- </a>
432
- </div>
433
-
434
- <div class="method-description">
435
- <p>
436
- tries to clone the given repo
437
- </p>
438
- <p>
439
- returns {:repository} (if bare)
440
- </p>
441
- <pre>
442
- {:working_directory} otherwise
443
- </pre>
444
- <p>
445
- accepts options:
446
- </p>
447
- <pre>
448
- :remote - name of remote (rather than 'origin')
449
- :bare - no working directory
450
- </pre>
451
- <p>
452
- TODO - make this work with SSH password or auth_key
453
- </p>
454
- <p><a class="source-toggle" href="#"
455
- onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
456
- <div class="method-source-code" id="M000027-source">
457
- <pre>
458
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 42</span>
459
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clone</span>(<span class="ruby-identifier">repository</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">opts</span> = {})
460
- <span class="ruby-ivar">@path</span> = <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path</span>] <span class="ruby-operator">||</span> <span class="ruby-value str">'.'</span>
461
- <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path</span>] <span class="ruby-operator">?</span> <span class="ruby-identifier">clone_dir</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-ivar">@path</span>, <span class="ruby-identifier">name</span>) <span class="ruby-operator">:</span> <span class="ruby-identifier">clone_dir</span> = <span class="ruby-identifier">name</span>
462
-
463
- <span class="ruby-identifier">arr_opts</span> = []
464
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;--bare&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:bare</span>]
465
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;-o #{opts[:remote]}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:remote</span>]
466
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">repository</span>
467
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">clone_dir</span>
468
-
469
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'clone'</span>, <span class="ruby-identifier">arr_opts</span>)
470
-
471
- <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:bare</span>] <span class="ruby-operator">?</span> {<span class="ruby-identifier">:repository</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">clone_dir</span>} <span class="ruby-operator">:</span> {<span class="ruby-identifier">:working_directory</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">clone_dir</span>}
472
- <span class="ruby-keyword kw">end</span>
473
- </pre>
474
- </div>
475
- </div>
476
- </div>
477
-
478
- <div id="method-M000052" class="method-detail">
479
- <a name="M000052"></a>
480
-
481
- <div class="method-heading">
482
- <a href="#M000052" class="method-signature">
483
- <span class="method-name">commit</span><span class="method-args">(message, opts = {})</span>
484
- </a>
485
- </div>
486
-
487
- <div class="method-description">
488
- <p><a class="source-toggle" href="#"
489
- onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
490
- <div class="method-source-code" id="M000052-source">
491
- <pre>
492
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 311</span>
493
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">commit</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">opts</span> = {})
494
- <span class="ruby-identifier">arr_opts</span> = [<span class="ruby-node">&quot;-m '#{message}'&quot;</span>]
495
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'-a'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:add_all</span>]
496
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'commit'</span>, <span class="ruby-identifier">arr_opts</span>)
497
- <span class="ruby-keyword kw">end</span>
498
- </pre>
499
- </div>
500
- </div>
501
- </div>
502
-
503
- <div id="method-M000034" class="method-detail">
504
- <a name="M000034"></a>
505
-
506
- <div class="method-heading">
507
- <a href="#M000034" class="method-signature">
508
- <span class="method-name">commit_data</span><span class="method-args">(sha)</span>
509
- </a>
510
- </div>
511
-
512
- <div class="method-description">
513
- <p>
514
- returns useful array of raw commit object data
515
- </p>
516
- <p><a class="source-toggle" href="#"
517
- onclick="toggleCode('M000034-source');return false;">[Source]</a></p>
518
- <div class="method-source-code" id="M000034-source">
519
- <pre>
520
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 104</span>
521
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">commit_data</span>(<span class="ruby-identifier">sha</span>)
522
- <span class="ruby-identifier">sha</span> = <span class="ruby-identifier">sha</span>.<span class="ruby-identifier">to_s</span>
523
- <span class="ruby-identifier">cdata</span> = <span class="ruby-identifier">command_lines</span>(<span class="ruby-value str">'cat-file'</span>, [<span class="ruby-value str">'commit'</span>, <span class="ruby-identifier">sha</span>])
524
- <span class="ruby-identifier">process_commit_data</span>(<span class="ruby-identifier">cdata</span>, <span class="ruby-identifier">sha</span>)
525
- <span class="ruby-keyword kw">end</span>
526
- </pre>
527
- </div>
528
- </div>
529
- </div>
530
-
531
- <div id="method-M000069" class="method-detail">
532
- <a name="M000069"></a>
533
-
534
- <div class="method-heading">
535
- <a href="#M000069" class="method-signature">
536
- <span class="method-name">commit_tree</span><span class="method-args">(tree, opts = {})</span>
537
- </a>
538
- </div>
539
-
540
- <div class="method-description">
541
- <p><a class="source-toggle" href="#"
542
- onclick="toggleCode('M000069-source');return false;">[Source]</a></p>
543
- <div class="method-source-code" id="M000069-source">
544
- <pre>
545
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 404</span>
546
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">commit_tree</span>(<span class="ruby-identifier">tree</span>, <span class="ruby-identifier">opts</span> = {})
547
- <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:message</span>] = <span class="ruby-node">&quot;commit tree #{tree}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:message</span>]
548
- <span class="ruby-identifier">t</span> = <span class="ruby-constant">Tempfile</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">'commit-message'</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span>
549
- <span class="ruby-identifier">t</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:message</span>])
550
- <span class="ruby-keyword kw">end</span>
551
-
552
- <span class="ruby-identifier">arr_opts</span> = []
553
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">tree</span>
554
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;-p #{opts[:parent]}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:parent</span>]
555
- <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:parents</span>].<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">p</span><span class="ruby-operator">|</span> <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;-p #{p.to_s}&quot;</span> } <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:parents</span>]
556
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;&lt; #{t.path}&quot;</span>
557
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'commit-tree'</span>, <span class="ruby-identifier">arr_opts</span>)
558
- <span class="ruby-keyword kw">end</span>
559
- </pre>
560
- </div>
561
- </div>
562
- </div>
563
-
564
- <div id="method-M000047" class="method-detail">
565
- <a name="M000047"></a>
566
-
567
- <div class="method-heading">
568
- <a href="#M000047" class="method-signature">
569
- <span class="method-name">config_get</span><span class="method-args">(name)</span>
570
- </a>
571
- </div>
572
-
573
- <div class="method-description">
574
- <p><a class="source-toggle" href="#"
575
- onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
576
- <div class="method-source-code" id="M000047-source">
577
- <pre>
578
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 277</span>
579
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">config_get</span>(<span class="ruby-identifier">name</span>)
580
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'config'</span>, [<span class="ruby-value str">'--get'</span>, <span class="ruby-identifier">name</span>])
581
- <span class="ruby-keyword kw">end</span>
582
- </pre>
583
- </div>
584
- </div>
585
- </div>
586
-
587
- <div id="method-M000048" class="method-detail">
588
- <a name="M000048"></a>
589
-
590
- <div class="method-heading">
591
- <a href="#M000048" class="method-signature">
592
- <span class="method-name">config_list</span><span class="method-args">()</span>
593
- </a>
594
- </div>
595
-
596
- <div class="method-description">
597
- <p><a class="source-toggle" href="#"
598
- onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
599
- <div class="method-source-code" id="M000048-source">
600
- <pre>
601
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 281</span>
602
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">config_list</span>
603
- <span class="ruby-identifier">hsh</span> = {}
604
- <span class="ruby-identifier">command_lines</span>(<span class="ruby-value str">'config'</span>, [<span class="ruby-value str">'--list'</span>]).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
605
- (<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>) = <span class="ruby-identifier">line</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">'='</span>)
606
- <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
607
- <span class="ruby-keyword kw">end</span>
608
- <span class="ruby-identifier">hsh</span>
609
- <span class="ruby-keyword kw">end</span>
610
- </pre>
611
- </div>
612
- </div>
613
- </div>
614
-
615
- <div id="method-M000046" class="method-detail">
616
- <a name="M000046"></a>
617
-
618
- <div class="method-heading">
619
- <a href="#M000046" class="method-signature">
620
- <span class="method-name">config_remote</span><span class="method-args">(name)</span>
621
- </a>
622
- </div>
623
-
624
- <div class="method-description">
625
- <p><a class="source-toggle" href="#"
626
- onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
627
- <div class="method-source-code" id="M000046-source">
628
- <pre>
629
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 268</span>
630
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">config_remote</span>(<span class="ruby-identifier">name</span>)
631
- <span class="ruby-identifier">hsh</span> = {}
632
- <span class="ruby-identifier">command_lines</span>(<span class="ruby-value str">'config'</span>, [<span class="ruby-value str">'--get-regexp'</span>, <span class="ruby-node">&quot;remote.#{name}&quot;</span>]).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
633
- (<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>) = <span class="ruby-identifier">line</span>.<span class="ruby-identifier">split</span>
634
- <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">key</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-node">&quot;remote.#{name}.&quot;</span>, <span class="ruby-value str">''</span>)] = <span class="ruby-identifier">value</span>
635
- <span class="ruby-keyword kw">end</span>
636
- <span class="ruby-identifier">hsh</span>
637
- <span class="ruby-keyword kw">end</span>
638
- </pre>
639
- </div>
640
- </div>
641
- </div>
642
-
643
- <div id="method-M000049" class="method-detail">
644
- <a name="M000049"></a>
645
-
646
- <div class="method-heading">
647
- <a href="#M000049" class="method-signature">
648
- <span class="method-name">config_set</span><span class="method-args">(name, value)</span>
649
- </a>
650
- </div>
651
-
652
- <div class="method-description">
653
- <p>
654
- WRITE COMMANDS ##
655
- </p>
656
- <p><a class="source-toggle" href="#"
657
- onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
658
- <div class="method-source-code" id="M000049-source">
659
- <pre>
660
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 292</span>
661
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">config_set</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span>)
662
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'config'</span>, [<span class="ruby-identifier">name</span>, <span class="ruby-node">&quot;'#{value}'&quot;</span>])
663
- <span class="ruby-keyword kw">end</span>
664
- </pre>
665
- </div>
666
- </div>
667
- </div>
668
-
669
- <div id="method-M000043" class="method-detail">
670
- <a name="M000043"></a>
671
-
672
- <div class="method-heading">
673
- <a href="#M000043" class="method-signature">
674
- <span class="method-name">diff_files</span><span class="method-args">()</span>
675
- </a>
676
- </div>
677
-
678
- <div class="method-description">
679
- <p>
680
- compares the index and the working directory
681
- </p>
682
- <p><a class="source-toggle" href="#"
683
- onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
684
- <div class="method-source-code" id="M000043-source">
685
- <pre>
686
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 234</span>
687
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">diff_files</span>
688
- <span class="ruby-identifier">hsh</span> = {}
689
- <span class="ruby-identifier">command_lines</span>(<span class="ruby-value str">'diff-files'</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
690
- (<span class="ruby-identifier">info</span>, <span class="ruby-identifier">file</span>) = <span class="ruby-identifier">line</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;\t&quot;</span>)
691
- (<span class="ruby-identifier">mode_src</span>, <span class="ruby-identifier">mode_dest</span>, <span class="ruby-identifier">sha_src</span>, <span class="ruby-identifier">sha_dest</span>, <span class="ruby-identifier">type</span>) = <span class="ruby-identifier">info</span>.<span class="ruby-identifier">split</span>
692
- <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">file</span>] = {<span class="ruby-identifier">:path</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">file</span>, <span class="ruby-identifier">:mode_file</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">mode_src</span>.<span class="ruby-identifier">to_s</span>[<span class="ruby-value">1</span>, <span class="ruby-value">7</span>], <span class="ruby-identifier">:mode_index</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">mode_dest</span>,
693
- <span class="ruby-identifier">:sha_file</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">sha_src</span>, <span class="ruby-identifier">:sha_index</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">sha_dest</span>, <span class="ruby-identifier">:type</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">type</span>}
694
- <span class="ruby-keyword kw">end</span>
695
- <span class="ruby-identifier">hsh</span>
696
- <span class="ruby-keyword kw">end</span>
697
- </pre>
698
- </div>
699
- </div>
700
- </div>
701
-
702
- <div id="method-M000041" class="method-detail">
703
- <a name="M000041"></a>
704
-
705
- <div class="method-heading">
706
- <a href="#M000041" class="method-signature">
707
- <span class="method-name">diff_full</span><span class="method-args">(obj1 = 'HEAD', obj2 = nil, opts = {})</span>
708
- </a>
709
- </div>
710
-
711
- <div class="method-description">
712
- <p><a class="source-toggle" href="#"
713
- onclick="toggleCode('M000041-source');return false;">[Source]</a></p>
714
- <div class="method-source-code" id="M000041-source">
715
- <pre>
716
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 204</span>
717
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">diff_full</span>(<span class="ruby-identifier">obj1</span> = <span class="ruby-value str">'HEAD'</span>, <span class="ruby-identifier">obj2</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">opts</span> = {})
718
- <span class="ruby-identifier">diff_opts</span> = [<span class="ruby-value str">'-p'</span>]
719
- <span class="ruby-identifier">diff_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">obj1</span>
720
- <span class="ruby-identifier">diff_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">obj2</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">obj2</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">String</span>)
721
- <span class="ruby-identifier">diff_opts</span> <span class="ruby-operator">&lt;&lt;</span> (<span class="ruby-value str">'-- '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path_limiter</span>]) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path_limiter</span>].<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">String</span>
722
-
723
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'diff'</span>, <span class="ruby-identifier">diff_opts</span>)
724
- <span class="ruby-keyword kw">end</span>
725
- </pre>
726
- </div>
727
- </div>
728
- </div>
729
-
730
- <div id="method-M000044" class="method-detail">
731
- <a name="M000044"></a>
732
-
733
- <div class="method-heading">
734
- <a href="#M000044" class="method-signature">
735
- <span class="method-name">diff_index</span><span class="method-args">(treeish)</span>
736
- </a>
737
- </div>
738
-
739
- <div class="method-description">
740
- <p>
741
- compares the index and the repository
742
- </p>
743
- <p><a class="source-toggle" href="#"
744
- onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
745
- <div class="method-source-code" id="M000044-source">
746
- <pre>
747
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 246</span>
748
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">diff_index</span>(<span class="ruby-identifier">treeish</span>)
749
- <span class="ruby-identifier">hsh</span> = {}
750
- <span class="ruby-identifier">command_lines</span>(<span class="ruby-value str">'diff-index'</span>, <span class="ruby-identifier">treeish</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
751
- (<span class="ruby-identifier">info</span>, <span class="ruby-identifier">file</span>) = <span class="ruby-identifier">line</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;\t&quot;</span>)
752
- (<span class="ruby-identifier">mode_src</span>, <span class="ruby-identifier">mode_dest</span>, <span class="ruby-identifier">sha_src</span>, <span class="ruby-identifier">sha_dest</span>, <span class="ruby-identifier">type</span>) = <span class="ruby-identifier">info</span>.<span class="ruby-identifier">split</span>
753
- <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">file</span>] = {<span class="ruby-identifier">:path</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">file</span>, <span class="ruby-identifier">:mode_repo</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">mode_src</span>.<span class="ruby-identifier">to_s</span>[<span class="ruby-value">1</span>, <span class="ruby-value">7</span>], <span class="ruby-identifier">:mode_index</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">mode_dest</span>,
754
- <span class="ruby-identifier">:sha_repo</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">sha_src</span>, <span class="ruby-identifier">:sha_index</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">sha_dest</span>, <span class="ruby-identifier">:type</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">type</span>}
755
- <span class="ruby-keyword kw">end</span>
756
- <span class="ruby-identifier">hsh</span>
757
- <span class="ruby-keyword kw">end</span>
758
- </pre>
759
- </div>
760
- </div>
761
- </div>
762
-
763
- <div id="method-M000042" class="method-detail">
764
- <a name="M000042"></a>
765
-
766
- <div class="method-heading">
767
- <a href="#M000042" class="method-signature">
768
- <span class="method-name">diff_stats</span><span class="method-args">(obj1 = 'HEAD', obj2 = nil, opts = {})</span>
769
- </a>
770
- </div>
771
-
772
- <div class="method-description">
773
- <p><a class="source-toggle" href="#"
774
- onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
775
- <div class="method-source-code" id="M000042-source">
776
- <pre>
777
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 213</span>
778
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">diff_stats</span>(<span class="ruby-identifier">obj1</span> = <span class="ruby-value str">'HEAD'</span>, <span class="ruby-identifier">obj2</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">opts</span> = {})
779
- <span class="ruby-identifier">diff_opts</span> = [<span class="ruby-value str">'--numstat'</span>]
780
- <span class="ruby-identifier">diff_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">obj1</span>
781
- <span class="ruby-identifier">diff_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">obj2</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">obj2</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">String</span>)
782
- <span class="ruby-identifier">diff_opts</span> <span class="ruby-operator">&lt;&lt;</span> (<span class="ruby-value str">'-- '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path_limiter</span>]) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path_limiter</span>].<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">String</span>
783
-
784
- <span class="ruby-identifier">hsh</span> = {<span class="ruby-identifier">:total</span> =<span class="ruby-operator">&gt;</span> {<span class="ruby-identifier">:insertions</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>, <span class="ruby-identifier">:deletions</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>, <span class="ruby-identifier">:lines</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>, <span class="ruby-identifier">:files</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>}, <span class="ruby-identifier">:files</span> =<span class="ruby-operator">&gt;</span> {}}
785
-
786
- <span class="ruby-identifier">command_lines</span>(<span class="ruby-value str">'diff'</span>, <span class="ruby-identifier">diff_opts</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">file</span><span class="ruby-operator">|</span>
787
- (<span class="ruby-identifier">insertions</span>, <span class="ruby-identifier">deletions</span>, <span class="ruby-identifier">filename</span>) = <span class="ruby-identifier">file</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;\t&quot;</span>)
788
- <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">:total</span>][<span class="ruby-identifier">:insertions</span>] <span class="ruby-operator">+=</span> <span class="ruby-identifier">insertions</span>.<span class="ruby-identifier">to_i</span>
789
- <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">:total</span>][<span class="ruby-identifier">:deletions</span>] <span class="ruby-operator">+=</span> <span class="ruby-identifier">deletions</span>.<span class="ruby-identifier">to_i</span>
790
- <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">:total</span>][<span class="ruby-identifier">:lines</span>] = (<span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">:total</span>][<span class="ruby-identifier">:deletions</span>] <span class="ruby-operator">+</span> <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">:total</span>][<span class="ruby-identifier">:insertions</span>])
791
- <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">:total</span>][<span class="ruby-identifier">:files</span>] <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
792
- <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">:files</span>][<span class="ruby-identifier">filename</span>] = {<span class="ruby-identifier">:insertions</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">insertions</span>.<span class="ruby-identifier">to_i</span>, <span class="ruby-identifier">:deletions</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">deletions</span>.<span class="ruby-identifier">to_i</span>}
793
- <span class="ruby-keyword kw">end</span>
794
-
795
- <span class="ruby-identifier">hsh</span>
796
- <span class="ruby-keyword kw">end</span>
797
- </pre>
798
- </div>
799
- </div>
800
- </div>
801
-
802
- <div id="method-M000063" class="method-detail">
803
- <a name="M000063"></a>
804
-
805
- <div class="method-heading">
806
- <a href="#M000063" class="method-signature">
807
- <span class="method-name">fetch</span><span class="method-args">(remote)</span>
808
- </a>
809
- </div>
810
-
811
- <div class="method-description">
812
- <p><a class="source-toggle" href="#"
813
- onclick="toggleCode('M000063-source');return false;">[Source]</a></p>
814
- <div class="method-source-code" id="M000063-source">
815
- <pre>
816
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 376</span>
817
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">remote</span>)
818
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'fetch'</span>, <span class="ruby-identifier">remote</span>.<span class="ruby-identifier">to_s</span>)
819
- <span class="ruby-keyword kw">end</span>
820
- </pre>
821
- </div>
822
- </div>
823
- </div>
824
-
825
- <div id="method-M000029" class="method-detail">
826
- <a name="M000029"></a>
827
-
828
- <div class="method-heading">
829
- <a href="#M000029" class="method-signature">
830
- <span class="method-name">full_log_commits</span><span class="method-args">(opts = {})</span>
831
- </a>
832
- </div>
833
-
834
- <div class="method-description">
835
- <p><a class="source-toggle" href="#"
836
- onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
837
- <div class="method-source-code" id="M000029-source">
838
- <pre>
839
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 72</span>
840
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">full_log_commits</span>(<span class="ruby-identifier">opts</span> = {})
841
- <span class="ruby-identifier">arr_opts</span> = [<span class="ruby-value str">'--pretty=raw'</span>]
842
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;-#{opts[:count]}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:count</span>]
843
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;--since=\&quot;#{opts[:since]}\&quot;&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:since</span>].<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">String</span>
844
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;#{opts[:between][0].to_s}..#{opts[:between][1].to_s}&quot;</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:between</span>] <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:between</span>].<span class="ruby-identifier">size</span> <span class="ruby-operator">==</span> <span class="ruby-value">2</span>)
845
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:object</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:object</span>].<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">String</span>
846
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'-- '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path_limiter</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path_limiter</span>].<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">String</span>
847
-
848
- <span class="ruby-identifier">full_log</span> = <span class="ruby-identifier">command_lines</span>(<span class="ruby-value str">'log'</span>, <span class="ruby-identifier">arr_opts</span>, <span class="ruby-keyword kw">true</span>)
849
- <span class="ruby-identifier">process_commit_data</span>(<span class="ruby-identifier">full_log</span>)
850
- <span class="ruby-keyword kw">end</span>
851
- </pre>
852
- </div>
853
- </div>
854
- </div>
855
-
856
- <div id="method-M000040" class="method-detail">
857
- <a name="M000040"></a>
858
-
859
- <div class="method-heading">
860
- <a href="#M000040" class="method-signature">
861
- <span class="method-name">grep</span><span class="method-args">(string, opts = {})</span>
862
- </a>
863
- </div>
864
-
865
- <div class="method-description">
866
- <p>
867
- returns hash
868
- </p>
869
- <dl>
870
- <dt>tree-ish</dt><dd>= [[line_no, match], [line_no, match2]]
871
-
872
- </dd>
873
- <dt>tree-ish</dt><dd>= [[line_no, match], [line_no, match2]]
874
-
875
- </dd>
876
- </dl>
877
- <p><a class="source-toggle" href="#"
878
- onclick="toggleCode('M000040-source');return false;">[Source]</a></p>
879
- <div class="method-source-code" id="M000040-source">
880
- <pre>
881
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 185</span>
882
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">grep</span>(<span class="ruby-identifier">string</span>, <span class="ruby-identifier">opts</span> = {})
883
- <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:object</span>] = <span class="ruby-value str">'HEAD'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:object</span>]
884
-
885
- <span class="ruby-identifier">grep_opts</span> = [<span class="ruby-value str">'-n'</span>]
886
- <span class="ruby-identifier">grep_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'-i'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:ignore_case</span>]
887
- <span class="ruby-identifier">grep_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'-v'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:invert_match</span>]
888
- <span class="ruby-identifier">grep_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;-e '#{string}'&quot;</span>
889
- <span class="ruby-identifier">grep_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:object</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:object</span>].<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">String</span>)
890
- <span class="ruby-identifier">grep_opts</span> <span class="ruby-operator">&lt;&lt;</span> (<span class="ruby-value str">'-- '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path_limiter</span>]) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path_limiter</span>].<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">String</span>
891
- <span class="ruby-identifier">hsh</span> = {}
892
- <span class="ruby-identifier">command_lines</span>(<span class="ruby-value str">'grep'</span>, <span class="ruby-identifier">grep_opts</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
893
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">m</span> = <span class="ruby-regexp re">/(.*)\:(\d+)\:(.*)/</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">line</span>)
894
- <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">m</span>[<span class="ruby-value">1</span>]] <span class="ruby-operator">||=</span> []
895
- <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">m</span>[<span class="ruby-value">1</span>]] <span class="ruby-operator">&lt;&lt;</span> [<span class="ruby-identifier">m</span>[<span class="ruby-value">2</span>].<span class="ruby-identifier">to_i</span>, <span class="ruby-identifier">m</span>[<span class="ruby-value">3</span>]]
896
- <span class="ruby-keyword kw">end</span>
897
- <span class="ruby-keyword kw">end</span>
898
- <span class="ruby-identifier">hsh</span>
899
- <span class="ruby-keyword kw">end</span>
900
- </pre>
901
- </div>
902
- </div>
903
- </div>
904
-
905
- <div id="method-M000026" class="method-detail">
906
- <a name="M000026"></a>
907
-
908
- <div class="method-heading">
909
- <a href="#M000026" class="method-signature">
910
- <span class="method-name">init</span><span class="method-args">()</span>
911
- </a>
912
- </div>
913
-
914
- <div class="method-description">
915
- <p><a class="source-toggle" href="#"
916
- onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
917
- <div class="method-source-code" id="M000026-source">
918
- <pre>
919
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 27</span>
920
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">init</span>
921
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'init'</span>)
922
- <span class="ruby-keyword kw">end</span>
923
- </pre>
924
- </div>
925
- </div>
926
- </div>
927
-
928
- <div id="method-M000028" class="method-detail">
929
- <a name="M000028"></a>
930
-
931
- <div class="method-heading">
932
- <a href="#M000028" class="method-signature">
933
- <span class="method-name">log_commits</span><span class="method-args">(opts = {})</span>
934
- </a>
935
- </div>
936
-
937
- <div class="method-description">
938
- <p>
939
- READ COMMANDS ##
940
- </p>
941
- <p><a class="source-toggle" href="#"
942
- onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
943
- <div class="method-source-code" id="M000028-source">
944
- <pre>
945
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 61</span>
946
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">log_commits</span>(<span class="ruby-identifier">opts</span> = {})
947
- <span class="ruby-identifier">arr_opts</span> = [<span class="ruby-value str">'--pretty=oneline'</span>]
948
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;-#{opts[:count]}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:count</span>]
949
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;--since=\&quot;#{opts[:since]}\&quot;&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:since</span>].<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">String</span>
950
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;#{opts[:between][0].to_s}..#{opts[:between][1].to_s}&quot;</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:between</span>] <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:between</span>].<span class="ruby-identifier">size</span> <span class="ruby-operator">==</span> <span class="ruby-value">2</span>)
951
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:object</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:object</span>].<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">String</span>
952
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'-- '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path_limiter</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:path_limiter</span>].<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">String</span>
953
-
954
- <span class="ruby-identifier">command_lines</span>(<span class="ruby-value str">'log'</span>, <span class="ruby-identifier">arr_opts</span>, <span class="ruby-keyword kw">true</span>).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">l</span><span class="ruby-operator">|</span> <span class="ruby-identifier">l</span>.<span class="ruby-identifier">split</span>.<span class="ruby-identifier">first</span> }
955
- <span class="ruby-keyword kw">end</span>
956
- </pre>
957
- </div>
958
- </div>
959
- </div>
960
-
961
- <div id="method-M000045" class="method-detail">
962
- <a name="M000045"></a>
963
-
964
- <div class="method-heading">
965
- <a href="#M000045" class="method-signature">
966
- <span class="method-name">ls_files</span><span class="method-args">()</span>
967
- </a>
968
- </div>
969
-
970
- <div class="method-description">
971
- <p><a class="source-toggle" href="#"
972
- onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
973
- <div class="method-source-code" id="M000045-source">
974
- <pre>
975
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 257</span>
976
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ls_files</span>
977
- <span class="ruby-identifier">hsh</span> = {}
978
- <span class="ruby-identifier">command_lines</span>(<span class="ruby-value str">'ls-files'</span>, <span class="ruby-value str">'--stage'</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
979
- (<span class="ruby-identifier">info</span>, <span class="ruby-identifier">file</span>) = <span class="ruby-identifier">line</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;\t&quot;</span>)
980
- (<span class="ruby-identifier">mode</span>, <span class="ruby-identifier">sha</span>, <span class="ruby-identifier">stage</span>) = <span class="ruby-identifier">info</span>.<span class="ruby-identifier">split</span>
981
- <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">file</span>] = {<span class="ruby-identifier">:path</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">file</span>, <span class="ruby-identifier">:mode_index</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">mode</span>, <span class="ruby-identifier">:sha_index</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">sha</span>, <span class="ruby-identifier">:stage</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">stage</span>}
982
- <span class="ruby-keyword kw">end</span>
983
- <span class="ruby-identifier">hsh</span>
984
- <span class="ruby-keyword kw">end</span>
985
- </pre>
986
- </div>
987
- </div>
988
- </div>
989
-
990
- <div id="method-M000037" class="method-detail">
991
- <a name="M000037"></a>
992
-
993
- <div class="method-heading">
994
- <a href="#M000037" class="method-signature">
995
- <span class="method-name">ls_tree</span><span class="method-args">(sha)</span>
996
- </a>
997
- </div>
998
-
999
- <div class="method-description">
1000
- <p><a class="source-toggle" href="#"
1001
- onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
1002
- <div class="method-source-code" id="M000037-source">
1003
- <pre>
1004
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 157</span>
1005
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ls_tree</span>(<span class="ruby-identifier">sha</span>)
1006
- <span class="ruby-identifier">data</span> = {<span class="ruby-value str">'blob'</span> =<span class="ruby-operator">&gt;</span> {}, <span class="ruby-value str">'tree'</span> =<span class="ruby-operator">&gt;</span> {}}
1007
- <span class="ruby-identifier">command_lines</span>(<span class="ruby-value str">'ls-tree'</span>, <span class="ruby-identifier">sha</span>.<span class="ruby-identifier">to_s</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
1008
- (<span class="ruby-identifier">info</span>, <span class="ruby-identifier">filenm</span>) = <span class="ruby-identifier">line</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;\t&quot;</span>)
1009
- (<span class="ruby-identifier">mode</span>, <span class="ruby-identifier">type</span>, <span class="ruby-identifier">sha</span>) = <span class="ruby-identifier">info</span>.<span class="ruby-identifier">split</span>
1010
- <span class="ruby-identifier">data</span>[<span class="ruby-identifier">type</span>][<span class="ruby-identifier">filenm</span>] = {<span class="ruby-identifier">:mode</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">mode</span>, <span class="ruby-identifier">:sha</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">sha</span>}
1011
- <span class="ruby-keyword kw">end</span>
1012
- <span class="ruby-identifier">data</span>
1013
- <span class="ruby-keyword kw">end</span>
1014
- </pre>
1015
- </div>
1016
- </div>
1017
- </div>
1018
-
1019
- <div id="method-M000057" class="method-detail">
1020
- <a name="M000057"></a>
1021
-
1022
- <div class="method-heading">
1023
- <a href="#M000057" class="method-signature">
1024
- <span class="method-name">merge</span><span class="method-args">(branch, message = nil)</span>
1025
- </a>
1026
- </div>
1027
-
1028
- <div class="method-description">
1029
- <p><a class="source-toggle" href="#"
1030
- onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
1031
- <div class="method-source-code" id="M000057-source">
1032
- <pre>
1033
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 341</span>
1034
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">merge</span>(<span class="ruby-identifier">branch</span>, <span class="ruby-identifier">message</span> = <span class="ruby-keyword kw">nil</span>)
1035
- <span class="ruby-identifier">arr_opts</span> = []
1036
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> [<span class="ruby-node">&quot;-m '#{message}'&quot;</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">message</span>
1037
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">branch</span>.<span class="ruby-identifier">to_a</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">' '</span>)
1038
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'merge'</span>, <span class="ruby-identifier">arr_opts</span>)
1039
- <span class="ruby-keyword kw">end</span>
1040
- </pre>
1041
- </div>
1042
- </div>
1043
- </div>
1044
-
1045
- <div id="method-M000031" class="method-detail">
1046
- <a name="M000031"></a>
1047
-
1048
- <div class="method-heading">
1049
- <a href="#M000031" class="method-signature">
1050
- <span class="method-name">namerev</span><span class="method-args">(string)</span>
1051
- </a>
1052
- </div>
1053
-
1054
- <div class="method-description">
1055
- <p><a class="source-toggle" href="#"
1056
- onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
1057
- <div class="method-source-code" id="M000031-source">
1058
- <pre>
1059
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 91</span>
1060
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">namerev</span>(<span class="ruby-identifier">string</span>)
1061
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'name-rev'</span>, <span class="ruby-identifier">string</span>).<span class="ruby-identifier">split</span>[<span class="ruby-value">1</span>]
1062
- <span class="ruby-keyword kw">end</span>
1063
- </pre>
1064
- </div>
1065
- </div>
1066
- </div>
1067
-
1068
- <div id="method-M000036" class="method-detail">
1069
- <a name="M000036"></a>
1070
-
1071
- <div class="method-heading">
1072
- <a href="#M000036" class="method-signature">
1073
- <span class="method-name">object_contents</span><span class="method-args">(sha)</span>
1074
- </a>
1075
- </div>
1076
-
1077
- <div class="method-description">
1078
- <p><a class="source-toggle" href="#"
1079
- onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
1080
- <div class="method-source-code" id="M000036-source">
1081
- <pre>
1082
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 153</span>
1083
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">object_contents</span>(<span class="ruby-identifier">sha</span>)
1084
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'cat-file'</span>, [<span class="ruby-value str">'-p'</span>, <span class="ruby-identifier">sha</span>])
1085
- <span class="ruby-keyword kw">end</span>
1086
- </pre>
1087
- </div>
1088
- </div>
1089
- </div>
1090
-
1091
- <div id="method-M000033" class="method-detail">
1092
- <a name="M000033"></a>
1093
-
1094
- <div class="method-heading">
1095
- <a href="#M000033" class="method-signature">
1096
- <span class="method-name">object_size</span><span class="method-args">(sha)</span>
1097
- </a>
1098
- </div>
1099
-
1100
- <div class="method-description">
1101
- <p><a class="source-toggle" href="#"
1102
- onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
1103
- <div class="method-source-code" id="M000033-source">
1104
- <pre>
1105
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 99</span>
1106
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">object_size</span>(<span class="ruby-identifier">sha</span>)
1107
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'cat-file'</span>, [<span class="ruby-value str">'-s'</span>, <span class="ruby-identifier">sha</span>]).<span class="ruby-identifier">to_i</span>
1108
- <span class="ruby-keyword kw">end</span>
1109
- </pre>
1110
- </div>
1111
- </div>
1112
- </div>
1113
-
1114
- <div id="method-M000032" class="method-detail">
1115
- <a name="M000032"></a>
1116
-
1117
- <div class="method-heading">
1118
- <a href="#M000032" class="method-signature">
1119
- <span class="method-name">object_type</span><span class="method-args">(sha)</span>
1120
- </a>
1121
- </div>
1122
-
1123
- <div class="method-description">
1124
- <p><a class="source-toggle" href="#"
1125
- onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
1126
- <div class="method-source-code" id="M000032-source">
1127
- <pre>
1128
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 95</span>
1129
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">object_type</span>(<span class="ruby-identifier">sha</span>)
1130
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'cat-file'</span>, [<span class="ruby-value str">'-t'</span>, <span class="ruby-identifier">sha</span>])
1131
- <span class="ruby-keyword kw">end</span>
1132
- </pre>
1133
- </div>
1134
- </div>
1135
- </div>
1136
-
1137
- <div id="method-M000035" class="method-detail">
1138
- <a name="M000035"></a>
1139
-
1140
- <div class="method-heading">
1141
- <a href="#M000035" class="method-signature">
1142
- <span class="method-name">process_commit_data</span><span class="method-args">(data, sha = nil)</span>
1143
- </a>
1144
- </div>
1145
-
1146
- <div class="method-description">
1147
- <p><a class="source-toggle" href="#"
1148
- onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
1149
- <div class="method-source-code" id="M000035-source">
1150
- <pre>
1151
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 110</span>
1152
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process_commit_data</span>(<span class="ruby-identifier">data</span>, <span class="ruby-identifier">sha</span> = <span class="ruby-keyword kw">nil</span>)
1153
- <span class="ruby-identifier">in_message</span> = <span class="ruby-keyword kw">false</span>
1154
-
1155
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">sha</span>
1156
- <span class="ruby-identifier">hsh</span> = {<span class="ruby-value str">'sha'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">sha</span>, <span class="ruby-value str">'message'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">''</span>, <span class="ruby-value str">'parent'</span> =<span class="ruby-operator">&gt;</span> []}
1157
- <span class="ruby-keyword kw">else</span>
1158
- <span class="ruby-identifier">hsh_array</span> = []
1159
- <span class="ruby-keyword kw">end</span>
1160
-
1161
- <span class="ruby-identifier">data</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
1162
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">in_message</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">line</span> <span class="ruby-operator">!=</span> <span class="ruby-value str">''</span>
1163
- <span class="ruby-identifier">hsh</span>[<span class="ruby-value str">'message'</span>] <span class="ruby-operator">+=</span> <span class="ruby-identifier">line</span> <span class="ruby-operator">+</span> <span class="ruby-value str">&quot;\n&quot;</span>
1164
- <span class="ruby-keyword kw">end</span>
1165
-
1166
- <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">line</span> <span class="ruby-operator">!=</span> <span class="ruby-value str">''</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-operator">!</span><span class="ruby-identifier">in_message</span>
1167
- <span class="ruby-identifier">data</span> = <span class="ruby-identifier">line</span>.<span class="ruby-identifier">split</span>
1168
- <span class="ruby-identifier">key</span> = <span class="ruby-identifier">data</span>.<span class="ruby-identifier">shift</span>
1169
- <span class="ruby-identifier">value</span> = <span class="ruby-identifier">data</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">' '</span>)
1170
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">key</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'commit'</span>
1171
- <span class="ruby-identifier">sha</span> = <span class="ruby-identifier">value</span>
1172
- <span class="ruby-identifier">hsh_array</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">hsh</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">hsh</span>
1173
- <span class="ruby-identifier">hsh</span> = {<span class="ruby-value str">'sha'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">sha</span>, <span class="ruby-value str">'message'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">''</span>, <span class="ruby-value str">'parent'</span> =<span class="ruby-operator">&gt;</span> []}
1174
- <span class="ruby-keyword kw">end</span>
1175
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">key</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'parent'</span>
1176
- <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">key</span>] <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">value</span>
1177
- <span class="ruby-keyword kw">else</span>
1178
- <span class="ruby-identifier">hsh</span>[<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
1179
- <span class="ruby-keyword kw">end</span>
1180
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">in_message</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">line</span> <span class="ruby-operator">==</span> <span class="ruby-value str">''</span>
1181
- <span class="ruby-identifier">in_message</span> = <span class="ruby-keyword kw">false</span>
1182
- <span class="ruby-keyword kw">else</span>
1183
- <span class="ruby-identifier">in_message</span> = <span class="ruby-keyword kw">true</span>
1184
- <span class="ruby-keyword kw">end</span>
1185
- <span class="ruby-keyword kw">end</span>
1186
-
1187
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">hsh_array</span>
1188
- <span class="ruby-identifier">hsh_array</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">hsh</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">hsh</span>
1189
- <span class="ruby-identifier">hsh_array</span>
1190
- <span class="ruby-keyword kw">else</span>
1191
- <span class="ruby-identifier">hsh</span>
1192
- <span class="ruby-keyword kw">end</span>
1193
- <span class="ruby-keyword kw">end</span>
1194
- </pre>
1195
- </div>
1196
- </div>
1197
- </div>
1198
-
1199
- <div id="method-M000064" class="method-detail">
1200
- <a name="M000064"></a>
1201
-
1202
- <div class="method-heading">
1203
- <a href="#M000064" class="method-signature">
1204
- <span class="method-name">push</span><span class="method-args">(remote, branch = 'master')</span>
1205
- </a>
1206
- </div>
1207
-
1208
- <div class="method-description">
1209
- <p><a class="source-toggle" href="#"
1210
- onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
1211
- <div class="method-source-code" id="M000064-source">
1212
- <pre>
1213
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 380</span>
1214
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span>(<span class="ruby-identifier">remote</span>, <span class="ruby-identifier">branch</span> = <span class="ruby-value str">'master'</span>)
1215
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'push'</span>, [<span class="ruby-identifier">remote</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">branch</span>.<span class="ruby-identifier">to_s</span>])
1216
- <span class="ruby-keyword kw">end</span>
1217
- </pre>
1218
- </div>
1219
- </div>
1220
- </div>
1221
-
1222
- <div id="method-M000067" class="method-detail">
1223
- <a name="M000067"></a>
1224
-
1225
- <div class="method-heading">
1226
- <a href="#M000067" class="method-signature">
1227
- <span class="method-name">read_tree</span><span class="method-args">(treeish, opts = {})</span>
1228
- </a>
1229
- </div>
1230
-
1231
- <div class="method-description">
1232
- <p>
1233
- reads a tree into the current index file
1234
- </p>
1235
- <p><a class="source-toggle" href="#"
1236
- onclick="toggleCode('M000067-source');return false;">[Source]</a></p>
1237
- <div class="method-source-code" id="M000067-source">
1238
- <pre>
1239
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 393</span>
1240
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_tree</span>(<span class="ruby-identifier">treeish</span>, <span class="ruby-identifier">opts</span> = {})
1241
- <span class="ruby-identifier">arr_opts</span> = []
1242
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;--prefix=#{opts[:prefix]}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:prefix</span>]
1243
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">treeish</span>.<span class="ruby-identifier">to_a</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">' '</span>)
1244
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'read-tree'</span>, <span class="ruby-identifier">arr_opts</span>)
1245
- <span class="ruby-keyword kw">end</span>
1246
- </pre>
1247
- </div>
1248
- </div>
1249
- </div>
1250
-
1251
- <div id="method-M000058" class="method-detail">
1252
- <a name="M000058"></a>
1253
-
1254
- <div class="method-heading">
1255
- <a href="#M000058" class="method-signature">
1256
- <span class="method-name">remote_add</span><span class="method-args">(name, url, opts = {})</span>
1257
- </a>
1258
- </div>
1259
-
1260
- <div class="method-description">
1261
- <p><a class="source-toggle" href="#"
1262
- onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
1263
- <div class="method-source-code" id="M000058-source">
1264
- <pre>
1265
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 348</span>
1266
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remote_add</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">url</span>, <span class="ruby-identifier">opts</span> = {})
1267
- <span class="ruby-identifier">arr_opts</span> = [<span class="ruby-value str">'add'</span>]
1268
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'-f'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:with_fetch</span>]
1269
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">name</span>
1270
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">url</span>
1271
-
1272
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'remote'</span>, <span class="ruby-identifier">arr_opts</span>)
1273
- <span class="ruby-keyword kw">end</span>
1274
- </pre>
1275
- </div>
1276
- </div>
1277
- </div>
1278
-
1279
- <div id="method-M000059" class="method-detail">
1280
- <a name="M000059"></a>
1281
-
1282
- <div class="method-heading">
1283
- <a href="#M000059" class="method-signature">
1284
- <span class="method-name">remote_remove</span><span class="method-args">(name)</span>
1285
- </a>
1286
- </div>
1287
-
1288
- <div class="method-description">
1289
- <p>
1290
- this is documented as such, but seems broken for some reason i&#8217;ll try
1291
- to get around it some other way later
1292
- </p>
1293
- <p><a class="source-toggle" href="#"
1294
- onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
1295
- <div class="method-source-code" id="M000059-source">
1296
- <pre>
1297
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 359</span>
1298
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remote_remove</span>(<span class="ruby-identifier">name</span>)
1299
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'remote'</span>, [<span class="ruby-value str">'rm'</span>, <span class="ruby-identifier">name</span>])
1300
- <span class="ruby-keyword kw">end</span>
1301
- </pre>
1302
- </div>
1303
- </div>
1304
- </div>
1305
-
1306
- <div id="method-M000060" class="method-detail">
1307
- <a name="M000060"></a>
1308
-
1309
- <div class="method-heading">
1310
- <a href="#M000060" class="method-signature">
1311
- <span class="method-name">remotes</span><span class="method-args">()</span>
1312
- </a>
1313
- </div>
1314
-
1315
- <div class="method-description">
1316
- <p><a class="source-toggle" href="#"
1317
- onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
1318
- <div class="method-source-code" id="M000060-source">
1319
- <pre>
1320
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 363</span>
1321
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remotes</span>
1322
- <span class="ruby-identifier">command_lines</span>(<span class="ruby-value str">'remote'</span>)
1323
- <span class="ruby-keyword kw">end</span>
1324
- </pre>
1325
- </div>
1326
- </div>
1327
- </div>
1328
-
1329
- <div id="method-M000051" class="method-detail">
1330
- <a name="M000051"></a>
1331
-
1332
- <div class="method-heading">
1333
- <a href="#M000051" class="method-signature">
1334
- <span class="method-name">remove</span><span class="method-args">(path = '.', opts = {})</span>
1335
- </a>
1336
- </div>
1337
-
1338
- <div class="method-description">
1339
- <p><a class="source-toggle" href="#"
1340
- onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
1341
- <div class="method-source-code" id="M000051-source">
1342
- <pre>
1343
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 301</span>
1344
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>(<span class="ruby-identifier">path</span> = <span class="ruby-value str">'.'</span>, <span class="ruby-identifier">opts</span> = {})
1345
- <span class="ruby-identifier">path</span> = <span class="ruby-identifier">path</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">' '</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">path</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
1346
-
1347
- <span class="ruby-identifier">arr_opts</span> = [<span class="ruby-value str">'-f'</span>] <span class="ruby-comment cmt"># overrides the up-to-date check by default</span>
1348
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> [<span class="ruby-value str">'-r'</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:recursive</span>]
1349
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">path</span>
1350
-
1351
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'rm'</span>, <span class="ruby-identifier">arr_opts</span>)
1352
- <span class="ruby-keyword kw">end</span>
1353
- </pre>
1354
- </div>
1355
- </div>
1356
- </div>
1357
-
1358
- <div id="method-M000066" class="method-detail">
1359
- <a name="M000066"></a>
1360
-
1361
- <div class="method-heading">
1362
- <a href="#M000066" class="method-signature">
1363
- <span class="method-name">repack</span><span class="method-args">()</span>
1364
- </a>
1365
- </div>
1366
-
1367
- <div class="method-description">
1368
- <p><a class="source-toggle" href="#"
1369
- onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
1370
- <div class="method-source-code" id="M000066-source">
1371
- <pre>
1372
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 388</span>
1373
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">repack</span>
1374
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'repack'</span>, [<span class="ruby-value str">'-a'</span>, <span class="ruby-value str">'-d'</span>])
1375
- <span class="ruby-keyword kw">end</span>
1376
- </pre>
1377
- </div>
1378
- </div>
1379
- </div>
1380
-
1381
- <div id="method-M000053" class="method-detail">
1382
- <a name="M000053"></a>
1383
-
1384
- <div class="method-heading">
1385
- <a href="#M000053" class="method-signature">
1386
- <span class="method-name">reset</span><span class="method-args">(commit, opts = {})</span>
1387
- </a>
1388
- </div>
1389
-
1390
- <div class="method-description">
1391
- <p><a class="source-toggle" href="#"
1392
- onclick="toggleCode('M000053-source');return false;">[Source]</a></p>
1393
- <div class="method-source-code" id="M000053-source">
1394
- <pre>
1395
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 317</span>
1396
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset</span>(<span class="ruby-identifier">commit</span>, <span class="ruby-identifier">opts</span> = {})
1397
- <span class="ruby-identifier">arr_opts</span> = []
1398
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">'--hard'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:hard</span>]
1399
- <span class="ruby-identifier">arr_opts</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">commit</span>
1400
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'reset'</span>, <span class="ruby-identifier">arr_opts</span>)
1401
- <span class="ruby-keyword kw">end</span>
1402
- </pre>
1403
- </div>
1404
- </div>
1405
- </div>
1406
-
1407
- <div id="method-M000030" class="method-detail">
1408
- <a name="M000030"></a>
1409
-
1410
- <div class="method-heading">
1411
- <a href="#M000030" class="method-signature">
1412
- <span class="method-name">revparse</span><span class="method-args">(string)</span>
1413
- </a>
1414
- </div>
1415
-
1416
- <div class="method-description">
1417
- <p><a class="source-toggle" href="#"
1418
- onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
1419
- <div class="method-source-code" id="M000030-source">
1420
- <pre>
1421
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 84</span>
1422
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">revparse</span>(<span class="ruby-identifier">string</span>)
1423
- <span class="ruby-keyword kw">if</span> <span class="ruby-regexp re">/\w{40}/</span>.<span class="ruby-identifier">match</span>(<span class="ruby-identifier">string</span>) <span class="ruby-comment cmt"># passing in a sha - just no-op it</span>
1424
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">string</span>
1425
- <span class="ruby-keyword kw">end</span>
1426
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'rev-parse'</span>, <span class="ruby-identifier">string</span>)
1427
- <span class="ruby-keyword kw">end</span>
1428
- </pre>
1429
- </div>
1430
- </div>
1431
- </div>
1432
-
1433
- <div id="method-M000062" class="method-detail">
1434
- <a name="M000062"></a>
1435
-
1436
- <div class="method-heading">
1437
- <a href="#M000062" class="method-signature">
1438
- <span class="method-name">tag</span><span class="method-args">(tag)</span>
1439
- </a>
1440
- </div>
1441
-
1442
- <div class="method-description">
1443
- <p><a class="source-toggle" href="#"
1444
- onclick="toggleCode('M000062-source');return false;">[Source]</a></p>
1445
- <div class="method-source-code" id="M000062-source">
1446
- <pre>
1447
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 371</span>
1448
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tag</span>(<span class="ruby-identifier">tag</span>)
1449
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'tag'</span>, <span class="ruby-identifier">tag</span>)
1450
- <span class="ruby-keyword kw">end</span>
1451
- </pre>
1452
- </div>
1453
- </div>
1454
- </div>
1455
-
1456
- <div id="method-M000065" class="method-detail">
1457
- <a name="M000065"></a>
1458
-
1459
- <div class="method-heading">
1460
- <a href="#M000065" class="method-signature">
1461
- <span class="method-name">tag_sha</span><span class="method-args">(tag_name)</span>
1462
- </a>
1463
- </div>
1464
-
1465
- <div class="method-description">
1466
- <p><a class="source-toggle" href="#"
1467
- onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
1468
- <div class="method-source-code" id="M000065-source">
1469
- <pre>
1470
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 384</span>
1471
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tag_sha</span>(<span class="ruby-identifier">tag_name</span>)
1472
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'show-ref'</span>, [<span class="ruby-value str">'--tags'</span>, <span class="ruby-value str">'-s'</span>, <span class="ruby-identifier">tag_name</span>])
1473
- <span class="ruby-keyword kw">end</span>
1474
- </pre>
1475
- </div>
1476
- </div>
1477
- </div>
1478
-
1479
- <div id="method-M000061" class="method-detail">
1480
- <a name="M000061"></a>
1481
-
1482
- <div class="method-heading">
1483
- <a href="#M000061" class="method-signature">
1484
- <span class="method-name">tags</span><span class="method-args">()</span>
1485
- </a>
1486
- </div>
1487
-
1488
- <div class="method-description">
1489
- <p><a class="source-toggle" href="#"
1490
- onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
1491
- <div class="method-source-code" id="M000061-source">
1492
- <pre>
1493
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 367</span>
1494
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tags</span>
1495
- <span class="ruby-identifier">command_lines</span>(<span class="ruby-value str">'tag'</span>)
1496
- <span class="ruby-keyword kw">end</span>
1497
- </pre>
1498
- </div>
1499
- </div>
1500
- </div>
1501
-
1502
- <div id="method-M000070" class="method-detail">
1503
- <a name="M000070"></a>
1504
-
1505
- <div class="method-heading">
1506
- <a href="#M000070" class="method-signature">
1507
- <span class="method-name">update_ref</span><span class="method-args">(branch, commit)</span>
1508
- </a>
1509
- </div>
1510
-
1511
- <div class="method-description">
1512
- <p><a class="source-toggle" href="#"
1513
- onclick="toggleCode('M000070-source');return false;">[Source]</a></p>
1514
- <div class="method-source-code" id="M000070-source">
1515
- <pre>
1516
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 418</span>
1517
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update_ref</span>(<span class="ruby-identifier">branch</span>, <span class="ruby-identifier">commit</span>)
1518
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'update-ref'</span>, [<span class="ruby-identifier">branch</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">commit</span>.<span class="ruby-identifier">to_s</span>])
1519
- <span class="ruby-keyword kw">end</span>
1520
- </pre>
1521
- </div>
1522
- </div>
1523
- </div>
1524
-
1525
- <div id="method-M000068" class="method-detail">
1526
- <a name="M000068"></a>
1527
-
1528
- <div class="method-heading">
1529
- <a href="#M000068" class="method-signature">
1530
- <span class="method-name">write_tree</span><span class="method-args">()</span>
1531
- </a>
1532
- </div>
1533
-
1534
- <div class="method-description">
1535
- <p><a class="source-toggle" href="#"
1536
- onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
1537
- <div class="method-source-code" id="M000068-source">
1538
- <pre>
1539
- <span class="ruby-comment cmt"># File lib/git/lib.rb, line 400</span>
1540
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write_tree</span>
1541
- <span class="ruby-identifier">command</span>(<span class="ruby-value str">'write-tree'</span>)
1542
- <span class="ruby-keyword kw">end</span>
1543
- </pre>
1544
- </div>
1545
- </div>
1546
- </div>
1547
-
1548
-
1549
- </div>
1550
-
1551
-
1552
- </div>
1553
-
1554
-
1555
- <div id="validator-badges">
1556
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
1557
- </div>
1558
-
1559
- </body>
1560
- </html>