git 1.0.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 (500) hide show
  1. data/README +152 -0
  2. data/doc/classes/Git.html +284 -0
  3. data/doc/classes/Git.src/M000001.html +18 -0
  4. data/doc/classes/Git.src/M000002.html +18 -0
  5. data/doc/classes/Git.src/M000003.html +18 -0
  6. data/doc/classes/Git.src/M000004.html +18 -0
  7. data/doc/classes/Git/Base.html +1204 -0
  8. data/doc/classes/Git/Base.src/M000076.html +18 -0
  9. data/doc/classes/Git/Base.src/M000077.html +21 -0
  10. data/doc/classes/Git/Base.src/M000078.html +30 -0
  11. data/doc/classes/Git/Base.src/M000079.html +19 -0
  12. data/doc/classes/Git/Base.src/M000080.html +25 -0
  13. data/doc/classes/Git/Base.src/M000081.html +18 -0
  14. data/doc/classes/Git/Base.src/M000082.html +18 -0
  15. data/doc/classes/Git/Base.src/M000083.html +18 -0
  16. data/doc/classes/Git/Base.src/M000084.html +20 -0
  17. data/doc/classes/Git/Base.src/M000085.html +22 -0
  18. data/doc/classes/Git/Base.src/M000086.html +27 -0
  19. data/doc/classes/Git/Base.src/M000087.html +18 -0
  20. data/doc/classes/Git/Base.src/M000091.html +18 -0
  21. data/doc/classes/Git/Base.src/M000092.html +18 -0
  22. data/doc/classes/Git/Base.src/M000093.html +18 -0
  23. data/doc/classes/Git/Base.src/M000094.html +18 -0
  24. data/doc/classes/Git/Base.src/M000095.html +18 -0
  25. data/doc/classes/Git/Base.src/M000096.html +18 -0
  26. data/doc/classes/Git/Base.src/M000097.html +18 -0
  27. data/doc/classes/Git/Base.src/M000098.html +18 -0
  28. data/doc/classes/Git/Base.src/M000099.html +18 -0
  29. data/doc/classes/Git/Base.src/M000100.html +18 -0
  30. data/doc/classes/Git/Base.src/M000101.html +18 -0
  31. data/doc/classes/Git/Base.src/M000102.html +19 -0
  32. data/doc/classes/Git/Base.src/M000103.html +18 -0
  33. data/doc/classes/Git/Base.src/M000104.html +19 -0
  34. data/doc/classes/Git/Base.src/M000105.html +18 -0
  35. data/doc/classes/Git/Base.src/M000106.html +18 -0
  36. data/doc/classes/Git/Base.src/M000107.html +18 -0
  37. data/doc/classes/Git/Base.src/M000108.html +19 -0
  38. data/doc/classes/Git/Base.src/M000109.html +18 -0
  39. data/doc/classes/Git/Base.src/M000110.html +22 -0
  40. data/doc/classes/Git/Base.src/M000111.html +18 -0
  41. data/doc/classes/Git/Base.src/M000112.html +18 -0
  42. data/doc/classes/Git/Base.src/M000113.html +19 -0
  43. data/doc/classes/Git/Base.src/M000114.html +18 -0
  44. data/doc/classes/Git/Base.src/M000115.html +18 -0
  45. data/doc/classes/Git/Base.src/M000116.html +18 -0
  46. data/doc/classes/Git/Branch.html +429 -0
  47. data/doc/classes/Git/Branch.src/M000066.html +28 -0
  48. data/doc/classes/Git/Branch.src/M000067.html +19 -0
  49. data/doc/classes/Git/Branch.src/M000068.html +19 -0
  50. data/doc/classes/Git/Branch.src/M000069.html +25 -0
  51. data/doc/classes/Git/Branch.src/M000070.html +18 -0
  52. data/doc/classes/Git/Branch.src/M000071.html +18 -0
  53. data/doc/classes/Git/Branch.src/M000072.html +18 -0
  54. data/doc/classes/Git/Branch.src/M000073.html +27 -0
  55. data/doc/classes/Git/Branch.src/M000074.html +18 -0
  56. data/doc/classes/Git/Branch.src/M000075.html +18 -0
  57. data/doc/classes/Git/Branches.html +294 -0
  58. data/doc/classes/Git/Branches.src/M000060.html +24 -0
  59. data/doc/classes/Git/Branches.src/M000061.html +18 -0
  60. data/doc/classes/Git/Branches.src/M000062.html +18 -0
  61. data/doc/classes/Git/Branches.src/M000063.html +18 -0
  62. data/doc/classes/Git/Branches.src/M000064.html +20 -0
  63. data/doc/classes/Git/Branches.src/M000065.html +18 -0
  64. data/doc/classes/Git/Diff.html +419 -0
  65. data/doc/classes/Git/Diff.src/M000134.html +20 -0
  66. data/doc/classes/Git/Diff.src/M000135.html +19 -0
  67. data/doc/classes/Git/Diff.src/M000136.html +19 -0
  68. data/doc/classes/Git/Diff.src/M000137.html +19 -0
  69. data/doc/classes/Git/Diff.src/M000138.html +19 -0
  70. data/doc/classes/Git/Diff.src/M000139.html +19 -0
  71. data/doc/classes/Git/Diff.src/M000140.html +19 -0
  72. data/doc/classes/Git/Diff.src/M000141.html +19 -0
  73. data/doc/classes/Git/Diff.src/M000143.html +19 -0
  74. data/doc/classes/Git/Diff.src/M000144.html +21 -0
  75. data/doc/classes/Git/Diff/DiffFile.html +220 -0
  76. data/doc/classes/Git/Diff/DiffFile.src/M000145.html +24 -0
  77. data/doc/classes/Git/Diff/DiffFile.src/M000146.html +22 -0
  78. data/doc/classes/Git/GitExecuteError.html +111 -0
  79. data/doc/classes/Git/GitTagNameDoesNotExist.html +111 -0
  80. data/doc/classes/Git/Index.html +113 -0
  81. data/doc/classes/Git/Lib.html +1182 -0
  82. data/doc/classes/Git/Lib.src/M000024.html +26 -0
  83. data/doc/classes/Git/Lib.src/M000025.html +18 -0
  84. data/doc/classes/Git/Lib.src/M000026.html +29 -0
  85. data/doc/classes/Git/Lib.src/M000027.html +25 -0
  86. data/doc/classes/Git/Lib.src/M000028.html +18 -0
  87. data/doc/classes/Git/Lib.src/M000029.html +18 -0
  88. data/doc/classes/Git/Lib.src/M000030.html +18 -0
  89. data/doc/classes/Git/Lib.src/M000031.html +18 -0
  90. data/doc/classes/Git/Lib.src/M000032.html +24 -0
  91. data/doc/classes/Git/Lib.src/M000033.html +18 -0
  92. data/doc/classes/Git/Lib.src/M000034.html +33 -0
  93. data/doc/classes/Git/Lib.src/M000035.html +23 -0
  94. data/doc/classes/Git/Lib.src/M000036.html +34 -0
  95. data/doc/classes/Git/Lib.src/M000037.html +25 -0
  96. data/doc/classes/Git/Lib.src/M000038.html +25 -0
  97. data/doc/classes/Git/Lib.src/M000039.html +24 -0
  98. data/doc/classes/Git/Lib.src/M000040.html +23 -0
  99. data/doc/classes/Git/Lib.src/M000041.html +18 -0
  100. data/doc/classes/Git/Lib.src/M000042.html +23 -0
  101. data/doc/classes/Git/Lib.src/M000043.html +18 -0
  102. data/doc/classes/Git/Lib.src/M000044.html +19 -0
  103. data/doc/classes/Git/Lib.src/M000045.html +24 -0
  104. data/doc/classes/Git/Lib.src/M000046.html +20 -0
  105. data/doc/classes/Git/Lib.src/M000047.html +21 -0
  106. data/doc/classes/Git/Lib.src/M000048.html +18 -0
  107. data/doc/classes/Git/Lib.src/M000049.html +18 -0
  108. data/doc/classes/Git/Lib.src/M000050.html +22 -0
  109. data/doc/classes/Git/Lib.src/M000051.html +21 -0
  110. data/doc/classes/Git/Lib.src/M000052.html +23 -0
  111. data/doc/classes/Git/Lib.src/M000053.html +18 -0
  112. data/doc/classes/Git/Lib.src/M000054.html +18 -0
  113. data/doc/classes/Git/Lib.src/M000055.html +18 -0
  114. data/doc/classes/Git/Lib.src/M000056.html +18 -0
  115. data/doc/classes/Git/Lib.src/M000057.html +18 -0
  116. data/doc/classes/Git/Lib.src/M000058.html +18 -0
  117. data/doc/classes/Git/Lib.src/M000059.html +18 -0
  118. data/doc/classes/Git/Log.html +373 -0
  119. data/doc/classes/Git/Log.src/M000015.html +20 -0
  120. data/doc/classes/Git/Log.src/M000016.html +20 -0
  121. data/doc/classes/Git/Log.src/M000017.html +20 -0
  122. data/doc/classes/Git/Log.src/M000018.html +20 -0
  123. data/doc/classes/Git/Log.src/M000019.html +20 -0
  124. data/doc/classes/Git/Log.src/M000020.html +18 -0
  125. data/doc/classes/Git/Log.src/M000021.html +19 -0
  126. data/doc/classes/Git/Log.src/M000022.html +21 -0
  127. data/doc/classes/Git/Log.src/M000023.html +19 -0
  128. data/doc/classes/Git/Object.html +179 -0
  129. data/doc/classes/Git/Object.src/M000120.html +35 -0
  130. data/doc/classes/Git/Object/AbstractObject.html +349 -0
  131. data/doc/classes/Git/Object/AbstractObject.src/M000122.html +21 -0
  132. data/doc/classes/Git/Object/AbstractObject.src/M000123.html +18 -0
  133. data/doc/classes/Git/Object/AbstractObject.src/M000124.html +18 -0
  134. data/doc/classes/Git/Object/AbstractObject.src/M000125.html +18 -0
  135. data/doc/classes/Git/Object/AbstractObject.src/M000126.html +18 -0
  136. data/doc/classes/Git/Object/AbstractObject.src/M000127.html +20 -0
  137. data/doc/classes/Git/Object/AbstractObject.src/M000128.html +18 -0
  138. data/doc/classes/Git/Object/AbstractObject.src/M000129.html +18 -0
  139. data/doc/classes/Git/Object/Blob.html +148 -0
  140. data/doc/classes/Git/Object/Blob.src/M000132.html +18 -0
  141. data/doc/classes/Git/Object/Commit.html +148 -0
  142. data/doc/classes/Git/Object/Commit.src/M000121.html +18 -0
  143. data/doc/classes/Git/Object/Tag.html +188 -0
  144. data/doc/classes/Git/Object/Tag.src/M000130.html +19 -0
  145. data/doc/classes/Git/Object/Tag.src/M000131.html +18 -0
  146. data/doc/classes/Git/Object/Tree.html +148 -0
  147. data/doc/classes/Git/Object/Tree.src/M000133.html +18 -0
  148. data/doc/classes/Git/Path.html +215 -0
  149. data/doc/classes/Git/Path.src/M000117.html +22 -0
  150. data/doc/classes/Git/Path.src/M000118.html +18 -0
  151. data/doc/classes/Git/Path.src/M000119.html +18 -0
  152. data/doc/classes/Git/Remote.html +324 -0
  153. data/doc/classes/Git/Remote.src/M000147.html +22 -0
  154. data/doc/classes/Git/Remote.src/M000148.html +18 -0
  155. data/doc/classes/Git/Remote.src/M000149.html +18 -0
  156. data/doc/classes/Git/Remote.src/M000150.html +18 -0
  157. data/doc/classes/Git/Remote.src/M000151.html +18 -0
  158. data/doc/classes/Git/Remote.src/M000152.html +18 -0
  159. data/doc/classes/Git/Remote.src/M000153.html +18 -0
  160. data/doc/classes/Git/Repository.html +113 -0
  161. data/doc/classes/Git/Status.html +348 -0
  162. data/doc/classes/Git/Status.src/M000005.html +19 -0
  163. data/doc/classes/Git/Status.src/M000006.html +18 -0
  164. data/doc/classes/Git/Status.src/M000007.html +18 -0
  165. data/doc/classes/Git/Status.src/M000008.html +18 -0
  166. data/doc/classes/Git/Status.src/M000009.html +18 -0
  167. data/doc/classes/Git/Status.src/M000010.html +29 -0
  168. data/doc/classes/Git/Status.src/M000011.html +18 -0
  169. data/doc/classes/Git/Status.src/M000012.html +20 -0
  170. data/doc/classes/Git/Status/StatusFile.html +232 -0
  171. data/doc/classes/Git/Status/StatusFile.src/M000013.html +26 -0
  172. data/doc/classes/Git/Status/StatusFile.src/M000014.html +22 -0
  173. data/doc/classes/Git/WorkingDirectory.html +113 -0
  174. data/doc/created.rid +1 -0
  175. data/doc/files/EXAMPLES.html +247 -0
  176. data/doc/files/README.html +260 -0
  177. data/doc/files/lib/git/base_rb.html +101 -0
  178. data/doc/files/lib/git/branch_rb.html +101 -0
  179. data/doc/files/lib/git/branches_rb.html +101 -0
  180. data/doc/files/lib/git/diff_rb.html +101 -0
  181. data/doc/files/lib/git/index_rb.html +101 -0
  182. data/doc/files/lib/git/lib_rb.html +101 -0
  183. data/doc/files/lib/git/log_rb.html +101 -0
  184. data/doc/files/lib/git/object_rb.html +101 -0
  185. data/doc/files/lib/git/path_rb.html +101 -0
  186. data/doc/files/lib/git/remote_rb.html +101 -0
  187. data/doc/files/lib/git/repository_rb.html +101 -0
  188. data/doc/files/lib/git/status_rb.html +101 -0
  189. data/doc/files/lib/git/working_directory_rb.html +101 -0
  190. data/doc/files/lib/git_rb.html +127 -0
  191. data/doc/fr_class_index.html +49 -0
  192. data/doc/fr_file_index.html +41 -0
  193. data/doc/fr_method_index.html +181 -0
  194. data/doc/index.html +24 -0
  195. data/doc/rdoc-style.css +208 -0
  196. data/lib/git.rb +50 -0
  197. data/lib/git/base.rb +251 -0
  198. data/lib/git/branch.rb +94 -0
  199. data/lib/git/branches.rb +45 -0
  200. data/lib/git/diff.rb +143 -0
  201. data/lib/git/index.rb +4 -0
  202. data/lib/git/lib.rb +344 -0
  203. data/lib/git/log.rb +94 -0
  204. data/lib/git/object.rb +110 -0
  205. data/lib/git/path.rb +23 -0
  206. data/lib/git/remote.rb +42 -0
  207. data/lib/git/repository.rb +4 -0
  208. data/lib/git/status.rb +118 -0
  209. data/lib/git/working_directory.rb +4 -0
  210. data/tests/all_tests.rb +4 -0
  211. data/tests/files/index +0 -0
  212. data/tests/files/working.git/HEAD +1 -0
  213. data/tests/files/working.git/config +4 -0
  214. data/tests/files/working.git/description +1 -0
  215. data/tests/files/working.git/hooks/applypatch-msg +15 -0
  216. data/tests/files/working.git/hooks/commit-msg +21 -0
  217. data/tests/files/working.git/hooks/post-commit +8 -0
  218. data/tests/files/working.git/hooks/post-receive +16 -0
  219. data/tests/files/working.git/hooks/post-update +8 -0
  220. data/tests/files/working.git/hooks/pre-applypatch +14 -0
  221. data/tests/files/working.git/hooks/pre-commit +70 -0
  222. data/tests/files/working.git/hooks/pre-rebase +150 -0
  223. data/tests/files/working.git/hooks/update +78 -0
  224. data/tests/files/working.git/info/exclude +6 -0
  225. data/tests/files/working.git/objects/0b/c0d846cf80b079e763e35c3af273171bf01fca +0 -0
  226. data/tests/files/working.git/objects/54/5ffc79786f268524c35e1e05b1770c7c74faf1 +3 -0
  227. data/tests/files/working.git/objects/6b/790ddc5eab30f18cabdd0513e8f8dac0d2d3ed +0 -0
  228. data/tests/files/working.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
  229. data/tests/files/working.git/refs/heads/master +1 -0
  230. data/tests/files/working/dot_git/FETCH_HEAD +1 -0
  231. data/tests/files/working/dot_git/HEAD +1 -0
  232. data/tests/files/working/dot_git/config +10 -0
  233. data/tests/files/working/dot_git/description +1 -0
  234. data/tests/files/working/dot_git/hooks/applypatch-msg +15 -0
  235. data/tests/files/working/dot_git/hooks/commit-msg +21 -0
  236. data/tests/files/working/dot_git/hooks/post-commit +8 -0
  237. data/tests/files/working/dot_git/hooks/post-receive +16 -0
  238. data/tests/files/working/dot_git/hooks/post-update +8 -0
  239. data/tests/files/working/dot_git/hooks/pre-applypatch +14 -0
  240. data/tests/files/working/dot_git/hooks/pre-commit +70 -0
  241. data/tests/files/working/dot_git/hooks/pre-rebase +150 -0
  242. data/tests/files/working/dot_git/hooks/update +78 -0
  243. data/tests/files/working/dot_git/index +0 -0
  244. data/tests/files/working/dot_git/info/exclude +6 -0
  245. data/tests/files/working/dot_git/logs/HEAD +75 -0
  246. data/tests/files/working/dot_git/logs/refs/heads/git_grep +5 -0
  247. data/tests/files/working/dot_git/logs/refs/heads/master +64 -0
  248. data/tests/files/working/dot_git/logs/refs/heads/test +3 -0
  249. data/tests/files/working/dot_git/logs/refs/heads/test_branches +1 -0
  250. data/tests/files/working/dot_git/logs/refs/heads/test_object +2 -0
  251. data/tests/files/working/dot_git/logs/refs/remotes/working/master +1 -0
  252. data/tests/files/working/dot_git/objects/00/62cdf4c1e63069eececf54325535e91fd57c42 +0 -0
  253. data/tests/files/working/dot_git/objects/00/ea60e1331b184386392037a7267dfb4a7c7d86 +0 -0
  254. data/tests/files/working/dot_git/objects/01/0b7b79019cb510d8c5849704fd10541655916d +0 -0
  255. data/tests/files/working/dot_git/objects/01/dd46ebe07fc30c10c85c2e926c70f2d7058a6b +0 -0
  256. data/tests/files/working/dot_git/objects/02/b2a02844d00574c234d17bec6294e832f3c4c1 +0 -0
  257. data/tests/files/working/dot_git/objects/06/f4e8a840d23fc0ab94895a5d16827a19f75fb7 +0 -0
  258. data/tests/files/working/dot_git/objects/0b/2fe00801b62b7760c23d554796b05abc16af92 +0 -0
  259. data/tests/files/working/dot_git/objects/0b/5262f6ee3552a99b7081a317e8289d6a4d8e72 +0 -0
  260. data/tests/files/working/dot_git/objects/0b/c0d846cf80b079e763e35c3af273171bf01fca +0 -0
  261. data/tests/files/working/dot_git/objects/0d/2c47f07277b3ea30b0884f8e3acd68440507c8 +0 -0
  262. data/tests/files/working/dot_git/objects/0d/519ca9c2eddc44431efe135d0fc8df00e0b975 +0 -0
  263. data/tests/files/working/dot_git/objects/0f/845a0a981bc2f61354fcdd2b6eafe2b2c55c2d +3 -0
  264. data/tests/files/working/dot_git/objects/0f/f4a0357c3d7221a2ef1e4c6b7d5c46d97fe250 +0 -0
  265. data/tests/files/working/dot_git/objects/12/eb889f49f1464b32a51424d7724fb16f6c3a31 +0 -0
  266. data/tests/files/working/dot_git/objects/15/34a65657edf4e5caaa5ce35652dca5e4c7d316 +0 -0
  267. data/tests/files/working/dot_git/objects/15/378a1f3eafe4c5ab4f890883356df917ee5539 +2 -0
  268. data/tests/files/working/dot_git/objects/16/9e6db43d4c09cd610179a7b9826483b4d94123 +0 -0
  269. data/tests/files/working/dot_git/objects/16/d1f96acfd92d09c4f1f56d3441ac55dd30500e +0 -0
  270. data/tests/files/working/dot_git/objects/16/ee5335538f11b4ffcc17b051f8d5db7570a055 +0 -0
  271. data/tests/files/working/dot_git/objects/17/9ef0e0209e90af00f544ff414e0674dfb5f5c7 +0 -0
  272. data/tests/files/working/dot_git/objects/19/9d2f8e60fddd1bb2a1b0bddedde35e5aa8b03f +0 -0
  273. data/tests/files/working/dot_git/objects/1c/c8667014381e2788a94777532a788307f38d26 +1 -0
  274. data/tests/files/working/dot_git/objects/1c/fcfba04eb4e461e9f930d22f528023ab1ddefc +0 -0
  275. data/tests/files/working/dot_git/objects/1d/7be4117ded4534789d85c42ab579644cd3fa12 +0 -0
  276. data/tests/files/working/dot_git/objects/1d/9e4767a95047ca5e395714985afaedb186f4cd +1 -0
  277. data/tests/files/working/dot_git/objects/1f/09f2edb9c0d9275d15960771b363ca6940fbe3 +0 -0
  278. data/tests/files/working/dot_git/objects/1f/691b879df15cf6742502ffc59833b4a40e7aef +0 -0
  279. data/tests/files/working/dot_git/objects/23/751ef6c1fed1304ae1d07020aa73da6f2b93b0 +1 -0
  280. data/tests/files/working/dot_git/objects/24/5582a71306d7360e40c07cd7d849a1aa14a31e +0 -0
  281. data/tests/files/working/dot_git/objects/26/3e3c527004e7b742ed1f747c1bfb7e11825d7a +0 -0
  282. data/tests/files/working/dot_git/objects/27/c0c003dda3e59ba236f53f6661faaf74432b5c +0 -0
  283. data/tests/files/working/dot_git/objects/29/1b6be488d6abc586d3ee03ca61238766625a75 +0 -0
  284. data/tests/files/working/dot_git/objects/2a/f6f7d51b7afdd404a871581ebb3b6ac07fb8cc +0 -0
  285. data/tests/files/working/dot_git/objects/2c/ef51480d44dcc262d16be2812c692d940d5f29 +0 -0
  286. data/tests/files/working/dot_git/objects/2e/20132e8fd40cb3e82248919a10900d31f1816a +0 -0
  287. data/tests/files/working/dot_git/objects/2e/939fd37bbd2da971faa27c3e3de7d5aad40507 +0 -0
  288. data/tests/files/working/dot_git/objects/2f/53e667d1d88e75b3fa300f9ab6e2d8ffd32a15 +0 -0
  289. data/tests/files/working/dot_git/objects/32/4968b9dc40253f2c52a8e3856398c761dea856 +0 -0
  290. data/tests/files/working/dot_git/objects/33/8ecb0183d507498aedb669b796b4f9e8880f00 +0 -0
  291. data/tests/files/working/dot_git/objects/33/edabb4334cbe849a477a0d2893cdb768fa3091 +0 -0
  292. data/tests/files/working/dot_git/objects/34/a566d193dc4702f03149969a2aad1443231560 +1 -0
  293. data/tests/files/working/dot_git/objects/36/fe213c328fd280f33abe00069c4b92eb5a88d1 +0 -0
  294. data/tests/files/working/dot_git/objects/39/66e9fa0e0b9fe9d3ef2fdaa6933f3d0bb82bc3 +0 -0
  295. data/tests/files/working/dot_git/objects/3a/9f195756f5bd26b67c5e1fffd92d68d61be14e +2 -0
  296. data/tests/files/working/dot_git/objects/3a/ac4b445017a8fc07502670ec2dbf744213dd48 +0 -0
  297. data/tests/files/working/dot_git/objects/3b/6eeed9ce43ea893cf48d263da93448edae9f1c +0 -0
  298. data/tests/files/working/dot_git/objects/3c/644f22b9b8edb06e7e298ecac8e71b133061f1 +0 -0
  299. data/tests/files/working/dot_git/objects/3c/c71b13d906e445da52785ddeff40dad1163d49 +2 -0
  300. data/tests/files/working/dot_git/objects/3c/f35bd14cf5f2dd08bbeef8698d700f3a038e5c +0 -0
  301. data/tests/files/working/dot_git/objects/3d/331db92a8ead0565679efb76f328ae69ed1b77 +0 -0
  302. data/tests/files/working/dot_git/objects/44/88516c3c936db58ea485ec2213dab9d13e6628 +0 -0
  303. data/tests/files/working/dot_git/objects/44/987dd95c338fb573726541f270f1a7b55c9d51 +0 -0
  304. data/tests/files/working/dot_git/objects/45/20c29b885e9db9b0df3c7bab7870157e1d00c3 +0 -0
  305. data/tests/files/working/dot_git/objects/45/b983be36b73c0788dc9cbcb76cbb80fc7bb057 +0 -0
  306. data/tests/files/working/dot_git/objects/46/00557506be20eb1501a4f15a52e684d4b9ee61 +0 -0
  307. data/tests/files/working/dot_git/objects/46/a60232117527e7b57ac0dd5ea4af2cd3fdb696 +0 -0
  308. data/tests/files/working/dot_git/objects/47/0f6a87fa51dd25f6db0f4725ae37791d449356 +0 -0
  309. data/tests/files/working/dot_git/objects/47/2650d42fa9454e2e61e3da9f5c158b8af6d298 +0 -0
  310. data/tests/files/working/dot_git/objects/47/8e5ee111572790b248eaa99140c5a8f728abc7 +0 -0
  311. data/tests/files/working/dot_git/objects/48/bbf0db7e813affab7d8dd2842b8455ff9876be +0 -0
  312. data/tests/files/working/dot_git/objects/49/b352299735fda3a333c69c6273178b0c3dfa08 +0 -0
  313. data/tests/files/working/dot_git/objects/4a/1e3e4500962c3631a479726bf2e40469594cba +0 -0
  314. data/tests/files/working/dot_git/objects/4a/2bee50944e9285e8f82216c9b0b8a7d3cdd315 +0 -0
  315. data/tests/files/working/dot_git/objects/4a/4e676afe275afecf23130390fe96d0e6d00057 +0 -0
  316. data/tests/files/working/dot_git/objects/4a/de99433ac3e4bcc874cd7de488de29399e9096 +1 -0
  317. data/tests/files/working/dot_git/objects/4b/7c90536eaa830d8c1f6ff49a7885b581d6acef +1 -0
  318. data/tests/files/working/dot_git/objects/4c/411dc8e6ea6fcba0ed56e84aa7707f881d24c7 +0 -0
  319. data/tests/files/working/dot_git/objects/4c/ce9432b2f80461324a61611f6143f8544cd80f +1 -0
  320. data/tests/files/working/dot_git/objects/4c/e44a75510cbfe200b131fdbcc56a86f1b2dc08 +0 -0
  321. data/tests/files/working/dot_git/objects/4d/35ba97a858072c240d327e3ce30c28b333a1b0 +0 -0
  322. data/tests/files/working/dot_git/objects/4d/ff9ef38ef09cbf0e36031bbee22b7cf0c7a8fc +1 -0
  323. data/tests/files/working/dot_git/objects/4e/aafb1d843aec4f8f1612d03de46a08c2143ea9 +0 -0
  324. data/tests/files/working/dot_git/objects/4e/ebc1b62c53241b7fbf7fb33b5230362595bfdd +0 -0
  325. data/tests/files/working/dot_git/objects/4f/4065121cb78fe6116ae7e3075f5c5a446bd08b +0 -0
  326. data/tests/files/working/dot_git/objects/50/3d77289b054742f507d8a8ce7cc51d3841d5b9 +0 -0
  327. data/tests/files/working/dot_git/objects/52/4038b20b297f40d78e7d83e04e38049457312b +0 -0
  328. data/tests/files/working/dot_git/objects/53/a72df554e585e239e41cb1fc498d5aee9bb164 +0 -0
  329. data/tests/files/working/dot_git/objects/54/0200385c3b0b299c7a87ecf59ca94c32fbbe99 +0 -0
  330. data/tests/files/working/dot_git/objects/54/5c81a2e8d1112d5f7356f840a22e8f6abcef8f +2 -0
  331. data/tests/files/working/dot_git/objects/54/5ffc79786f268524c35e1e05b1770c7c74faf1 +3 -0
  332. data/tests/files/working/dot_git/objects/54/6bec6f8872efa41d5d97a369f669165ecda0de +0 -0
  333. data/tests/files/working/dot_git/objects/54/7a4bae347658f0d9eed0d35d31b4561aea7cf8 +2 -0
  334. data/tests/files/working/dot_git/objects/56/195ef83e9e20ca75dddef0630633fc8060ed11 +0 -0
  335. data/tests/files/working/dot_git/objects/57/7ddd894033c46a5fcf2c6f3c4e71cc72f86909 +0 -0
  336. data/tests/files/working/dot_git/objects/58/501cbd0fc5ce832f6b34d37243a520dc19a6cc +1 -0
  337. data/tests/files/working/dot_git/objects/58/73a650a91eb238005444d2c637b451f687951b +0 -0
  338. data/tests/files/working/dot_git/objects/5a/28efd2fcf55b7b58eb7cc66b5db836155bc2bb +0 -0
  339. data/tests/files/working/dot_git/objects/5b/0be7da7cc9ecdb6c2de5f818c30a42fbd2c9fa +1 -0
  340. data/tests/files/working/dot_git/objects/5c/16fb8b958b51f6008f9722b279b1fde0defb76 +3 -0
  341. data/tests/files/working/dot_git/objects/5d/4606820736043f9eed2a6336661d6892c820a5 +0 -0
  342. data/tests/files/working/dot_git/objects/5e/392652a881999392c2757cf9b783c5d47b67f7 +0 -0
  343. data/tests/files/working/dot_git/objects/5e/53019b3238362144c2766f02a2c00d91fcc023 +2 -0
  344. data/tests/files/working/dot_git/objects/62/70c7f48ca41e6fb41b745ddc1bffe521d83194 +2 -0
  345. data/tests/files/working/dot_git/objects/62/7e1097cda3b2e3ad6ba4d3772c0985e1ff349c +0 -0
  346. data/tests/files/working/dot_git/objects/62/bb94c53efae4d53fd0649d129baef4aca87af7 +3 -0
  347. data/tests/files/working/dot_git/objects/62/c9331ffe97bb6388fb7968662b4e97d121e2da +0 -0
  348. data/tests/files/working/dot_git/objects/63/1446ec50808846e31fff786c065e69da2c673b +0 -0
  349. data/tests/files/working/dot_git/objects/64/d0c52ac4c061cf1705e3005dfd86fb70374a14 +0 -0
  350. data/tests/files/working/dot_git/objects/66/80a909b0e02b297bedbe143ef789d297235358 +0 -0
  351. data/tests/files/working/dot_git/objects/6b/790ddc5eab30f18cabdd0513e8f8dac0d2d3ed +0 -0
  352. data/tests/files/working/dot_git/objects/6c/2d312ebd67eed4c7e97e3923b3667764e7360e +0 -0
  353. data/tests/files/working/dot_git/objects/6d/e8fb35c2e4a69addd030f2dbb4f73fd4742b5b +0 -0
  354. data/tests/files/working/dot_git/objects/6e/d281c757a969ffe22f3dcfa5830c532479c726 +0 -0
  355. data/tests/files/working/dot_git/objects/70/714b02913c1a249a5ab05021742f0bc7065df7 +0 -0
  356. data/tests/files/working/dot_git/objects/71/894b736711ea0a5def4f536009364d07ee4db3 +2 -0
  357. data/tests/files/working/dot_git/objects/71/c9a23879ff0ac8c49b92d107f3f89c6d1b2d92 +1 -0
  358. data/tests/files/working/dot_git/objects/73/b171450704ea4350f9f884426389fe04c6cd51 +0 -0
  359. data/tests/files/working/dot_git/objects/74/32b657191a10587335e74ae6f0966a7eed2976 +0 -0
  360. data/tests/files/working/dot_git/objects/79/e5b9e6ee5a1e6c52676a6332fe9163adaa92cb +0 -0
  361. data/tests/files/working/dot_git/objects/7c/076f209839d7f910e8c84e41cc94898287ef45 +0 -0
  362. data/tests/files/working/dot_git/objects/7c/60c6ab64c74d52f973d18cd1933318a8d9ae2e +0 -0
  363. data/tests/files/working/dot_git/objects/7c/ac4f8d519d524ed025732ee220f6451665a770 +0 -0
  364. data/tests/files/working/dot_git/objects/7f/5625f6b3c7213287a12c89017361248ed88936 +0 -0
  365. data/tests/files/working/dot_git/objects/7f/86d16e0254f64f784198c6a55ef9bf7adbe7ce +0 -0
  366. data/tests/files/working/dot_git/objects/7f/bfee9f8882ada1ec45c4925baf5649d96c4a16 +0 -0
  367. data/tests/files/working/dot_git/objects/81/25fbe8605d2884e732a185c9a24abcc0d12a1f +0 -0
  368. data/tests/files/working/dot_git/objects/81/d4d5e9b6db474d0f432aa31d44bf690d841e94 +0 -0
  369. data/tests/files/working/dot_git/objects/81/f545324202466d44115656ea463a5bb114345f +0 -0
  370. data/tests/files/working/dot_git/objects/82/d331cf4d3d4ee537c4f866cab2633b46a8d090 +0 -0
  371. data/tests/files/working/dot_git/objects/83/c6a1f0d7d8df18a9d9bfe917707aec37868418 +0 -0
  372. data/tests/files/working/dot_git/objects/85/8f46dd7496faf7af72102ca15cccff832b5377 +0 -0
  373. data/tests/files/working/dot_git/objects/87/c56502c73149f006631129f85dff697e000356 +0 -0
  374. data/tests/files/working/dot_git/objects/88/cf23d06f519bec7b824acd52b87a729555f2e7 +0 -0
  375. data/tests/files/working/dot_git/objects/8a/3fb747983bf2a7f4ef136af4bfcf7993a19307 +0 -0
  376. data/tests/files/working/dot_git/objects/8b/00d915a0ee5aeb32e0b166e1054c2901338c9d +0 -0
  377. data/tests/files/working/dot_git/objects/8c/e3ee48a7e7ec697a99ee33700ec624548ad9e8 +0 -0
  378. data/tests/files/working/dot_git/objects/8d/ae07ab9d98b5fe04d4d7ed804cc36441b68dab +0 -0
  379. data/tests/files/working/dot_git/objects/8d/c79ae7616abf1e2d4d5d97d566f2b2f6cee043 +0 -0
  380. data/tests/files/working/dot_git/objects/92/4dec9203af851c3b3e564697ab3004b35b3c2f +0 -0
  381. data/tests/files/working/dot_git/objects/93/06c056ba3ef9dca6f6365af38148c71196533a +0 -0
  382. data/tests/files/working/dot_git/objects/93/5badc874edd62a8629aaf103418092c73f0a56 +1 -0
  383. data/tests/files/working/dot_git/objects/94/c827875e2cadb8bc8d4cdd900f19aa9e8634c7 +0 -0
  384. data/tests/files/working/dot_git/objects/95/ef665df6ebd69842c5e74a24cb8a12225dee3e +0 -0
  385. data/tests/files/working/dot_git/objects/98/fb6a686563963b8f7e552d747158adbc1c2bd6 +0 -0
  386. data/tests/files/working/dot_git/objects/99/3dd9b1cdeab53e305886c91dbcbc8929eff22e +1 -0
  387. data/tests/files/working/dot_git/objects/9a/e1fbd7636c99d34fdd395cf9bb21ad51417ce7 +1 -0
  388. data/tests/files/working/dot_git/objects/9b/5149aa4ace4ef69461803b0ccbb21139e12626 +0 -0
  389. data/tests/files/working/dot_git/objects/9d/3ad2f09cb7a1d4f4c91182c96f2be537fbc4ff +0 -0
  390. data/tests/files/working/dot_git/objects/9d/6f937544dc3b936d6ee1466d6e216ba18d5686 +0 -0
  391. data/tests/files/working/dot_git/objects/9f/a43bcd45af28e109e6f7b9a6ccd26e8e193a63 +0 -0
  392. data/tests/files/working/dot_git/objects/a0/b3f35b3c39cfb12c4cc819bffe1cf54efb3642 +2 -0
  393. data/tests/files/working/dot_git/objects/a1/15413501949f4f09811fd1aaecf136c012c7d7 +0 -0
  394. data/tests/files/working/dot_git/objects/a1/a3069efcc64330fb6c66004e69b870da3d6186 +0 -0
  395. data/tests/files/working/dot_git/objects/a3/62d30d5fe1021cabc4c90f073ba2511d5a43a1 +0 -0
  396. data/tests/files/working/dot_git/objects/a3/c1f067074cdc9aa998cb5f3cad46a6f17aab2d +0 -0
  397. data/tests/files/working/dot_git/objects/a3/db7143944dcfa006fefe7fb49c48793cb29ade +2 -0
  398. data/tests/files/working/dot_git/objects/a4/4a5e945176ff31be83ffca3e7c68a8b6a45ea5 +1 -0
  399. data/tests/files/working/dot_git/objects/a5/1546fabf88ddef5a9fd91b3989dd8ccae2edf3 +0 -0
  400. data/tests/files/working/dot_git/objects/a6/b25c4b27ee99f93fd611154202af5f9e3c99de +2 -0
  401. data/tests/files/working/dot_git/objects/a7/88a1cba299638a2c898fcfaae1f69a1549853d +0 -0
  402. data/tests/files/working/dot_git/objects/a8/98e8a6b143188022863bc1cab0b5f7514624ba +0 -0
  403. data/tests/files/working/dot_git/objects/a8/b607b221454c4cd7bc7831b2d19712bb4ff888 +0 -0
  404. data/tests/files/working/dot_git/objects/a9/e2d9b71b616531f04a65ae5b972ba5d1f2cb93 +0 -0
  405. data/tests/files/working/dot_git/objects/a9/e2f17562ae78a75dc855bb3dc9e87364195dcf +0 -0
  406. data/tests/files/working/dot_git/objects/ab/16bc1812fd6226780a841300a2432dfd0c6719 +0 -0
  407. data/tests/files/working/dot_git/objects/ac/8f48bbb7b31c945ba6a4fbe6950d009a5d8373 +0 -0
  408. data/tests/files/working/dot_git/objects/ae/21cabd23aee99a719fc828977c0df9e8b19363 +0 -0
  409. data/tests/files/working/dot_git/objects/b0/3003311ad3fa368b475df58390353868e13c91 +2 -0
  410. data/tests/files/working/dot_git/objects/b0/ee249c5e5cc9464f3bc0034ab05632dcb87a23 +0 -0
  411. data/tests/files/working/dot_git/objects/b1/288f8beeaa6cf048c3a9f578d4e266fab8820e +0 -0
  412. data/tests/files/working/dot_git/objects/b1/5336206c9040f4c52660b3f3c76ee02ccece56 +0 -0
  413. data/tests/files/working/dot_git/objects/b1/b18f5bea24648a1b08e5bba88728c15ec3cb50 +2 -0
  414. data/tests/files/working/dot_git/objects/b4/5724ee906d2561901208ba924add09ab95ccb3 +0 -0
  415. data/tests/files/working/dot_git/objects/b5/d8fc3cb740eb643c66eb5f4a97345fdb806259 +0 -0
  416. data/tests/files/working/dot_git/objects/b6/153b8fe540288d66b974ae05113338ab1a61f0 +0 -0
  417. data/tests/files/working/dot_git/objects/b6/987bc1201ad19774c43c0ea8078f6f51d76bcb +0 -0
  418. data/tests/files/working/dot_git/objects/b6/9e6acd87e5f9114ce6580b095ef1057a8fe5bb +0 -0
  419. data/tests/files/working/dot_git/objects/b9/8f4909807c8c84a1dc1b62b4a339ae1777f369 +3 -0
  420. data/tests/files/working/dot_git/objects/ba/492c62b6227d7f3507b4dcc6e6d5f13790eabf +0 -0
  421. data/tests/files/working/dot_git/objects/ba/c335cb9dc058a477d04cde34c07d1f70d16fb9 +0 -0
  422. data/tests/files/working/dot_git/objects/bb/0850568bb43049031a38b01ddb60e4a487f823 +0 -0
  423. data/tests/files/working/dot_git/objects/be/b14380ef26540efcad06bedcd0e302b6bce70e +0 -0
  424. data/tests/files/working/dot_git/objects/c1/3142dd26a1f6f38403a17f6c411cb621b9a1cd +0 -0
  425. data/tests/files/working/dot_git/objects/c1/8b4e9b0829411705d7fa9a1570a20d88780817 +0 -0
  426. data/tests/files/working/dot_git/objects/c5/a3fdb33f052b8f17dac83c533b62244226f4ba +0 -0
  427. data/tests/files/working/dot_git/objects/c6/567e2feccce3893ae0aaac2bf97807338aa8d4 +0 -0
  428. data/tests/files/working/dot_git/objects/cb/45eef6fa1ad913137d91c6b81d2b42d69094a6 +0 -0
  429. data/tests/files/working/dot_git/objects/cd/0d59357b36a447ff27a7c176b46e0a319b42df +0 -0
  430. data/tests/files/working/dot_git/objects/cd/4291452a61ff8b57cf5510addc8ddc5630748e +0 -0
  431. data/tests/files/working/dot_git/objects/cf/7135368cc3bf4920ceeaeebd083e098cfad355 +4 -0
  432. data/tests/files/working/dot_git/objects/cf/b9952c3a28831144a0fac7ea5a2d8517f466c4 +0 -0
  433. data/tests/files/working/dot_git/objects/d0/0491fd7e5bb6fa28c517a0bb32b8b506539d4d +0 -0
  434. data/tests/files/working/dot_git/objects/d1/4cbc09cc34fb6450b2e96432102be51c8292b8 +0 -0
  435. data/tests/files/working/dot_git/objects/d3/d171221e87a30e059d638f155f899595d96b71 +0 -0
  436. data/tests/files/working/dot_git/objects/d5/b9587b65731e25216743b0caca72051a760211 +2 -0
  437. data/tests/files/working/dot_git/objects/d6/a3aab3e38bc16688b4e636a91e462434210878 +0 -0
  438. data/tests/files/working/dot_git/objects/d6/f31c35d7e010e50568c0d605227028aa7bac66 +0 -0
  439. data/tests/files/working/dot_git/objects/d7/875788aeafdd8e317880c00e3372f683cad91e +0 -0
  440. data/tests/files/working/dot_git/objects/d7/d8a71a719e2a4ca501991a66dab47df804f6ad +0 -0
  441. data/tests/files/working/dot_git/objects/d7/e844eec32d74a3d37c4ce02d7138658e1035d6 +0 -0
  442. data/tests/files/working/dot_git/objects/da/597fb7fba247a5b59d917e90342cf4b9695905 +0 -0
  443. data/tests/files/working/dot_git/objects/da/7b788b1575936a4381050610a37737c70b55a0 +1 -0
  444. data/tests/files/working/dot_git/objects/de/996da0ef3dcee1a28aef9243aa3e255eb825b5 +0 -0
  445. data/tests/files/working/dot_git/objects/de/d54b45e4d49816f6d4256e74d45ba2bb351357 +0 -0
  446. data/tests/files/working/dot_git/objects/e3/6f723934fd1d67c7d21538751f0b1e941141db +0 -0
  447. data/tests/files/working/dot_git/objects/e3/ebef76525fe9e6e8dc739934a08512dff777c0 +0 -0
  448. data/tests/files/working/dot_git/objects/e5/0fa6835cb99747346f19fea5f1ba939da4205f +2 -0
  449. data/tests/files/working/dot_git/objects/e5/650a5c9c4b5a4415195bfb01d4d8dccbc8221b +0 -0
  450. data/tests/files/working/dot_git/objects/e5/76bdfc9ed4627ac954f9390cf7a6151ad2a73e +0 -0
  451. data/tests/files/working/dot_git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
  452. data/tests/files/working/dot_git/objects/e7/ea5938f9c009d32235050bca991d0b9533e440 +0 -0
  453. data/tests/files/working/dot_git/objects/e8/183f05f5db68b3934e93f4bf6bed2bb664e0b5 +0 -0
  454. data/tests/files/working/dot_git/objects/e8/bd03b163f82fba4560c11839d49361a78dec85 +0 -0
  455. data/tests/files/working/dot_git/objects/e9/0de8268373e4fd5ab13310b7745d47ec16813c +0 -0
  456. data/tests/files/working/dot_git/objects/ec/16a327a6a98367d03369b4e998baf3db379313 +0 -0
  457. data/tests/files/working/dot_git/objects/ec/1e3d44e160e18dbfbaa80b5b0780ccc03e678e +0 -0
  458. data/tests/files/working/dot_git/objects/ed/551aa66cf0c6f1a078832f80899faff0ae88dc +0 -0
  459. data/tests/files/working/dot_git/objects/f1/25480ee106989ec4d86554c0d5a1487ad4336a +1 -0
  460. data/tests/files/working/dot_git/objects/f1/410f8735f6f73d3599eb9b5cdd2fb70373335c +3 -0
  461. data/tests/files/working/dot_git/objects/f2/02cb755135d4263589602783b04fb32a079d88 +0 -0
  462. data/tests/files/working/dot_git/objects/f2/ff401fb3fc81f8abb3ca15247aadc1e22b6288 +0 -0
  463. data/tests/files/working/dot_git/objects/f5/501de98279c6454f510188873476f3ead0cee6 +4 -0
  464. data/tests/files/working/dot_git/objects/f7/5f313ca30e534aa9c42463e85108e682d3a14a +0 -0
  465. data/tests/files/working/dot_git/objects/f8/e9c6748331411c0d3511f90bd4e0a1a30acff0 +0 -0
  466. data/tests/files/working/dot_git/objects/f9/bce8995109cfab475d043a7dd9156d5e574ed3 +0 -0
  467. data/tests/files/working/dot_git/objects/fa/6312f71abb153ada6a0399ad710d21bb61e4d8 +0 -0
  468. data/tests/files/working/dot_git/objects/fb/8e78840d79085abf50edebf5b9d6b73ee0fb4c +0 -0
  469. data/tests/files/working/dot_git/objects/fc/b49fa99454f804799a12095292edbca48779ab +0 -0
  470. data/tests/files/working/dot_git/objects/fe/b2ccf88397c2d93f381176067be2727eba330b +0 -0
  471. data/tests/files/working/dot_git/refs/heads/git_grep +1 -0
  472. data/tests/files/working/dot_git/refs/heads/master +1 -0
  473. data/tests/files/working/dot_git/refs/heads/test +1 -0
  474. data/tests/files/working/dot_git/refs/heads/test_branches +1 -0
  475. data/tests/files/working/dot_git/refs/heads/test_object +1 -0
  476. data/tests/files/working/dot_git/refs/remotes/working/master +1 -0
  477. data/tests/files/working/dot_git/refs/tags/gitsearch1 +1 -0
  478. data/tests/files/working/dot_git/refs/tags/v2.5 +1 -0
  479. data/tests/files/working/dot_git/refs/tags/v2.6 +1 -0
  480. data/tests/files/working/dot_git/refs/tags/v2.7 +1 -0
  481. data/tests/files/working/dot_git/refs/tags/v2.8 +1 -0
  482. data/tests/files/working/ex_dir/ex.txt +0 -0
  483. data/tests/files/working/example.txt +1 -0
  484. data/tests/files/working/scott/newfile +1 -0
  485. data/tests/files/working/scott/text.txt +8 -0
  486. data/tests/test_helper.rb +65 -0
  487. data/tests/units/test_branch.rb +92 -0
  488. data/tests/units/test_config.rb +31 -0
  489. data/tests/units/test_diff.rb +86 -0
  490. data/tests/units/test_git_path.rb +29 -0
  491. data/tests/units/test_index_ops.rb +94 -0
  492. data/tests/units/test_init.rb +75 -0
  493. data/tests/units/test_lib.rb +124 -0
  494. data/tests/units/test_log.rb +51 -0
  495. data/tests/units/test_merge.rb +104 -0
  496. data/tests/units/test_object.rb +96 -0
  497. data/tests/units/test_remotes.rb +80 -0
  498. data/tests/units/test_repack.rb +30 -0
  499. data/tests/units/test_tags.rb +35 -0
  500. metadata +753 -0
@@ -0,0 +1,18 @@
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>open (Git)</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.rb, line 38</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">working_dir</span>, <span class="ruby-identifier">options</span> = {})
15
+ <span class="ruby-constant">Base</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">working_dir</span>, <span class="ruby-identifier">options</span>)
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
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>init (Git)</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.rb, line 42</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">init</span>(<span class="ruby-identifier">working_dir</span> = <span class="ruby-value str">'.'</span>, <span class="ruby-identifier">options</span> = {})
15
+ <span class="ruby-constant">Base</span>.<span class="ruby-identifier">init</span>(<span class="ruby-identifier">working_dir</span>, <span class="ruby-identifier">options</span>)
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,18 @@
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>clone (Git)</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.rb, line 46</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">clone</span>(<span class="ruby-identifier">repository</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">options</span> = {})
15
+ <span class="ruby-constant">Base</span>.<span class="ruby-identifier">clone</span>(<span class="ruby-identifier">repository</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">options</span>)
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,1204 @@
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::Base</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::Base</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/git/base_rb.html">
59
+ lib/git/base.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="#M000100">add</a>&nbsp;&nbsp;
92
+ <a href="#M000112">add_remote</a>&nbsp;&nbsp;
93
+ <a href="#M000115">add_tag</a>&nbsp;&nbsp;
94
+ <a href="#M000077">bare</a>&nbsp;&nbsp;
95
+ <a href="#M000095">branch</a>&nbsp;&nbsp;
96
+ <a href="#M000094">branches</a>&nbsp;&nbsp;
97
+ <a href="#M000085">chdir</a>&nbsp;&nbsp;
98
+ <a href="#M000106">checkout</a>&nbsp;&nbsp;
99
+ <a href="#M000080">clone</a>&nbsp;&nbsp;
100
+ <a href="#M000104">commit</a>&nbsp;&nbsp;
101
+ <a href="#M000105">commit_all</a>&nbsp;&nbsp;
102
+ <a href="#M000087">config</a>&nbsp;&nbsp;
103
+ <a href="#M000118">current_branch</a>&nbsp;&nbsp;
104
+ <a href="#M000099">diff</a>&nbsp;&nbsp;
105
+ <a href="#M000082">dir</a>&nbsp;&nbsp;
106
+ <a href="#M000107">fetch</a>&nbsp;&nbsp;
107
+ <a href="#M000091">gblob</a>&nbsp;&nbsp;
108
+ <a href="#M000090">gcommit</a>&nbsp;&nbsp;
109
+ <a href="#M000098">grep</a>&nbsp;&nbsp;
110
+ <a href="#M000089">gtree</a>&nbsp;&nbsp;
111
+ <a href="#M000084">index</a>&nbsp;&nbsp;
112
+ <a href="#M000079">init</a>&nbsp;&nbsp;
113
+ <a href="#M000097">lib</a>&nbsp;&nbsp;
114
+ <a href="#M000092">log</a>&nbsp;&nbsp;
115
+ <a href="#M000109">merge</a>&nbsp;&nbsp;
116
+ <a href="#M000081">new</a>&nbsp;&nbsp;
117
+ <a href="#M000088">object</a>&nbsp;&nbsp;
118
+ <a href="#M000078">open</a>&nbsp;&nbsp;
119
+ <a href="#M000110">pull</a>&nbsp;&nbsp;
120
+ <a href="#M000108">push</a>&nbsp;&nbsp;
121
+ <a href="#M000096">remote</a>&nbsp;&nbsp;
122
+ <a href="#M000111">remotes</a>&nbsp;&nbsp;
123
+ <a href="#M000101">remove</a>&nbsp;&nbsp;
124
+ <a href="#M000116">repack</a>&nbsp;&nbsp;
125
+ <a href="#M000083">repo</a>&nbsp;&nbsp;
126
+ <a href="#M000086">repo_size</a>&nbsp;&nbsp;
127
+ <a href="#M000102">reset</a>&nbsp;&nbsp;
128
+ <a href="#M000103">reset_hard</a>&nbsp;&nbsp;
129
+ <a href="#M000117">revparse</a>&nbsp;&nbsp;
130
+ <a href="#M000093">status</a>&nbsp;&nbsp;
131
+ <a href="#M000114">tag</a>&nbsp;&nbsp;
132
+ <a href="#M000113">tags</a>&nbsp;&nbsp;
133
+ </div>
134
+ </div>
135
+
136
+ </div>
137
+
138
+
139
+ <!-- if includes -->
140
+
141
+ <div id="section">
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+ <!-- if method_list -->
151
+ <div id="methods">
152
+ <h3 class="section-bar">Public Class methods</h3>
153
+
154
+ <div id="method-M000077" class="method-detail">
155
+ <a name="M000077"></a>
156
+
157
+ <div class="method-heading">
158
+ <a href="#M000077" class="method-signature">
159
+ <span class="method-name">bare</span><span class="method-args">(git_dir)</span>
160
+ </a>
161
+ </div>
162
+
163
+ <div class="method-description">
164
+ <p>
165
+ opens a bare <a href="../Git.html">Git</a> <a
166
+ href="Repository.html">Repository</a> - no working directory options
167
+ </p>
168
+ <p><a class="source-toggle" href="#"
169
+ onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
170
+ <div class="method-source-code" id="M000077-source">
171
+ <pre>
172
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 10</span>
173
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">bare</span>(<span class="ruby-identifier">git_dir</span>)
174
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">:repository</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">git_dir</span>
175
+ <span class="ruby-keyword kw">end</span>
176
+ </pre>
177
+ </div>
178
+ </div>
179
+ </div>
180
+
181
+ <div id="method-M000080" class="method-detail">
182
+ <a name="M000080"></a>
183
+
184
+ <div class="method-heading">
185
+ <a href="#M000080" class="method-signature">
186
+ <span class="method-name">clone</span><span class="method-args">(repository, name, opts = {})</span>
187
+ </a>
188
+ </div>
189
+
190
+ <div class="method-description">
191
+ <p>
192
+ clones a git repository locally
193
+ </p>
194
+ <pre>
195
+ repository - http://repo.or.cz/w/sinatra.git
196
+ name - sinatra
197
+ </pre>
198
+ <p>
199
+ options:
200
+ </p>
201
+ <pre>
202
+ :repository
203
+
204
+ :bare
205
+ or
206
+ :working_directory
207
+ :index_file
208
+ </pre>
209
+ <p><a class="source-toggle" href="#"
210
+ onclick="toggleCode('M000080-source');return false;">[Source]</a></p>
211
+ <div class="method-source-code" id="M000080-source">
212
+ <pre>
213
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 58</span>
214
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</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> = {})
215
+ <span class="ruby-comment cmt"># run git-clone </span>
216
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Lib</span>.<span class="ruby-identifier">new</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>))
217
+ <span class="ruby-keyword kw">end</span>
218
+ </pre>
219
+ </div>
220
+ </div>
221
+ </div>
222
+
223
+ <div id="method-M000079" class="method-detail">
224
+ <a name="M000079"></a>
225
+
226
+ <div class="method-heading">
227
+ <a href="#M000079" class="method-signature">
228
+ <span class="method-name">init</span><span class="method-args">(working_dir, opts = {})</span>
229
+ </a>
230
+ </div>
231
+
232
+ <div class="method-description">
233
+ <p>
234
+ initializes a git repository
235
+ </p>
236
+ <p>
237
+ options:
238
+ </p>
239
+ <pre>
240
+ :repository
241
+ :index_file
242
+ </pre>
243
+ <p><a class="source-toggle" href="#"
244
+ onclick="toggleCode('M000079-source');return false;">[Source]</a></p>
245
+ <div class="method-source-code" id="M000079-source">
246
+ <pre>
247
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 29</span>
248
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">init</span>(<span class="ruby-identifier">working_dir</span>, <span class="ruby-identifier">opts</span> = {})
249
+ <span class="ruby-identifier">default</span> = {<span class="ruby-identifier">:working_directory</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">working_dir</span>,
250
+ <span class="ruby-identifier">:repository</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">working_dir</span>, <span class="ruby-value str">'.git'</span>)}
251
+ <span class="ruby-identifier">git_options</span> = <span class="ruby-identifier">default</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">opts</span>)
252
+
253
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">git_options</span>[<span class="ruby-identifier">:working_directory</span>]
254
+ <span class="ruby-comment cmt"># if !working_dir, make it</span>
255
+ <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">mkdir_p</span>(<span class="ruby-identifier">git_options</span>[<span class="ruby-identifier">:working_directory</span>]) <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-identifier">git_options</span>[<span class="ruby-identifier">:working_directory</span>])
256
+ <span class="ruby-keyword kw">end</span>
257
+
258
+ <span class="ruby-comment cmt"># run git_init there</span>
259
+ <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Lib</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">git_options</span>).<span class="ruby-identifier">init</span>
260
+
261
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">git_options</span>)
262
+ <span class="ruby-keyword kw">end</span>
263
+ </pre>
264
+ </div>
265
+ </div>
266
+ </div>
267
+
268
+ <div id="method-M000081" class="method-detail">
269
+ <a name="M000081"></a>
270
+
271
+ <div class="method-heading">
272
+ <a href="#M000081" class="method-signature">
273
+ <span class="method-name">new</span><span class="method-args">(options = {})</span>
274
+ </a>
275
+ </div>
276
+
277
+ <div class="method-description">
278
+ <p><a class="source-toggle" href="#"
279
+ onclick="toggleCode('M000081-source');return false;">[Source]</a></p>
280
+ <div class="method-source-code" id="M000081-source">
281
+ <pre>
282
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 63</span>
283
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">options</span> = {})
284
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">working_dir</span> = <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:working_directory</span>]
285
+ <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:repository</span>] = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">working_dir</span>, <span class="ruby-value str">'.git'</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">options</span>[<span class="ruby-identifier">:repository</span>]
286
+ <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:index</span>] = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">working_dir</span>, <span class="ruby-value str">'.git'</span>, <span class="ruby-value str">'index'</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">options</span>[<span class="ruby-identifier">:index</span>]
287
+ <span class="ruby-keyword kw">end</span>
288
+
289
+ <span class="ruby-ivar">@working_directory</span> = <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">WorkingDirectory</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">options</span>[<span class="ruby-identifier">:working_directory</span>]) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:working_directory</span>]
290
+ <span class="ruby-ivar">@repository</span> = <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Repository</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">options</span>[<span class="ruby-identifier">:repository</span>]) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:repository</span>]
291
+ <span class="ruby-ivar">@index</span> = <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Index</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">options</span>[<span class="ruby-identifier">:index</span>], <span class="ruby-keyword kw">false</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:index</span>]
292
+ <span class="ruby-keyword kw">end</span>
293
+ </pre>
294
+ </div>
295
+ </div>
296
+ </div>
297
+
298
+ <div id="method-M000078" class="method-detail">
299
+ <a name="M000078"></a>
300
+
301
+ <div class="method-heading">
302
+ <a href="#M000078" class="method-signature">
303
+ <span class="method-name">open</span><span class="method-args">(working_dir, opts={})</span>
304
+ </a>
305
+ </div>
306
+
307
+ <div class="method-description">
308
+ <p>
309
+ opens a new <a href="../Git.html">Git</a> Project from a working directory
310
+ you can specify non-standard git_dir and index file in the options
311
+ </p>
312
+ <p><a class="source-toggle" href="#"
313
+ onclick="toggleCode('M000078-source');return false;">[Source]</a></p>
314
+ <div class="method-source-code" id="M000078-source">
315
+ <pre>
316
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 16</span>
317
+ <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">working_dir</span>, <span class="ruby-identifier">opts</span>={})
318
+ <span class="ruby-identifier">default</span> = {<span class="ruby-identifier">:working_directory</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">working_dir</span>}
319
+ <span class="ruby-identifier">git_options</span> = <span class="ruby-identifier">default</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">opts</span>)
320
+
321
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">git_options</span>)
322
+ <span class="ruby-keyword kw">end</span>
323
+ </pre>
324
+ </div>
325
+ </div>
326
+ </div>
327
+
328
+ <h3 class="section-bar">Public Instance methods</h3>
329
+
330
+ <div id="method-M000100" class="method-detail">
331
+ <a name="M000100"></a>
332
+
333
+ <div class="method-heading">
334
+ <a href="#M000100" class="method-signature">
335
+ <span class="method-name">add</span><span class="method-args">(path = '.')</span>
336
+ </a>
337
+ </div>
338
+
339
+ <div class="method-description">
340
+ <p>
341
+ adds files from the working directory to the git repository
342
+ </p>
343
+ <p><a class="source-toggle" href="#"
344
+ onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
345
+ <div class="method-source-code" id="M000100-source">
346
+ <pre>
347
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 162</span>
348
+ <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>)
349
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">add</span>(<span class="ruby-identifier">path</span>)
350
+ <span class="ruby-keyword kw">end</span>
351
+ </pre>
352
+ </div>
353
+ </div>
354
+ </div>
355
+
356
+ <div id="method-M000112" class="method-detail">
357
+ <a name="M000112"></a>
358
+
359
+ <div class="method-heading">
360
+ <a href="#M000112" class="method-signature">
361
+ <span class="method-name">add_remote</span><span class="method-args">(name, url, opts = {})</span>
362
+ </a>
363
+ </div>
364
+
365
+ <div class="method-description">
366
+ <p><a class="source-toggle" href="#"
367
+ onclick="toggleCode('M000112-source');return false;">[Source]</a></p>
368
+ <div class="method-source-code" id="M000112-source">
369
+ <pre>
370
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 213</span>
371
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_remote</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">url</span>, <span class="ruby-identifier">opts</span> = {})
372
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">url</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>)
373
+ <span class="ruby-identifier">url</span> = <span class="ruby-identifier">url</span>.<span class="ruby-identifier">repo</span>.<span class="ruby-identifier">path</span>
374
+ <span class="ruby-keyword kw">end</span>
375
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</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>)
376
+ <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Remote</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">name</span>)
377
+ <span class="ruby-keyword kw">end</span>
378
+ </pre>
379
+ </div>
380
+ </div>
381
+ </div>
382
+
383
+ <div id="method-M000115" class="method-detail">
384
+ <a name="M000115"></a>
385
+
386
+ <div class="method-heading">
387
+ <a href="#M000115" class="method-signature">
388
+ <span class="method-name">add_tag</span><span class="method-args">(tag_name)</span>
389
+ </a>
390
+ </div>
391
+
392
+ <div class="method-description">
393
+ <p><a class="source-toggle" href="#"
394
+ onclick="toggleCode('M000115-source');return false;">[Source]</a></p>
395
+ <div class="method-source-code" id="M000115-source">
396
+ <pre>
397
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 229</span>
398
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_tag</span>(<span class="ruby-identifier">tag_name</span>)
399
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">tag</span>(<span class="ruby-identifier">tag_name</span>)
400
+ <span class="ruby-identifier">tag</span>(<span class="ruby-identifier">tag_name</span>)
401
+ <span class="ruby-keyword kw">end</span>
402
+ </pre>
403
+ </div>
404
+ </div>
405
+ </div>
406
+
407
+ <div id="method-M000095" class="method-detail">
408
+ <a name="M000095"></a>
409
+
410
+ <div class="method-heading">
411
+ <a href="#M000095" class="method-signature">
412
+ <span class="method-name">branch</span><span class="method-args">(branch_name = 'master')</span>
413
+ </a>
414
+ </div>
415
+
416
+ <div class="method-description">
417
+ <p><a class="source-toggle" href="#"
418
+ onclick="toggleCode('M000095-source');return false;">[Source]</a></p>
419
+ <div class="method-source-code" id="M000095-source">
420
+ <pre>
421
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 140</span>
422
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">branch</span>(<span class="ruby-identifier">branch_name</span> = <span class="ruby-value str">'master'</span>)
423
+ <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Branch</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">branch_name</span>)
424
+ <span class="ruby-keyword kw">end</span>
425
+ </pre>
426
+ </div>
427
+ </div>
428
+ </div>
429
+
430
+ <div id="method-M000094" class="method-detail">
431
+ <a name="M000094"></a>
432
+
433
+ <div class="method-heading">
434
+ <a href="#M000094" class="method-signature">
435
+ <span class="method-name">branches</span><span class="method-args">()</span>
436
+ </a>
437
+ </div>
438
+
439
+ <div class="method-description">
440
+ <p><a class="source-toggle" href="#"
441
+ onclick="toggleCode('M000094-source');return false;">[Source]</a></p>
442
+ <div class="method-source-code" id="M000094-source">
443
+ <pre>
444
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 136</span>
445
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">branches</span>
446
+ <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Branches</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>)
447
+ <span class="ruby-keyword kw">end</span>
448
+ </pre>
449
+ </div>
450
+ </div>
451
+ </div>
452
+
453
+ <div id="method-M000085" class="method-detail">
454
+ <a name="M000085"></a>
455
+
456
+ <div class="method-heading">
457
+ <a href="#M000085" class="method-signature">
458
+ <span class="method-name">chdir</span><span class="method-args">() {|dir.path| ...}</span>
459
+ </a>
460
+ </div>
461
+
462
+ <div class="method-description">
463
+ <p><a class="source-toggle" href="#"
464
+ onclick="toggleCode('M000085-source');return false;">[Source]</a></p>
465
+ <div class="method-source-code" id="M000085-source">
466
+ <pre>
467
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 87</span>
468
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chdir</span>
469
+ <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">chdir</span>(<span class="ruby-identifier">dir</span>.<span class="ruby-identifier">path</span>) <span class="ruby-keyword kw">do</span>
470
+ <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">dir</span>.<span class="ruby-identifier">path</span>
471
+ <span class="ruby-keyword kw">end</span>
472
+ <span class="ruby-keyword kw">end</span>
473
+ </pre>
474
+ </div>
475
+ </div>
476
+ </div>
477
+
478
+ <div id="method-M000106" class="method-detail">
479
+ <a name="M000106"></a>
480
+
481
+ <div class="method-heading">
482
+ <a href="#M000106" class="method-signature">
483
+ <span class="method-name">checkout</span><span class="method-args">(branch = 'master', opts = {})</span>
484
+ </a>
485
+ </div>
486
+
487
+ <div class="method-description">
488
+ <p><a class="source-toggle" href="#"
489
+ onclick="toggleCode('M000106-source');return false;">[Source]</a></p>
490
+ <div class="method-source-code" id="M000106-source">
491
+ <pre>
492
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 188</span>
493
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">checkout</span>(<span class="ruby-identifier">branch</span> = <span class="ruby-value str">'master'</span>, <span class="ruby-identifier">opts</span> = {})
494
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">checkout</span>(<span class="ruby-identifier">branch</span>, <span class="ruby-identifier">opts</span>)
495
+ <span class="ruby-keyword kw">end</span>
496
+ </pre>
497
+ </div>
498
+ </div>
499
+ </div>
500
+
501
+ <div id="method-M000104" class="method-detail">
502
+ <a name="M000104"></a>
503
+
504
+ <div class="method-heading">
505
+ <a href="#M000104" class="method-signature">
506
+ <span class="method-name">commit</span><span class="method-args">(message, opts = {})</span>
507
+ </a>
508
+ </div>
509
+
510
+ <div class="method-description">
511
+ <p><a class="source-toggle" href="#"
512
+ onclick="toggleCode('M000104-source');return false;">[Source]</a></p>
513
+ <div class="method-source-code" id="M000104-source">
514
+ <pre>
515
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 179</span>
516
+ <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> = {})
517
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">opts</span>)
518
+ <span class="ruby-keyword kw">end</span>
519
+ </pre>
520
+ </div>
521
+ </div>
522
+ </div>
523
+
524
+ <div id="method-M000105" class="method-detail">
525
+ <a name="M000105"></a>
526
+
527
+ <div class="method-heading">
528
+ <a href="#M000105" class="method-signature">
529
+ <span class="method-name">commit_all</span><span class="method-args">(message, opts = {})</span>
530
+ </a>
531
+ </div>
532
+
533
+ <div class="method-description">
534
+ <p><a class="source-toggle" href="#"
535
+ onclick="toggleCode('M000105-source');return false;">[Source]</a></p>
536
+ <div class="method-source-code" id="M000105-source">
537
+ <pre>
538
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 183</span>
539
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">commit_all</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">opts</span> = {})
540
+ <span class="ruby-identifier">opts</span> = {<span class="ruby-identifier">:add_all</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>}.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">opts</span>)
541
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">commit</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">opts</span>)
542
+ <span class="ruby-keyword kw">end</span>
543
+ </pre>
544
+ </div>
545
+ </div>
546
+ </div>
547
+
548
+ <div id="method-M000087" class="method-detail">
549
+ <a name="M000087"></a>
550
+
551
+ <div class="method-heading">
552
+ <a href="#M000087" class="method-signature">
553
+ <span class="method-name">config</span><span class="method-args">(name = nil, value = nil)</span>
554
+ </a>
555
+ </div>
556
+
557
+ <div class="method-description">
558
+ <p>
559
+ g.config(&#8216;user.name&#8217;, &#8216;Scott Chacon&#8217;) # sets value
560
+ g.config(&#8216;user.email&#8217;, &#8216;email@email.com&#8217;) # sets
561
+ value g.config(&#8216;user.name&#8217;) # returns &#8216;Scott
562
+ Chacon&#8217; g.config # returns whole config hash
563
+ </p>
564
+ <p><a class="source-toggle" href="#"
565
+ onclick="toggleCode('M000087-source');return false;">[Source]</a></p>
566
+ <div class="method-source-code" id="M000087-source">
567
+ <pre>
568
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 105</span>
569
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">config</span>(<span class="ruby-identifier">name</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">value</span> = <span class="ruby-keyword kw">nil</span>)
570
+ <span class="ruby-keyword kw">if</span>(<span class="ruby-identifier">name</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">value</span>)
571
+ <span class="ruby-comment cmt"># set value</span>
572
+ <span class="ruby-identifier">lib</span>.<span class="ruby-identifier">config_set</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span>)
573
+ <span class="ruby-keyword kw">elsif</span> (<span class="ruby-identifier">name</span>)
574
+ <span class="ruby-comment cmt"># return value</span>
575
+ <span class="ruby-identifier">lib</span>.<span class="ruby-identifier">config_get</span>(<span class="ruby-identifier">name</span>)
576
+ <span class="ruby-keyword kw">else</span>
577
+ <span class="ruby-comment cmt"># return hash</span>
578
+ <span class="ruby-identifier">lib</span>.<span class="ruby-identifier">config_list</span>
579
+ <span class="ruby-keyword kw">end</span>
580
+ <span class="ruby-keyword kw">end</span>
581
+ </pre>
582
+ </div>
583
+ </div>
584
+ </div>
585
+
586
+ <div id="method-M000118" class="method-detail">
587
+ <a name="M000118"></a>
588
+
589
+ <div class="method-heading">
590
+ <a href="#M000118" class="method-signature">
591
+ <span class="method-name">current_branch</span><span class="method-args">()</span>
592
+ </a>
593
+ </div>
594
+
595
+ <div class="method-description">
596
+ <p><a class="source-toggle" href="#"
597
+ onclick="toggleCode('M000118-source');return false;">[Source]</a></p>
598
+ <div class="method-source-code" id="M000118-source">
599
+ <pre>
600
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 244</span>
601
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">current_branch</span>
602
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">branch_current</span>
603
+ <span class="ruby-keyword kw">end</span>
604
+ </pre>
605
+ </div>
606
+ </div>
607
+ </div>
608
+
609
+ <div id="method-M000099" class="method-detail">
610
+ <a name="M000099"></a>
611
+
612
+ <div class="method-heading">
613
+ <a href="#M000099" class="method-signature">
614
+ <span class="method-name">diff</span><span class="method-args">(objectish = 'HEAD', obj2 = nil)</span>
615
+ </a>
616
+ </div>
617
+
618
+ <div class="method-description">
619
+ <p><a class="source-toggle" href="#"
620
+ onclick="toggleCode('M000099-source');return false;">[Source]</a></p>
621
+ <div class="method-source-code" id="M000099-source">
622
+ <pre>
623
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 157</span>
624
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">diff</span>(<span class="ruby-identifier">objectish</span> = <span class="ruby-value str">'HEAD'</span>, <span class="ruby-identifier">obj2</span> = <span class="ruby-keyword kw">nil</span>)
625
+ <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Diff</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">objectish</span>, <span class="ruby-identifier">obj2</span>)
626
+ <span class="ruby-keyword kw">end</span>
627
+ </pre>
628
+ </div>
629
+ </div>
630
+ </div>
631
+
632
+ <div id="method-M000082" class="method-detail">
633
+ <a name="M000082"></a>
634
+
635
+ <div class="method-heading">
636
+ <a href="#M000082" class="method-signature">
637
+ <span class="method-name">dir</span><span class="method-args">()</span>
638
+ </a>
639
+ </div>
640
+
641
+ <div class="method-description">
642
+ <p><a class="source-toggle" href="#"
643
+ onclick="toggleCode('M000082-source');return false;">[Source]</a></p>
644
+ <div class="method-source-code" id="M000082-source">
645
+ <pre>
646
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 75</span>
647
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dir</span>
648
+ <span class="ruby-ivar">@working_directory</span>
649
+ <span class="ruby-keyword kw">end</span>
650
+ </pre>
651
+ </div>
652
+ </div>
653
+ </div>
654
+
655
+ <div id="method-M000107" class="method-detail">
656
+ <a name="M000107"></a>
657
+
658
+ <div class="method-heading">
659
+ <a href="#M000107" class="method-signature">
660
+ <span class="method-name">fetch</span><span class="method-args">(remote = 'origin')</span>
661
+ </a>
662
+ </div>
663
+
664
+ <div class="method-description">
665
+ <p><a class="source-toggle" href="#"
666
+ onclick="toggleCode('M000107-source');return false;">[Source]</a></p>
667
+ <div class="method-source-code" id="M000107-source">
668
+ <pre>
669
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 192</span>
670
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">remote</span> = <span class="ruby-value str">'origin'</span>)
671
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">remote</span>)
672
+ <span class="ruby-keyword kw">end</span>
673
+ </pre>
674
+ </div>
675
+ </div>
676
+ </div>
677
+
678
+ <div id="method-M000091" class="method-detail">
679
+ <a name="M000091"></a>
680
+
681
+ <div class="method-heading">
682
+ <span class="method-name">gblob</span><span class="method-args">(objectish)</span>
683
+ </div>
684
+
685
+ <div class="method-description">
686
+ <p>
687
+ Alias for <a href="Base.html#M000088">object</a>
688
+ </p>
689
+ </div>
690
+ </div>
691
+
692
+ <div id="method-M000090" class="method-detail">
693
+ <a name="M000090"></a>
694
+
695
+ <div class="method-heading">
696
+ <span class="method-name">gcommit</span><span class="method-args">(objectish)</span>
697
+ </div>
698
+
699
+ <div class="method-description">
700
+ <p>
701
+ Alias for <a href="Base.html#M000088">object</a>
702
+ </p>
703
+ </div>
704
+ </div>
705
+
706
+ <div id="method-M000098" class="method-detail">
707
+ <a name="M000098"></a>
708
+
709
+ <div class="method-heading">
710
+ <a href="#M000098" class="method-signature">
711
+ <span class="method-name">grep</span><span class="method-args">(string)</span>
712
+ </a>
713
+ </div>
714
+
715
+ <div class="method-description">
716
+ <p><a class="source-toggle" href="#"
717
+ onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
718
+ <div class="method-source-code" id="M000098-source">
719
+ <pre>
720
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 153</span>
721
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">grep</span>(<span class="ruby-identifier">string</span>)
722
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">object</span>(<span class="ruby-value str">'HEAD'</span>).<span class="ruby-identifier">grep</span>(<span class="ruby-identifier">string</span>)
723
+ <span class="ruby-keyword kw">end</span>
724
+ </pre>
725
+ </div>
726
+ </div>
727
+ </div>
728
+
729
+ <div id="method-M000089" class="method-detail">
730
+ <a name="M000089"></a>
731
+
732
+ <div class="method-heading">
733
+ <span class="method-name">gtree</span><span class="method-args">(objectish)</span>
734
+ </div>
735
+
736
+ <div class="method-description">
737
+ <p>
738
+ Alias for <a href="Base.html#M000088">object</a>
739
+ </p>
740
+ </div>
741
+ </div>
742
+
743
+ <div id="method-M000084" class="method-detail">
744
+ <a name="M000084"></a>
745
+
746
+ <div class="method-heading">
747
+ <a href="#M000084" class="method-signature">
748
+ <span class="method-name">index</span><span class="method-args">()</span>
749
+ </a>
750
+ </div>
751
+
752
+ <div class="method-description">
753
+ <p><a class="source-toggle" href="#"
754
+ onclick="toggleCode('M000084-source');return false;">[Source]</a></p>
755
+ <div class="method-source-code" id="M000084-source">
756
+ <pre>
757
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 83</span>
758
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">index</span>
759
+ <span class="ruby-ivar">@index</span>
760
+ <span class="ruby-keyword kw">end</span>
761
+ </pre>
762
+ </div>
763
+ </div>
764
+ </div>
765
+
766
+ <div id="method-M000097" class="method-detail">
767
+ <a name="M000097"></a>
768
+
769
+ <div class="method-heading">
770
+ <a href="#M000097" class="method-signature">
771
+ <span class="method-name">lib</span><span class="method-args">()</span>
772
+ </a>
773
+ </div>
774
+
775
+ <div class="method-description">
776
+ <p><a class="source-toggle" href="#"
777
+ onclick="toggleCode('M000097-source');return false;">[Source]</a></p>
778
+ <div class="method-source-code" id="M000097-source">
779
+ <pre>
780
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 149</span>
781
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">lib</span>
782
+ <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Lib</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>)
783
+ <span class="ruby-keyword kw">end</span>
784
+ </pre>
785
+ </div>
786
+ </div>
787
+ </div>
788
+
789
+ <div id="method-M000092" class="method-detail">
790
+ <a name="M000092"></a>
791
+
792
+ <div class="method-heading">
793
+ <a href="#M000092" class="method-signature">
794
+ <span class="method-name">log</span><span class="method-args">(count = 30)</span>
795
+ </a>
796
+ </div>
797
+
798
+ <div class="method-description">
799
+ <p><a class="source-toggle" href="#"
800
+ onclick="toggleCode('M000092-source');return false;">[Source]</a></p>
801
+ <div class="method-source-code" id="M000092-source">
802
+ <pre>
803
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 128</span>
804
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">log</span>(<span class="ruby-identifier">count</span> = <span class="ruby-value">30</span>)
805
+ <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Log</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">count</span>)
806
+ <span class="ruby-keyword kw">end</span>
807
+ </pre>
808
+ </div>
809
+ </div>
810
+ </div>
811
+
812
+ <div id="method-M000109" class="method-detail">
813
+ <a name="M000109"></a>
814
+
815
+ <div class="method-heading">
816
+ <a href="#M000109" class="method-signature">
817
+ <span class="method-name">merge</span><span class="method-args">(branch, message = 'merge')</span>
818
+ </a>
819
+ </div>
820
+
821
+ <div class="method-description">
822
+ <p><a class="source-toggle" href="#"
823
+ onclick="toggleCode('M000109-source');return false;">[Source]</a></p>
824
+ <div class="method-source-code" id="M000109-source">
825
+ <pre>
826
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 200</span>
827
+ <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-value str">'merge'</span>)
828
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">branch</span>, <span class="ruby-identifier">message</span>)
829
+ <span class="ruby-keyword kw">end</span>
830
+ </pre>
831
+ </div>
832
+ </div>
833
+ </div>
834
+
835
+ <div id="method-M000088" class="method-detail">
836
+ <a name="M000088"></a>
837
+
838
+ <div class="method-heading">
839
+ <a href="#M000088" class="method-signature">
840
+ <span class="method-name">object</span><span class="method-args">(objectish)</span>
841
+ </a>
842
+ </div>
843
+
844
+ <div class="method-description">
845
+ <p>
846
+ factory methods
847
+ </p>
848
+ <p><a class="source-toggle" href="#"
849
+ onclick="toggleCode('M000088-source');return false;">[Source]</a></p>
850
+ <div class="method-source-code" id="M000088-source">
851
+ <pre>
852
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 120</span>
853
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">object</span>(<span class="ruby-identifier">objectish</span>)
854
+ <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Object</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">objectish</span>)
855
+ <span class="ruby-keyword kw">end</span>
856
+ </pre>
857
+ </div>
858
+ </div>
859
+ </div>
860
+
861
+ <div id="method-M000110" class="method-detail">
862
+ <a name="M000110"></a>
863
+
864
+ <div class="method-heading">
865
+ <a href="#M000110" class="method-signature">
866
+ <span class="method-name">pull</span><span class="method-args">(remote = 'origin', branch = 'master', message = 'origin pull')</span>
867
+ </a>
868
+ </div>
869
+
870
+ <div class="method-description">
871
+ <p><a class="source-toggle" href="#"
872
+ onclick="toggleCode('M000110-source');return false;">[Source]</a></p>
873
+ <div class="method-source-code" id="M000110-source">
874
+ <pre>
875
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 204</span>
876
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pull</span>(<span class="ruby-identifier">remote</span> = <span class="ruby-value str">'origin'</span>, <span class="ruby-identifier">branch</span> = <span class="ruby-value str">'master'</span>, <span class="ruby-identifier">message</span> = <span class="ruby-value str">'origin pull'</span>)
877
+ <span class="ruby-identifier">fetch</span>(<span class="ruby-identifier">remote</span>)
878
+ <span class="ruby-identifier">merge</span>(<span class="ruby-identifier">branch</span>, <span class="ruby-identifier">message</span>)
879
+ <span class="ruby-keyword kw">end</span>
880
+ </pre>
881
+ </div>
882
+ </div>
883
+ </div>
884
+
885
+ <div id="method-M000108" class="method-detail">
886
+ <a name="M000108"></a>
887
+
888
+ <div class="method-heading">
889
+ <a href="#M000108" class="method-signature">
890
+ <span class="method-name">push</span><span class="method-args">(remote = 'origin', branch = 'master')</span>
891
+ </a>
892
+ </div>
893
+
894
+ <div class="method-description">
895
+ <p><a class="source-toggle" href="#"
896
+ onclick="toggleCode('M000108-source');return false;">[Source]</a></p>
897
+ <div class="method-source-code" id="M000108-source">
898
+ <pre>
899
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 196</span>
900
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span>(<span class="ruby-identifier">remote</span> = <span class="ruby-value str">'origin'</span>, <span class="ruby-identifier">branch</span> = <span class="ruby-value str">'master'</span>)
901
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">remote</span>, <span class="ruby-identifier">branch</span>)
902
+ <span class="ruby-keyword kw">end</span>
903
+ </pre>
904
+ </div>
905
+ </div>
906
+ </div>
907
+
908
+ <div id="method-M000096" class="method-detail">
909
+ <a name="M000096"></a>
910
+
911
+ <div class="method-heading">
912
+ <a href="#M000096" class="method-signature">
913
+ <span class="method-name">remote</span><span class="method-args">(remote_name = 'origin')</span>
914
+ </a>
915
+ </div>
916
+
917
+ <div class="method-description">
918
+ <p><a class="source-toggle" href="#"
919
+ onclick="toggleCode('M000096-source');return false;">[Source]</a></p>
920
+ <div class="method-source-code" id="M000096-source">
921
+ <pre>
922
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 144</span>
923
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remote</span>(<span class="ruby-identifier">remote_name</span> = <span class="ruby-value str">'origin'</span>)
924
+ <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Remote</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">remote_name</span>)
925
+ <span class="ruby-keyword kw">end</span>
926
+ </pre>
927
+ </div>
928
+ </div>
929
+ </div>
930
+
931
+ <div id="method-M000111" class="method-detail">
932
+ <a name="M000111"></a>
933
+
934
+ <div class="method-heading">
935
+ <a href="#M000111" class="method-signature">
936
+ <span class="method-name">remotes</span><span class="method-args">()</span>
937
+ </a>
938
+ </div>
939
+
940
+ <div class="method-description">
941
+ <p><a class="source-toggle" href="#"
942
+ onclick="toggleCode('M000111-source');return false;">[Source]</a></p>
943
+ <div class="method-source-code" id="M000111-source">
944
+ <pre>
945
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 209</span>
946
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remotes</span>
947
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">remotes</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span> <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Remote</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">r</span>) }
948
+ <span class="ruby-keyword kw">end</span>
949
+ </pre>
950
+ </div>
951
+ </div>
952
+ </div>
953
+
954
+ <div id="method-M000101" class="method-detail">
955
+ <a name="M000101"></a>
956
+
957
+ <div class="method-heading">
958
+ <a href="#M000101" class="method-signature">
959
+ <span class="method-name">remove</span><span class="method-args">(path = '.', opts = {})</span>
960
+ </a>
961
+ </div>
962
+
963
+ <div class="method-description">
964
+ <p><a class="source-toggle" href="#"
965
+ onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
966
+ <div class="method-source-code" id="M000101-source">
967
+ <pre>
968
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 166</span>
969
+ <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> = {})
970
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">remove</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">opts</span>)
971
+ <span class="ruby-keyword kw">end</span>
972
+ </pre>
973
+ </div>
974
+ </div>
975
+ </div>
976
+
977
+ <div id="method-M000116" class="method-detail">
978
+ <a name="M000116"></a>
979
+
980
+ <div class="method-heading">
981
+ <a href="#M000116" class="method-signature">
982
+ <span class="method-name">repack</span><span class="method-args">()</span>
983
+ </a>
984
+ </div>
985
+
986
+ <div class="method-description">
987
+ <p>
988
+ convenience methods
989
+ </p>
990
+ <p><a class="source-toggle" href="#"
991
+ onclick="toggleCode('M000116-source');return false;">[Source]</a></p>
992
+ <div class="method-source-code" id="M000116-source">
993
+ <pre>
994
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 236</span>
995
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">repack</span>
996
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">repack</span>
997
+ <span class="ruby-keyword kw">end</span>
998
+ </pre>
999
+ </div>
1000
+ </div>
1001
+ </div>
1002
+
1003
+ <div id="method-M000083" class="method-detail">
1004
+ <a name="M000083"></a>
1005
+
1006
+ <div class="method-heading">
1007
+ <a href="#M000083" class="method-signature">
1008
+ <span class="method-name">repo</span><span class="method-args">()</span>
1009
+ </a>
1010
+ </div>
1011
+
1012
+ <div class="method-description">
1013
+ <p><a class="source-toggle" href="#"
1014
+ onclick="toggleCode('M000083-source');return false;">[Source]</a></p>
1015
+ <div class="method-source-code" id="M000083-source">
1016
+ <pre>
1017
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 79</span>
1018
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">repo</span>
1019
+ <span class="ruby-ivar">@repository</span>
1020
+ <span class="ruby-keyword kw">end</span>
1021
+ </pre>
1022
+ </div>
1023
+ </div>
1024
+ </div>
1025
+
1026
+ <div id="method-M000086" class="method-detail">
1027
+ <a name="M000086"></a>
1028
+
1029
+ <div class="method-heading">
1030
+ <a href="#M000086" class="method-signature">
1031
+ <span class="method-name">repo_size</span><span class="method-args">()</span>
1032
+ </a>
1033
+ </div>
1034
+
1035
+ <div class="method-description">
1036
+ <p><a class="source-toggle" href="#"
1037
+ onclick="toggleCode('M000086-source');return false;">[Source]</a></p>
1038
+ <div class="method-source-code" id="M000086-source">
1039
+ <pre>
1040
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 93</span>
1041
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">repo_size</span>
1042
+ <span class="ruby-identifier">size</span> = <span class="ruby-value">0</span>
1043
+ <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">chdir</span>(<span class="ruby-identifier">repo</span>.<span class="ruby-identifier">path</span>) <span class="ruby-keyword kw">do</span>
1044
+ (<span class="ruby-identifier">size</span>, <span class="ruby-identifier">dot</span>) = <span class="ruby-value">`du -d0`</span>.<span class="ruby-identifier">chomp</span>.<span class="ruby-identifier">split</span>
1045
+ <span class="ruby-keyword kw">end</span>
1046
+ <span class="ruby-identifier">size</span>.<span class="ruby-identifier">to_i</span>
1047
+ <span class="ruby-keyword kw">end</span>
1048
+ </pre>
1049
+ </div>
1050
+ </div>
1051
+ </div>
1052
+
1053
+ <div id="method-M000102" class="method-detail">
1054
+ <a name="M000102"></a>
1055
+
1056
+ <div class="method-heading">
1057
+ <a href="#M000102" class="method-signature">
1058
+ <span class="method-name">reset</span><span class="method-args">(commitish = nil, opts = {})</span>
1059
+ </a>
1060
+ </div>
1061
+
1062
+ <div class="method-description">
1063
+ <p><a class="source-toggle" href="#"
1064
+ onclick="toggleCode('M000102-source');return false;">[Source]</a></p>
1065
+ <div class="method-source-code" id="M000102-source">
1066
+ <pre>
1067
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 170</span>
1068
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset</span>(<span class="ruby-identifier">commitish</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">opts</span> = {})
1069
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">reset</span>(<span class="ruby-identifier">commitish</span>, <span class="ruby-identifier">opts</span>)
1070
+ <span class="ruby-keyword kw">end</span>
1071
+ </pre>
1072
+ </div>
1073
+ </div>
1074
+ </div>
1075
+
1076
+ <div id="method-M000103" class="method-detail">
1077
+ <a name="M000103"></a>
1078
+
1079
+ <div class="method-heading">
1080
+ <a href="#M000103" class="method-signature">
1081
+ <span class="method-name">reset_hard</span><span class="method-args">(commitish = nil, opts = {})</span>
1082
+ </a>
1083
+ </div>
1084
+
1085
+ <div class="method-description">
1086
+ <p><a class="source-toggle" href="#"
1087
+ onclick="toggleCode('M000103-source');return false;">[Source]</a></p>
1088
+ <div class="method-source-code" id="M000103-source">
1089
+ <pre>
1090
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 174</span>
1091
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset_hard</span>(<span class="ruby-identifier">commitish</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">opts</span> = {})
1092
+ <span class="ruby-identifier">opts</span> = {<span class="ruby-identifier">:hard</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>}.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">opts</span>)
1093
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">reset</span>(<span class="ruby-identifier">commitish</span>, <span class="ruby-identifier">opts</span>)
1094
+ <span class="ruby-keyword kw">end</span>
1095
+ </pre>
1096
+ </div>
1097
+ </div>
1098
+ </div>
1099
+
1100
+ <div id="method-M000117" class="method-detail">
1101
+ <a name="M000117"></a>
1102
+
1103
+ <div class="method-heading">
1104
+ <a href="#M000117" class="method-signature">
1105
+ <span class="method-name">revparse</span><span class="method-args">(objectish)</span>
1106
+ </a>
1107
+ </div>
1108
+
1109
+ <div class="method-description">
1110
+ <p><a class="source-toggle" href="#"
1111
+ onclick="toggleCode('M000117-source');return false;">[Source]</a></p>
1112
+ <div class="method-source-code" id="M000117-source">
1113
+ <pre>
1114
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 240</span>
1115
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">revparse</span>(<span class="ruby-identifier">objectish</span>)
1116
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">revparse</span>(<span class="ruby-identifier">objectish</span>)
1117
+ <span class="ruby-keyword kw">end</span>
1118
+ </pre>
1119
+ </div>
1120
+ </div>
1121
+ </div>
1122
+
1123
+ <div id="method-M000093" class="method-detail">
1124
+ <a name="M000093"></a>
1125
+
1126
+ <div class="method-heading">
1127
+ <a href="#M000093" class="method-signature">
1128
+ <span class="method-name">status</span><span class="method-args">()</span>
1129
+ </a>
1130
+ </div>
1131
+
1132
+ <div class="method-description">
1133
+ <p><a class="source-toggle" href="#"
1134
+ onclick="toggleCode('M000093-source');return false;">[Source]</a></p>
1135
+ <div class="method-source-code" id="M000093-source">
1136
+ <pre>
1137
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 132</span>
1138
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">status</span>
1139
+ <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Status</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>)
1140
+ <span class="ruby-keyword kw">end</span>
1141
+ </pre>
1142
+ </div>
1143
+ </div>
1144
+ </div>
1145
+
1146
+ <div id="method-M000114" class="method-detail">
1147
+ <a name="M000114"></a>
1148
+
1149
+ <div class="method-heading">
1150
+ <a href="#M000114" class="method-signature">
1151
+ <span class="method-name">tag</span><span class="method-args">(tag_name)</span>
1152
+ </a>
1153
+ </div>
1154
+
1155
+ <div class="method-description">
1156
+ <p><a class="source-toggle" href="#"
1157
+ onclick="toggleCode('M000114-source');return false;">[Source]</a></p>
1158
+ <div class="method-source-code" id="M000114-source">
1159
+ <pre>
1160
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 225</span>
1161
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tag</span>(<span class="ruby-identifier">tag_name</span>)
1162
+ <span class="ruby-constant">Git</span><span class="ruby-operator">::</span><span class="ruby-constant">Object</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">tag_name</span>, <span class="ruby-keyword kw">true</span>)
1163
+ <span class="ruby-keyword kw">end</span>
1164
+ </pre>
1165
+ </div>
1166
+ </div>
1167
+ </div>
1168
+
1169
+ <div id="method-M000113" class="method-detail">
1170
+ <a name="M000113"></a>
1171
+
1172
+ <div class="method-heading">
1173
+ <a href="#M000113" class="method-signature">
1174
+ <span class="method-name">tags</span><span class="method-args">()</span>
1175
+ </a>
1176
+ </div>
1177
+
1178
+ <div class="method-description">
1179
+ <p><a class="source-toggle" href="#"
1180
+ onclick="toggleCode('M000113-source');return false;">[Source]</a></p>
1181
+ <div class="method-source-code" id="M000113-source">
1182
+ <pre>
1183
+ <span class="ruby-comment cmt"># File lib/git/base.rb, line 221</span>
1184
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tags</span>
1185
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">lib</span>.<span class="ruby-identifier">tags</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span> <span class="ruby-identifier">tag</span>(<span class="ruby-identifier">r</span>) }
1186
+ <span class="ruby-keyword kw">end</span>
1187
+ </pre>
1188
+ </div>
1189
+ </div>
1190
+ </div>
1191
+
1192
+
1193
+ </div>
1194
+
1195
+
1196
+ </div>
1197
+
1198
+
1199
+ <div id="validator-badges">
1200
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
1201
+ </div>
1202
+
1203
+ </body>
1204
+ </html>