@statewalker/vcs-commands 0.8.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (622) hide show
  1. package/README.md +1 -1
  2. package/dist/commands/add-command.d.ts +32 -0
  3. package/dist/commands/add-command.d.ts.map +1 -1
  4. package/dist/commands/add-patch/add-patch.d.ts +7 -0
  5. package/dist/commands/add-patch/add-patch.d.ts.map +1 -1
  6. package/dist/commands/add-patch/patch-backend.d.ts +2 -0
  7. package/dist/commands/add-patch/patch-backend.d.ts.map +1 -1
  8. package/dist/commands/add-patch/patch-modes.d.ts +6 -2
  9. package/dist/commands/add-patch/patch-modes.d.ts.map +1 -1
  10. package/dist/commands/add-patch/patch-session.d.ts +4 -0
  11. package/dist/commands/add-patch/patch-session.d.ts.map +1 -1
  12. package/dist/commands/am/am-command.d.ts +88 -2
  13. package/dist/commands/am/am-command.d.ts.map +1 -1
  14. package/dist/commands/apply/apply-command.d.ts +2 -0
  15. package/dist/commands/apply/apply-command.d.ts.map +1 -1
  16. package/dist/commands/apply/apply-parse.d.ts +7 -0
  17. package/dist/commands/apply/apply-parse.d.ts.map +1 -1
  18. package/dist/commands/apply/index.d.ts +1 -1
  19. package/dist/commands/apply/index.d.ts.map +1 -1
  20. package/dist/commands/archive/archive-command.d.ts +169 -0
  21. package/dist/commands/archive/archive-command.d.ts.map +1 -0
  22. package/dist/commands/archive/archive-entry.d.ts +60 -0
  23. package/dist/commands/archive/archive-entry.d.ts.map +1 -0
  24. package/dist/commands/archive/index.d.ts +8 -0
  25. package/dist/commands/archive/index.d.ts.map +1 -0
  26. package/dist/commands/archive/remote-archive-command.d.ts +56 -0
  27. package/dist/commands/archive/remote-archive-command.d.ts.map +1 -0
  28. package/dist/commands/archive/tar-archive.d.ts +31 -0
  29. package/dist/commands/archive/tar-archive.d.ts.map +1 -0
  30. package/dist/commands/archive/tar-commit-id.d.ts +13 -0
  31. package/dist/commands/archive/tar-commit-id.d.ts.map +1 -0
  32. package/dist/commands/archive/upload-archive-writer.d.ts +48 -0
  33. package/dist/commands/archive/upload-archive-writer.d.ts.map +1 -0
  34. package/dist/commands/archive/zip-archive.d.ts +42 -0
  35. package/dist/commands/archive/zip-archive.d.ts.map +1 -0
  36. package/dist/commands/attributes-source.d.ts +10 -0
  37. package/dist/commands/attributes-source.d.ts.map +1 -1
  38. package/dist/commands/blame-command.d.ts +345 -8
  39. package/dist/commands/blame-command.d.ts.map +1 -1
  40. package/dist/commands/blame-ignore.d.ts +48 -0
  41. package/dist/commands/blame-ignore.d.ts.map +1 -0
  42. package/dist/commands/bundle/bundle-create-command.d.ts +67 -0
  43. package/dist/commands/bundle/bundle-create-command.d.ts.map +1 -0
  44. package/dist/commands/bundle/bundle-format.d.ts +89 -0
  45. package/dist/commands/bundle/bundle-format.d.ts.map +1 -0
  46. package/dist/commands/bundle/bundle-list.d.ts +92 -0
  47. package/dist/commands/bundle/bundle-list.d.ts.map +1 -0
  48. package/dist/commands/bundle/bundle-read-commands.d.ts +81 -0
  49. package/dist/commands/bundle/bundle-read-commands.d.ts.map +1 -0
  50. package/dist/commands/bundle/bundle-support.d.ts +32 -0
  51. package/dist/commands/bundle/bundle-support.d.ts.map +1 -0
  52. package/dist/commands/bundle/bundle-transport.d.ts +38 -0
  53. package/dist/commands/bundle/bundle-transport.d.ts.map +1 -0
  54. package/dist/commands/bundle/bundle-uri-host.d.ts +43 -0
  55. package/dist/commands/bundle/bundle-uri-host.d.ts.map +1 -0
  56. package/dist/commands/bundle/bundle-uri.d.ts +55 -0
  57. package/dist/commands/bundle/bundle-uri.d.ts.map +1 -0
  58. package/dist/commands/bundle/bundle-verify.d.ts +63 -0
  59. package/dist/commands/bundle/bundle-verify.d.ts.map +1 -0
  60. package/dist/commands/bundle/index.d.ts +14 -0
  61. package/dist/commands/bundle/index.d.ts.map +1 -0
  62. package/dist/commands/cat-file/batch-format.d.ts +58 -0
  63. package/dist/commands/cat-file/batch-format.d.ts.map +1 -0
  64. package/dist/commands/cat-file/cat-file-command.d.ts +135 -0
  65. package/dist/commands/cat-file/cat-file-command.d.ts.map +1 -0
  66. package/dist/commands/cat-file/index.d.ts +3 -0
  67. package/dist/commands/cat-file/index.d.ts.map +1 -0
  68. package/dist/commands/check-attr-command.d.ts +66 -0
  69. package/dist/commands/check-attr-command.d.ts.map +1 -0
  70. package/dist/commands/check-ignore-command.d.ts +58 -0
  71. package/dist/commands/check-ignore-command.d.ts.map +1 -0
  72. package/dist/commands/check-mailmap-command.d.ts +49 -0
  73. package/dist/commands/check-mailmap-command.d.ts.map +1 -0
  74. package/dist/commands/check-ref-format-command.d.ts +60 -0
  75. package/dist/commands/check-ref-format-command.d.ts.map +1 -0
  76. package/dist/commands/checkout-command.d.ts +7 -0
  77. package/dist/commands/checkout-command.d.ts.map +1 -1
  78. package/dist/commands/checkout-index-command.d.ts +96 -0
  79. package/dist/commands/checkout-index-command.d.ts.map +1 -0
  80. package/dist/commands/checkout-paths.d.ts +4 -0
  81. package/dist/commands/checkout-paths.d.ts.map +1 -1
  82. package/dist/commands/cherry-command.d.ts +61 -0
  83. package/dist/commands/cherry-command.d.ts.map +1 -0
  84. package/dist/commands/cherry-pick-command.d.ts +33 -1
  85. package/dist/commands/cherry-pick-command.d.ts.map +1 -1
  86. package/dist/commands/clean-command.d.ts +32 -0
  87. package/dist/commands/clean-command.d.ts.map +1 -1
  88. package/dist/commands/clean-interactive.d.ts +56 -0
  89. package/dist/commands/clean-interactive.d.ts.map +1 -0
  90. package/dist/commands/clone-command.d.ts +135 -2
  91. package/dist/commands/clone-command.d.ts.map +1 -1
  92. package/dist/commands/commit-command.d.ts +59 -3
  93. package/dist/commands/commit-command.d.ts.map +1 -1
  94. package/dist/commands/config-command.d.ts +2 -0
  95. package/dist/commands/config-command.d.ts.map +1 -1
  96. package/dist/commands/daemon-access-hook.d.ts +36 -0
  97. package/dist/commands/daemon-access-hook.d.ts.map +1 -0
  98. package/dist/commands/default-branch.d.ts +42 -0
  99. package/dist/commands/default-branch.d.ts.map +1 -1
  100. package/dist/commands/describe-command.d.ts +71 -64
  101. package/dist/commands/describe-command.d.ts.map +1 -1
  102. package/dist/commands/diff-command.d.ts +249 -10
  103. package/dist/commands/diff-command.d.ts.map +1 -1
  104. package/dist/commands/diff-external.d.ts +43 -0
  105. package/dist/commands/diff-external.d.ts.map +1 -0
  106. package/dist/commands/diff-plumbing/diff-pairs-command.d.ts +27 -0
  107. package/dist/commands/diff-plumbing/diff-pairs-command.d.ts.map +1 -0
  108. package/dist/commands/diff-plumbing/diff-plumbing-command.d.ts +129 -0
  109. package/dist/commands/diff-plumbing/diff-plumbing-command.d.ts.map +1 -0
  110. package/dist/commands/diff-plumbing/index.d.ts +3 -0
  111. package/dist/commands/diff-plumbing/index.d.ts.map +1 -0
  112. package/dist/commands/diff-textconv.d.ts +5 -1
  113. package/dist/commands/diff-textconv.d.ts.map +1 -1
  114. package/dist/commands/fast-export/fast-export-command.d.ts +135 -0
  115. package/dist/commands/fast-export/fast-export-command.d.ts.map +1 -0
  116. package/dist/commands/fast-export/fast-import-command.d.ts +182 -0
  117. package/dist/commands/fast-export/fast-import-command.d.ts.map +1 -0
  118. package/dist/commands/fast-export/fast-stream-support.d.ts +64 -0
  119. package/dist/commands/fast-export/fast-stream-support.d.ts.map +1 -0
  120. package/dist/commands/fast-export/index.d.ts +4 -0
  121. package/dist/commands/fast-export/index.d.ts.map +1 -0
  122. package/dist/commands/fetch-command.d.ts +125 -0
  123. package/dist/commands/fetch-command.d.ts.map +1 -1
  124. package/dist/commands/fetch-multiple-command.d.ts +193 -0
  125. package/dist/commands/fetch-multiple-command.d.ts.map +1 -0
  126. package/dist/commands/format-patch-command.d.ts +28 -2
  127. package/dist/commands/format-patch-command.d.ts.map +1 -1
  128. package/dist/commands/format-rev-command.d.ts +58 -0
  129. package/dist/commands/format-rev-command.d.ts.map +1 -0
  130. package/dist/commands/fsck/fsck-command.d.ts.map +1 -1
  131. package/dist/commands/fsck/fsck-msg-ids.d.ts +18 -3
  132. package/dist/commands/fsck/fsck-msg-ids.d.ts.map +1 -1
  133. package/dist/commands/fsmonitor-refresh.d.ts +69 -0
  134. package/dist/commands/fsmonitor-refresh.d.ts.map +1 -0
  135. package/dist/commands/gc-command.d.ts +5 -0
  136. package/dist/commands/gc-command.d.ts.map +1 -1
  137. package/dist/commands/git-describe.d.ts +77 -4
  138. package/dist/commands/git-describe.d.ts.map +1 -1
  139. package/dist/commands/git-hooks.d.ts +47 -1
  140. package/dist/commands/git-hooks.d.ts.map +1 -1
  141. package/dist/commands/git-paths.d.ts +26 -0
  142. package/dist/commands/git-paths.d.ts.map +1 -0
  143. package/dist/commands/grep/grep-command.d.ts +2 -1
  144. package/dist/commands/grep/grep-command.d.ts.map +1 -1
  145. package/dist/commands/history-command.d.ts +156 -0
  146. package/dist/commands/history-command.d.ts.map +1 -0
  147. package/dist/commands/http-config.d.ts +38 -0
  148. package/dist/commands/http-config.d.ts.map +1 -0
  149. package/dist/commands/index-adder.d.ts +12 -1
  150. package/dist/commands/index-adder.d.ts.map +1 -1
  151. package/dist/commands/index-host.d.ts.map +1 -1
  152. package/dist/commands/index.d.ts +56 -1
  153. package/dist/commands/index.d.ts.map +1 -1
  154. package/dist/commands/index.js +6 -3
  155. package/dist/commands/init-command.d.ts +89 -0
  156. package/dist/commands/init-command.d.ts.map +1 -1
  157. package/dist/commands/last-modified-command.d.ts +102 -0
  158. package/dist/commands/last-modified-command.d.ts.map +1 -0
  159. package/dist/commands/lfs/go-url.d.ts +43 -0
  160. package/dist/commands/lfs/go-url.d.ts.map +1 -0
  161. package/dist/commands/lfs/index.d.ts +3 -0
  162. package/dist/commands/lfs/index.d.ts.map +1 -0
  163. package/dist/commands/lfs/lfs-config.d.ts +174 -0
  164. package/dist/commands/lfs/lfs-config.d.ts.map +1 -0
  165. package/dist/commands/lfs/lfs-endpoint-command.d.ts +83 -0
  166. package/dist/commands/lfs/lfs-endpoint-command.d.ts.map +1 -0
  167. package/dist/commands/line-log.d.ts +161 -0
  168. package/dist/commands/line-log.d.ts.map +1 -0
  169. package/dist/commands/local-transport.d.ts.map +1 -1
  170. package/dist/commands/log-command.d.ts +261 -6
  171. package/dist/commands/log-command.d.ts.map +1 -1
  172. package/dist/commands/log-graph.d.ts +4 -2
  173. package/dist/commands/log-graph.d.ts.map +1 -1
  174. package/dist/commands/log-output.d.ts +88 -2
  175. package/dist/commands/log-output.d.ts.map +1 -1
  176. package/dist/commands/ls-files-command.d.ts +153 -0
  177. package/dist/commands/ls-files-command.d.ts.map +1 -0
  178. package/dist/commands/ls-remote-command.d.ts +5 -0
  179. package/dist/commands/ls-remote-command.d.ts.map +1 -1
  180. package/dist/commands/ls-tree-command.d.ts +105 -0
  181. package/dist/commands/ls-tree-command.d.ts.map +1 -0
  182. package/dist/commands/mailmap.d.ts +24 -1
  183. package/dist/commands/mailmap.d.ts.map +1 -1
  184. package/dist/commands/maintenance-run-command.d.ts +122 -0
  185. package/dist/commands/maintenance-run-command.d.ts.map +1 -0
  186. package/dist/commands/merge-command.d.ts +58 -1
  187. package/dist/commands/merge-command.d.ts.map +1 -1
  188. package/dist/commands/merge-config.d.ts +7 -0
  189. package/dist/commands/merge-config.d.ts.map +1 -1
  190. package/dist/commands/merge-drivers.d.ts +69 -5
  191. package/dist/commands/merge-drivers.d.ts.map +1 -1
  192. package/dist/commands/merge-strategy-options.d.ts +69 -0
  193. package/dist/commands/merge-strategy-options.d.ts.map +1 -0
  194. package/dist/commands/merge-support.d.ts +16 -0
  195. package/dist/commands/merge-support.d.ts.map +1 -1
  196. package/dist/commands/merge-tree-command.d.ts +122 -0
  197. package/dist/commands/merge-tree-command.d.ts.map +1 -0
  198. package/dist/commands/message-cleanup.d.ts +2 -0
  199. package/dist/commands/message-cleanup.d.ts.map +1 -1
  200. package/dist/commands/mktag-command.d.ts +51 -0
  201. package/dist/commands/mktag-command.d.ts.map +1 -0
  202. package/dist/commands/name-rev-command.d.ts +65 -0
  203. package/dist/commands/name-rev-command.d.ts.map +1 -0
  204. package/dist/commands/name-rev.d.ts +110 -22
  205. package/dist/commands/name-rev.d.ts.map +1 -1
  206. package/dist/commands/object-store/count-objects-command.d.ts +58 -0
  207. package/dist/commands/object-store/count-objects-command.d.ts.map +1 -0
  208. package/dist/commands/object-store/index.d.ts +5 -0
  209. package/dist/commands/object-store/index.d.ts.map +1 -0
  210. package/dist/commands/object-store/objects-directory.d.ts +12 -0
  211. package/dist/commands/object-store/objects-directory.d.ts.map +1 -0
  212. package/dist/commands/object-store/prune-command.d.ts +38 -0
  213. package/dist/commands/object-store/prune-command.d.ts.map +1 -0
  214. package/dist/commands/object-store/show-index-command.d.ts +23 -0
  215. package/dist/commands/object-store/show-index-command.d.ts.map +1 -0
  216. package/dist/commands/octopus-merge.d.ts +26 -1
  217. package/dist/commands/octopus-merge.d.ts.map +1 -1
  218. package/dist/commands/ort-merge.d.ts +40 -0
  219. package/dist/commands/ort-merge.d.ts.map +1 -1
  220. package/dist/commands/ort-recursive.d.ts.map +1 -1
  221. package/dist/commands/patch-id-command.d.ts +30 -0
  222. package/dist/commands/patch-id-command.d.ts.map +1 -0
  223. package/dist/commands/patch-id.d.ts +82 -0
  224. package/dist/commands/patch-id.d.ts.map +1 -1
  225. package/dist/commands/plumbing-command.d.ts +66 -0
  226. package/dist/commands/plumbing-command.d.ts.map +1 -0
  227. package/dist/commands/plumbing-input.d.ts +38 -0
  228. package/dist/commands/plumbing-input.d.ts.map +1 -0
  229. package/dist/commands/promisor-remote-reply.d.ts +35 -0
  230. package/dist/commands/promisor-remote-reply.d.ts.map +1 -0
  231. package/dist/commands/promisor-remote.d.ts.map +1 -1
  232. package/dist/commands/pull-command.d.ts +182 -38
  233. package/dist/commands/pull-command.d.ts.map +1 -1
  234. package/dist/commands/push-command.d.ts +82 -2
  235. package/dist/commands/push-command.d.ts.map +1 -1
  236. package/dist/commands/range-diff/index.d.ts +4 -0
  237. package/dist/commands/range-diff/index.d.ts.map +1 -0
  238. package/dist/commands/range-diff/linear-assignment.d.ts +27 -0
  239. package/dist/commands/range-diff/linear-assignment.d.ts.map +1 -0
  240. package/dist/commands/range-diff/range-diff-command.d.ts +121 -0
  241. package/dist/commands/range-diff/range-diff-command.d.ts.map +1 -0
  242. package/dist/commands/range-diff/range-diff.d.ts +106 -0
  243. package/dist/commands/range-diff/range-diff.d.ts.map +1 -0
  244. package/dist/commands/read-tree-command.d.ts +14 -0
  245. package/dist/commands/read-tree-command.d.ts.map +1 -1
  246. package/dist/commands/rebase-command.d.ts +129 -4
  247. package/dist/commands/rebase-command.d.ts.map +1 -1
  248. package/dist/commands/refs-command.d.ts +81 -0
  249. package/dist/commands/refs-command.d.ts.map +1 -0
  250. package/dist/commands/remerge-diff.d.ts +59 -0
  251. package/dist/commands/remerge-diff.d.ts.map +1 -0
  252. package/dist/commands/remote-command.d.ts +41 -0
  253. package/dist/commands/remote-command.d.ts.map +1 -1
  254. package/dist/commands/remote-object-info-command.d.ts +55 -0
  255. package/dist/commands/remote-object-info-command.d.ts.map +1 -0
  256. package/dist/commands/remote-show-command.d.ts +204 -0
  257. package/dist/commands/remote-show-command.d.ts.map +1 -0
  258. package/dist/commands/remote-transport.d.ts +40 -3
  259. package/dist/commands/remote-transport.d.ts.map +1 -1
  260. package/dist/commands/repack-command.d.ts +115 -0
  261. package/dist/commands/repack-command.d.ts.map +1 -0
  262. package/dist/commands/replace-command.d.ts +143 -0
  263. package/dist/commands/replace-command.d.ts.map +1 -0
  264. package/dist/commands/replay-command.d.ts +117 -0
  265. package/dist/commands/replay-command.d.ts.map +1 -0
  266. package/dist/commands/repo-command.d.ts +136 -0
  267. package/dist/commands/repo-command.d.ts.map +1 -0
  268. package/dist/commands/request-pull-command.d.ts +82 -0
  269. package/dist/commands/request-pull-command.d.ts.map +1 -0
  270. package/dist/commands/rerere-command.d.ts +36 -0
  271. package/dist/commands/rerere-command.d.ts.map +1 -0
  272. package/dist/commands/rerere.d.ts +102 -0
  273. package/dist/commands/rerere.d.ts.map +1 -0
  274. package/dist/commands/reset-command.d.ts +19 -1
  275. package/dist/commands/reset-command.d.ts.map +1 -1
  276. package/dist/commands/restore-command.d.ts +7 -0
  277. package/dist/commands/restore-command.d.ts.map +1 -1
  278. package/dist/commands/rev-filter/commit-grep.d.ts +3 -1
  279. package/dist/commands/rev-filter/commit-grep.d.ts.map +1 -1
  280. package/dist/commands/rev-list-command.d.ts +78 -3
  281. package/dist/commands/rev-list-command.d.ts.map +1 -1
  282. package/dist/commands/rev-parse-command.d.ts +9 -0
  283. package/dist/commands/rev-parse-command.d.ts.map +1 -1
  284. package/dist/commands/revert-command.d.ts +32 -1
  285. package/dist/commands/revert-command.d.ts.map +1 -1
  286. package/dist/commands/revision-range.d.ts +7 -0
  287. package/dist/commands/revision-range.d.ts.map +1 -1
  288. package/dist/commands/revision-resolver.d.ts +12 -0
  289. package/dist/commands/revision-resolver.d.ts.map +1 -1
  290. package/dist/commands/sequencer-pick.d.ts +120 -1
  291. package/dist/commands/sequencer-pick.d.ts.map +1 -1
  292. package/dist/commands/sequencer-support.d.ts +10 -1
  293. package/dist/commands/sequencer-support.d.ts.map +1 -1
  294. package/dist/commands/serve-repository.d.ts +23 -1
  295. package/dist/commands/serve-repository.d.ts.map +1 -1
  296. package/dist/commands/session-id.d.ts +18 -0
  297. package/dist/commands/session-id.d.ts.map +1 -0
  298. package/dist/commands/shortlog-command.d.ts +109 -0
  299. package/dist/commands/shortlog-command.d.ts.map +1 -0
  300. package/dist/commands/shortlog.d.ts +151 -0
  301. package/dist/commands/shortlog.d.ts.map +1 -0
  302. package/dist/commands/show-branch-command.d.ts +59 -0
  303. package/dist/commands/show-branch-command.d.ts.map +1 -0
  304. package/dist/commands/show-ref-command.d.ts +112 -0
  305. package/dist/commands/show-ref-command.d.ts.map +1 -0
  306. package/dist/commands/signature-check.d.ts +9 -2
  307. package/dist/commands/signature-check.d.ts.map +1 -1
  308. package/dist/commands/signing.d.ts +22 -1
  309. package/dist/commands/signing.d.ts.map +1 -1
  310. package/dist/commands/stash-apply-command.d.ts.map +1 -1
  311. package/dist/commands/stash-export-command.d.ts +115 -0
  312. package/dist/commands/stash-export-command.d.ts.map +1 -0
  313. package/dist/commands/status-command.d.ts +33 -3
  314. package/dist/commands/status-command.d.ts.map +1 -1
  315. package/dist/commands/stripspace-command.d.ts +44 -0
  316. package/dist/commands/stripspace-command.d.ts.map +1 -0
  317. package/dist/commands/submodule-add-command.d.ts +10 -1
  318. package/dist/commands/submodule-add-command.d.ts.map +1 -1
  319. package/dist/commands/submodule-auth.d.ts +3 -1
  320. package/dist/commands/submodule-auth.d.ts.map +1 -1
  321. package/dist/commands/submodule-commands.d.ts +99 -3
  322. package/dist/commands/submodule-commands.d.ts.map +1 -1
  323. package/dist/commands/submodule-fetch.d.ts +149 -0
  324. package/dist/commands/submodule-fetch.d.ts.map +1 -0
  325. package/dist/commands/submodule-model.d.ts +8 -0
  326. package/dist/commands/submodule-model.d.ts.map +1 -1
  327. package/dist/commands/submodule-unpack.d.ts +120 -0
  328. package/dist/commands/submodule-unpack.d.ts.map +1 -0
  329. package/dist/commands/submodule-update-command.d.ts +21 -1
  330. package/dist/commands/submodule-update-command.d.ts.map +1 -1
  331. package/dist/commands/subtree-shift.d.ts +27 -0
  332. package/dist/commands/subtree-shift.d.ts.map +1 -0
  333. package/dist/commands/switch-command.d.ts +3 -0
  334. package/dist/commands/switch-command.d.ts.map +1 -1
  335. package/dist/commands/textconv-cache.d.ts +58 -0
  336. package/dist/commands/textconv-cache.d.ts.map +1 -0
  337. package/dist/commands/tree-restore.d.ts +5 -0
  338. package/dist/commands/tree-restore.d.ts.map +1 -1
  339. package/dist/commands/unpack-objects-command.d.ts +47 -0
  340. package/dist/commands/unpack-objects-command.d.ts.map +1 -0
  341. package/dist/commands/update-index-command.d.ts +110 -0
  342. package/dist/commands/update-index-command.d.ts.map +1 -0
  343. package/dist/commands/uri-protocols.d.ts +13 -0
  344. package/dist/commands/uri-protocols.d.ts.map +1 -0
  345. package/dist/commands/url-parse-command.d.ts +30 -0
  346. package/dist/commands/url-parse-command.d.ts.map +1 -0
  347. package/dist/commands/var-command.d.ts +42 -0
  348. package/dist/commands/var-command.d.ts.map +1 -0
  349. package/dist/commands/worktree-overwrite-checks.d.ts +2 -0
  350. package/dist/commands/worktree-overwrite-checks.d.ts.map +1 -1
  351. package/dist/{commands-ISM52N0n.js → commands-Mlo1dxQN.js} +56133 -70269
  352. package/dist/errors/command-errors.d.ts +58 -0
  353. package/dist/errors/command-errors.d.ts.map +1 -1
  354. package/dist/errors/index.js +67 -1
  355. package/dist/fsck-CrhVMNIH.js +5179 -0
  356. package/dist/git-command.d.ts +89 -3
  357. package/dist/git-command.d.ts.map +1 -1
  358. package/dist/git.d.ts +628 -1
  359. package/dist/git.d.ts.map +1 -1
  360. package/dist/guarded-transport-command.d.ts +84 -0
  361. package/dist/guarded-transport-command.d.ts.map +1 -0
  362. package/dist/index.d.ts +1 -0
  363. package/dist/index.d.ts.map +1 -1
  364. package/dist/index.js +7 -5
  365. package/dist/maintenance-run-command-Bw21HEkH.js +13539 -0
  366. package/dist/remote-transport-Bu4PGSMD.js +2605 -0
  367. package/dist/rename/detect-renames.d.ts +20 -0
  368. package/dist/rename/detect-renames.d.ts.map +1 -1
  369. package/dist/rename/diffcore-break.d.ts +51 -0
  370. package/dist/rename/diffcore-break.d.ts.map +1 -0
  371. package/dist/rename/index.d.ts +1 -0
  372. package/dist/rename/index.d.ts.map +1 -1
  373. package/dist/results/blame-format.d.ts +62 -1
  374. package/dist/results/blame-format.d.ts.map +1 -1
  375. package/dist/results/cherry-pick-result.d.ts +6 -0
  376. package/dist/results/cherry-pick-result.d.ts.map +1 -1
  377. package/dist/results/clone-result.d.ts +9 -0
  378. package/dist/results/clone-result.d.ts.map +1 -1
  379. package/dist/results/diff-dirstat.d.ts +36 -0
  380. package/dist/results/diff-dirstat.d.ts.map +1 -0
  381. package/dist/results/diff-entry.d.ts +20 -0
  382. package/dist/results/diff-entry.d.ts.map +1 -1
  383. package/dist/results/diff-formatter.d.ts.map +1 -1
  384. package/dist/results/diff-output.d.ts +67 -3
  385. package/dist/results/diff-output.d.ts.map +1 -1
  386. package/dist/results/fetch-result.d.ts +24 -1
  387. package/dist/results/fetch-result.d.ts.map +1 -1
  388. package/dist/results/index.d.ts +2 -0
  389. package/dist/results/index.d.ts.map +1 -1
  390. package/dist/results/index.js +2 -2
  391. package/dist/results/init-result.d.ts +8 -1
  392. package/dist/results/init-result.d.ts.map +1 -1
  393. package/dist/results/line-range-hunks.d.ts +27 -0
  394. package/dist/results/line-range-hunks.d.ts.map +1 -0
  395. package/dist/results/merge-result.d.ts +13 -1
  396. package/dist/results/merge-result.d.ts.map +1 -1
  397. package/dist/results/pull-result.d.ts +11 -0
  398. package/dist/results/pull-result.d.ts.map +1 -1
  399. package/dist/results/push-result.d.ts +10 -0
  400. package/dist/results/push-result.d.ts.map +1 -1
  401. package/dist/results/rebase-result.d.ts +7 -0
  402. package/dist/results/rebase-result.d.ts.map +1 -1
  403. package/dist/results/revert-result.d.ts +6 -0
  404. package/dist/results/revert-result.d.ts.map +1 -1
  405. package/dist/results/stash-result.d.ts +5 -0
  406. package/dist/results/stash-result.d.ts.map +1 -1
  407. package/dist/results/status-result.d.ts +1 -1
  408. package/dist/results/status-result.d.ts.map +1 -1
  409. package/dist/results-ERo9vELd.js +49673 -0
  410. package/dist/transport-command.d.ts +93 -1
  411. package/dist/transport-command.d.ts.map +1 -1
  412. package/package.json +12 -12
  413. package/src/commands/add-command.ts +118 -0
  414. package/src/commands/add-patch/add-patch.ts +8 -0
  415. package/src/commands/add-patch/patch-backend.ts +24 -3
  416. package/src/commands/add-patch/patch-modes.ts +26 -2
  417. package/src/commands/add-patch/patch-session.ts +6 -0
  418. package/src/commands/am/am-command.ts +301 -12
  419. package/src/commands/apply/apply-command.ts +52 -9
  420. package/src/commands/apply/apply-parse.ts +10 -0
  421. package/src/commands/apply/index.ts +9 -1
  422. package/src/commands/archive/archive-command.ts +1148 -0
  423. package/src/commands/archive/archive-entry.ts +93 -0
  424. package/src/commands/archive/index.ts +7 -0
  425. package/src/commands/archive/remote-archive-command.ts +140 -0
  426. package/src/commands/archive/tar-archive.ts +207 -0
  427. package/src/commands/archive/tar-commit-id.ts +72 -0
  428. package/src/commands/archive/upload-archive-writer.ts +213 -0
  429. package/src/commands/archive/zip-archive.ts +317 -0
  430. package/src/commands/attributes-source.ts +26 -12
  431. package/src/commands/blame-command.ts +1551 -53
  432. package/src/commands/blame-ignore.ts +307 -0
  433. package/src/commands/bundle/bundle-create-command.ts +405 -0
  434. package/src/commands/bundle/bundle-format.ts +228 -0
  435. package/src/commands/bundle/bundle-list.ts +276 -0
  436. package/src/commands/bundle/bundle-read-commands.ts +157 -0
  437. package/src/commands/bundle/bundle-support.ts +85 -0
  438. package/src/commands/bundle/bundle-transport.ts +107 -0
  439. package/src/commands/bundle/bundle-uri-host.ts +204 -0
  440. package/src/commands/bundle/bundle-uri.ts +236 -0
  441. package/src/commands/bundle/bundle-verify.ts +152 -0
  442. package/src/commands/bundle/index.ts +14 -0
  443. package/src/commands/cat-file/batch-format.ts +193 -0
  444. package/src/commands/cat-file/cat-file-command.ts +857 -0
  445. package/src/commands/cat-file/index.ts +2 -0
  446. package/src/commands/check-attr-command.ts +333 -0
  447. package/src/commands/check-ignore-command.ts +261 -0
  448. package/src/commands/check-mailmap-command.ts +129 -0
  449. package/src/commands/check-ref-format-command.ts +129 -0
  450. package/src/commands/checkout-command.ts +131 -28
  451. package/src/commands/checkout-index-command.ts +568 -0
  452. package/src/commands/checkout-paths.ts +35 -0
  453. package/src/commands/cherry-command.ts +187 -0
  454. package/src/commands/cherry-pick-command.ts +63 -2
  455. package/src/commands/clean-command.ts +92 -12
  456. package/src/commands/clean-interactive.ts +522 -0
  457. package/src/commands/clone-command.ts +803 -50
  458. package/src/commands/commit-command.ts +202 -51
  459. package/src/commands/config-command.ts +9 -0
  460. package/src/commands/daemon-access-hook.ts +78 -0
  461. package/src/commands/default-branch.ts +99 -1
  462. package/src/commands/describe-command.ts +341 -254
  463. package/src/commands/diff-command.ts +1186 -99
  464. package/src/commands/diff-external.ts +131 -0
  465. package/src/commands/diff-plumbing/diff-pairs-command.ts +193 -0
  466. package/src/commands/diff-plumbing/diff-plumbing-command.ts +424 -0
  467. package/src/commands/diff-plumbing/index.ts +2 -0
  468. package/src/commands/diff-textconv.ts +5 -1
  469. package/src/commands/fast-export/fast-export-command.ts +911 -0
  470. package/src/commands/fast-export/fast-import-command.ts +1553 -0
  471. package/src/commands/fast-export/fast-stream-support.ts +162 -0
  472. package/src/commands/fast-export/index.ts +3 -0
  473. package/src/commands/fetch-command.ts +665 -14
  474. package/src/commands/fetch-multiple-command.ts +668 -0
  475. package/src/commands/format-patch-command.ts +189 -77
  476. package/src/commands/format-rev-command.ts +251 -0
  477. package/src/commands/fsck/fsck-command.ts +47 -20
  478. package/src/commands/fsck/fsck-msg-ids.ts +19 -3
  479. package/src/commands/fsck/fsck-pack.ts +2 -2
  480. package/src/commands/fsmonitor-refresh.ts +315 -0
  481. package/src/commands/gc-command.ts +10 -0
  482. package/src/commands/git-describe.ts +456 -217
  483. package/src/commands/git-hooks.ts +165 -9
  484. package/src/commands/git-paths.ts +136 -0
  485. package/src/commands/grep/grep-command.ts +38 -15
  486. package/src/commands/history-command.ts +617 -0
  487. package/src/commands/http-config.ts +139 -0
  488. package/src/commands/index-adder.ts +37 -3
  489. package/src/commands/index-host.ts +6 -1
  490. package/src/commands/index.ts +62 -0
  491. package/src/commands/init-command.ts +617 -49
  492. package/src/commands/last-modified-command.ts +804 -0
  493. package/src/commands/lfs/go-url.ts +370 -0
  494. package/src/commands/lfs/index.ts +2 -0
  495. package/src/commands/lfs/lfs-config.ts +738 -0
  496. package/src/commands/lfs/lfs-endpoint-command.ts +180 -0
  497. package/src/commands/line-log.ts +931 -0
  498. package/src/commands/local-transport.ts +252 -4
  499. package/src/commands/log-command.ts +1518 -182
  500. package/src/commands/log-graph.ts +6 -3
  501. package/src/commands/log-output.ts +228 -15
  502. package/src/commands/ls-files-command.ts +1177 -0
  503. package/src/commands/ls-remote-command.ts +6 -0
  504. package/src/commands/ls-tree-command.ts +684 -0
  505. package/src/commands/mailmap.ts +41 -5
  506. package/src/commands/maintenance-run-command.ts +949 -0
  507. package/src/commands/merge-command.ts +351 -47
  508. package/src/commands/merge-config.ts +23 -1
  509. package/src/commands/merge-drivers.ts +112 -20
  510. package/src/commands/merge-strategy-options.ts +224 -0
  511. package/src/commands/merge-support.ts +130 -26
  512. package/src/commands/merge-tree-command.ts +786 -0
  513. package/src/commands/message-cleanup.ts +1 -1
  514. package/src/commands/mktag-command.ts +149 -0
  515. package/src/commands/name-rev-command.ts +184 -0
  516. package/src/commands/name-rev.ts +700 -109
  517. package/src/commands/object-store/count-objects-command.ts +404 -0
  518. package/src/commands/object-store/index.ts +4 -0
  519. package/src/commands/object-store/objects-directory.ts +24 -0
  520. package/src/commands/object-store/prune-command.ts +129 -0
  521. package/src/commands/object-store/show-index-command.ts +151 -0
  522. package/src/commands/octopus-merge.ts +35 -11
  523. package/src/commands/ort-merge.ts +124 -23
  524. package/src/commands/ort-recursive.ts +40 -2
  525. package/src/commands/patch-id-command.ts +65 -0
  526. package/src/commands/patch-id.ts +327 -0
  527. package/src/commands/plumbing-command.ts +141 -0
  528. package/src/commands/plumbing-input.ts +87 -0
  529. package/src/commands/promisor-remote-reply.ts +276 -0
  530. package/src/commands/promisor-remote.ts +25 -2
  531. package/src/commands/pull-command.ts +720 -224
  532. package/src/commands/push-command.ts +440 -8
  533. package/src/commands/range-diff/index.ts +3 -0
  534. package/src/commands/range-diff/linear-assignment.ts +203 -0
  535. package/src/commands/range-diff/range-diff-command.ts +433 -0
  536. package/src/commands/range-diff/range-diff.ts +617 -0
  537. package/src/commands/read-tree-command.ts +74 -3
  538. package/src/commands/rebase-command.ts +647 -83
  539. package/src/commands/refs-command.ts +274 -0
  540. package/src/commands/remerge-diff.ts +241 -0
  541. package/src/commands/remote-command.ts +98 -10
  542. package/src/commands/remote-object-info-command.ts +109 -0
  543. package/src/commands/remote-show-command.ts +836 -0
  544. package/src/commands/remote-transport.ts +116 -1
  545. package/src/commands/repack-command.ts +383 -0
  546. package/src/commands/replace-command.ts +816 -0
  547. package/src/commands/replay-command.ts +674 -0
  548. package/src/commands/repo-command.ts +967 -0
  549. package/src/commands/request-pull-command.ts +356 -0
  550. package/src/commands/rerere-command.ts +179 -0
  551. package/src/commands/rerere.ts +925 -0
  552. package/src/commands/reset-command.ts +78 -3
  553. package/src/commands/restore-command.ts +15 -0
  554. package/src/commands/rev-filter/commit-grep.ts +7 -2
  555. package/src/commands/rev-list-command.ts +196 -11
  556. package/src/commands/rev-parse-command.ts +62 -4
  557. package/src/commands/revert-command.ts +62 -2
  558. package/src/commands/revision-range.ts +10 -3
  559. package/src/commands/revision-resolver.ts +44 -3
  560. package/src/commands/sequencer-pick.ts +370 -29
  561. package/src/commands/sequencer-support.ts +164 -2
  562. package/src/commands/serve-repository.ts +65 -0
  563. package/src/commands/session-id.ts +31 -0
  564. package/src/commands/shortlog-command.ts +354 -0
  565. package/src/commands/shortlog.ts +361 -0
  566. package/src/commands/show-branch-command.ts +981 -0
  567. package/src/commands/show-command.ts +3 -2
  568. package/src/commands/show-ref-command.ts +439 -0
  569. package/src/commands/signature-check.ts +37 -5
  570. package/src/commands/signing.ts +122 -16
  571. package/src/commands/stash-apply-command.ts +3 -0
  572. package/src/commands/stash-export-command.ts +397 -0
  573. package/src/commands/status-command.ts +158 -31
  574. package/src/commands/status-format.ts +1 -1
  575. package/src/commands/stripspace-command.ts +118 -0
  576. package/src/commands/submodule-add-command.ts +22 -1
  577. package/src/commands/submodule-auth.ts +61 -6
  578. package/src/commands/submodule-commands.ts +333 -5
  579. package/src/commands/submodule-fetch.ts +789 -0
  580. package/src/commands/submodule-model.ts +9 -1
  581. package/src/commands/submodule-unpack.ts +265 -0
  582. package/src/commands/submodule-update-command.ts +68 -5
  583. package/src/commands/subtree-shift.ts +215 -0
  584. package/src/commands/switch-command.ts +9 -0
  585. package/src/commands/textconv-cache.ts +143 -0
  586. package/src/commands/tree-restore.ts +20 -1
  587. package/src/commands/unpack-objects-command.ts +235 -0
  588. package/src/commands/update-index-command.ts +1016 -0
  589. package/src/commands/uri-protocols.ts +13 -0
  590. package/src/commands/url-parse-command.ts +67 -0
  591. package/src/commands/var-command.ts +219 -0
  592. package/src/commands/worktree-overwrite-checks.ts +5 -0
  593. package/src/errors/command-errors.ts +80 -0
  594. package/src/git-command.ts +218 -2
  595. package/src/git.ts +1033 -80
  596. package/src/guarded-transport-command.ts +176 -0
  597. package/src/index.ts +1 -0
  598. package/src/rename/detect-renames.ts +42 -8
  599. package/src/rename/diffcore-break.ts +166 -0
  600. package/src/rename/index.ts +1 -0
  601. package/src/results/blame-format.ts +268 -43
  602. package/src/results/cherry-pick-result.ts +6 -0
  603. package/src/results/clone-result.ts +6 -0
  604. package/src/results/diff-dirstat.ts +117 -0
  605. package/src/results/diff-entry.ts +24 -0
  606. package/src/results/diff-formatter.ts +8 -4
  607. package/src/results/diff-output.ts +239 -8
  608. package/src/results/diff-pickaxe.ts +1 -1
  609. package/src/results/fetch-result.ts +24 -1
  610. package/src/results/index.ts +2 -0
  611. package/src/results/init-result.ts +10 -1
  612. package/src/results/line-range-hunks.ts +126 -0
  613. package/src/results/merge-result.ts +14 -0
  614. package/src/results/pull-result.ts +7 -0
  615. package/src/results/push-result.ts +10 -0
  616. package/src/results/rebase-result.ts +7 -0
  617. package/src/results/revert-result.ts +6 -0
  618. package/src/results/stash-result.ts +6 -0
  619. package/src/results/status-result.ts +2 -2
  620. package/src/transport-command.ts +216 -4
  621. package/dist/fsck-DLRpbwTj.js +0 -13405
  622. package/dist/results-TB2IJ64h.js +0 -4700
@@ -1,12 +1,23 @@
1
+ import { type ObjectId } from "@statewalker/vcs-core";
1
2
  import { type XdiffAlgorithm } from "@statewalker/vcs-utils";
2
3
  import { type Staging } from "@statewalker/vcs-working-tree";
3
4
  import { GitCommand } from "../git-command.js";
4
5
  import { ChangeType, type DiffEntry } from "../results/diff-entry.js";
5
- import { type DiffOutputOptions, type DiffstatFile, type DiffstatOptions } from "../results/diff-output.js";
6
+ import { type DiffDriver, type DiffOutputOptions, type DiffstatFile, type DiffstatOptions } from "../results/diff-output.js";
6
7
  import { type DiffColorOptions, type DiffColorSettings } from "./diff-color-config.js";
7
8
  import { type SubmoduleIgnoreMode } from "./submodule-config.js";
8
9
  import { type SubmoduleDiffFormat } from "./submodule-summary.js";
9
- export type DiffOutputFormat = "patch" | "stat" | "numstat" | "shortstat" | "summary" | "name-only" | "name-status"
10
+ export type DiffOutputFormat =
11
+ /**
12
+ * `--raw` (diff.c's `diff_flush_raw`): `:<old mode> <new mode> <old id> <new id> <status>`,
13
+ * a tab and the path(s); ids abbreviated unless {@link DiffTextOptions.rawFullIds}
14
+ */
15
+ "raw" | "patch" | "stat" | "numstat" | "shortstat" | "summary" | "name-only" | "name-status"
16
+ /**
17
+ * `--dirstat`: the share of the change each directory holds (see
18
+ * {@link DiffTextOptions.dirstat}, `diff.dirstat`)
19
+ */
20
+ | "dirstat"
10
21
  /**
11
22
  * `--check`: the whitespace errors and leftover conflict markers the change adds (see
12
23
  * {@link writePairCheck}); it turns the other formats off, and {@link DiffCommand.exitCode}
@@ -14,7 +25,7 @@ export type DiffOutputFormat = "patch" | "stat" | "numstat" | "shortstat" | "sum
14
25
  */
15
26
  | "check";
16
27
  /** Options of the text output that `git diff` takes on its command line */
17
- export interface DiffTextOptions extends Omit<DiffOutputOptions, "driver" | "algorithm" | "indentHeuristic" | "ignoreRegex" | "colors" | "wsHighlight" | "whitespaceRule" | "defaultWordRegex">, DiffColorOptions {
28
+ export interface DiffTextOptions extends Omit<DiffOutputOptions, "driver" | "algorithm" | "indentHeuristic" | "ignoreRegex" | "colors" | "wsHighlight" | "whitespaceRule" | "defaultWordRegex" | "anchors">, DiffColorOptions {
18
29
  /**
19
30
  * The builtin diff drivers (funcname and word regexes) of that git version (default 2.56):
20
31
  * 2.43 has no `ini`, `r` and `swift` drivers and older `bash`, `csharp` and `scheme` ones
@@ -37,6 +48,16 @@ export interface DiffTextOptions extends Omit<DiffOutputOptions, "driver" | "alg
37
48
  abbrev?: number;
38
49
  /** `--stat=...` widths (default width 80, as git without a terminal) */
39
50
  stat?: DiffstatOptions;
51
+ /**
52
+ * `-z`: the `raw`, `name-only`, `name-status` and `numstat` outputs end each field with a
53
+ * NUL instead of a tab or a newline, paths unquoted; the separator before a patch is a NUL
54
+ */
55
+ nullTerminated?: boolean;
56
+ /**
57
+ * The `raw` output's ids in full, as the plumbing commands print them (`opt->abbrev = 0`)
58
+ * unless `--abbrev` is given ({@link abbrev}); default false (`git diff --raw` abbreviates)
59
+ */
60
+ rawFullIds?: boolean;
40
61
  /**
41
62
  * Score renames counting a last line without a newline, as git 2.50 and later (default
42
63
  * true); false scores them as older git
@@ -89,6 +110,15 @@ export interface DiffTextOptions extends Omit<DiffOutputOptions, "driver" | "alg
89
110
  * `installTextconvRunner`, without one no textconv applies
90
111
  */
91
112
  textconv?: boolean;
113
+ /**
114
+ * `--ext-diff` / `--no-ext-diff`: run external diff programs (`GIT_EXTERNAL_DIFF`,
115
+ * `diff.external`, `diff.<driver>.command`) instead of the builtin patch. Default false;
116
+ * `Git.diff()` (porcelain `git diff`) turns it on, as git, while `git log`/`show` and the
117
+ * plumbing diffs need it asked. The programs run through the host's `hookRunner`, their
118
+ * sides written in its `tempDirectory` through `hostFilesOf`; without those the builtin
119
+ * patch is shown. See `diff-external.ts`.
120
+ */
121
+ extDiff?: boolean;
92
122
  /**
93
123
  * `-R`: the two sides swapped (an addition shows as a deletion, the new side first), their
94
124
  * prefixes with them (`diff --git b/f a/f`). Combined diffs of conflicted paths are not swapped.
@@ -163,6 +193,39 @@ export interface DiffTextOptions extends Omit<DiffOutputOptions, "driver" | "alg
163
193
  pickaxeAll?: boolean;
164
194
  /** `-i` / `--regexp-ignore-case` of `-S`/`-G` (ASCII case folded) */
165
195
  pickaxeIgnoreCase?: boolean;
196
+ /**
197
+ * `-M[<n>]` / `--find-renames[=<n>]`: detect renames, at least this similar (git's
198
+ * syntax: `90%`, `9` and `.9` alike; `true` the default 50%); `false` is `--no-renames`.
199
+ * Wins over {@link DiffCommand.setRenames} and `diff.renames`. Trailing text throws git's
200
+ * `error: invalid argument to find-renames` (exit 129).
201
+ */
202
+ findRenames?: boolean | string;
203
+ /**
204
+ * `-C[<n>]` / `--find-copies[=<n>]`: renames and copies, from the modified paths too (the
205
+ * threshold as {@link findRenames}). With `diff.renames=copies` and nothing else asking,
206
+ * git's second `-C` is found: copies are then found harder.
207
+ */
208
+ findCopies?: boolean | string;
209
+ /** `--find-copies-harder` (or `-C -C`): unchanged paths are copy sources too */
210
+ findCopiesHarder?: boolean;
211
+ /**
212
+ * `-B[<n>][/<m>]` / `--break-rewrites`: modifications that changed at least `<n>` (default
213
+ * 50%) are broken into a deletion and a creation for rename detection, and merged back
214
+ * unless they removed at least `<m>` (default 60%) of the old content, shown then as a
215
+ * complete rewrite (`dissimilarity index`, `M<score>`)
216
+ */
217
+ breakRewrites?: boolean | string;
218
+ /**
219
+ * `--dirstat=<params>` for the `dirstat` format: comma-separated `changes`, `lines`,
220
+ * `files`, `cumulative`, `noncumulative` and a cut-off percentage (default `diff.dirstat`,
221
+ * else `changes,noncumulative,3`)
222
+ */
223
+ dirstat?: string;
224
+ /**
225
+ * `--anchored=<text>`: the patience diff, lines starting with one of these texts kept
226
+ * unchanged where they are unique on both sides
227
+ */
228
+ anchored?: readonly string[];
166
229
  }
167
230
  /** Whether options ask for a pickaxe (git's `DIFF_PICKAXE_KINDS_MASK`) */
168
231
  export declare function hasPickaxe(o: DiffTextOptions): boolean;
@@ -171,6 +234,28 @@ export declare function hasPickaxe(o: DiffTextOptions): boolean;
171
234
  * diff_setup_done's combinations), before anything is read
172
235
  */
173
236
  export declare function checkPickaxeOptions(o: DiffTextOptions): void;
237
+ /** What {@link DiffCommand.setQueue} runs over a queue given */
238
+ export interface PresetQueueOptions {
239
+ /**
240
+ * Run diffcore's rename and break detection over it as over a comparison's queue
241
+ * (`diffcore_std`), with `-M`/`-C`/`-B` as the text options give them (no `diff.renames`)
242
+ */
243
+ diffcore?: boolean;
244
+ /**
245
+ * `--find-copies-harder`'s sources besides the queue's: every file of the old side (the
246
+ * old tree, the index of `diff-files`)
247
+ */
248
+ copySources?: () => Promise<Map<string, {
249
+ mode: number;
250
+ id: ObjectId;
251
+ }>>;
252
+ }
253
+ /**
254
+ * `diff.renames` as git_config_rename reads it: `copies`/`copy` detect copies too.
255
+ *
256
+ * @internal
257
+ */
258
+ export declare function renamesValue(value: string | undefined): boolean | "copies" | undefined;
174
259
  /**
175
260
  * Show changes between commits, trees, the index and the worktree.
176
261
  *
@@ -273,6 +358,10 @@ export declare class DiffCommand extends GitCommand<DiffEntry[]> {
273
358
  private changesFound;
274
359
  /** git's `check_failed`: `--check` found an error in the last call */
275
360
  private checkFailed;
361
+ /** git's `diff_path_counter`: the external diff calls made so far */
362
+ private externalCounter;
363
+ /** What external diff programs wrote on stderr in the last call */
364
+ private externalStderr;
276
365
  /** The revisions given resolved (ranges, `--merge-base`) */
277
366
  private sidesResolved;
278
367
  /** The compiled pickaxe (`-S`, `-G`, `--find-object`), once the options are checked */
@@ -322,8 +411,10 @@ export declare class DiffCommand extends GitCommand<DiffEntry[]> {
322
411
  /** Whether the last call found differences (git's `has_changes`) */
323
412
  get hasChanges(): boolean;
324
413
  /**
325
- * Show intent-to-add entries in a `--cached` comparison as the empty files they name, as
326
- * plumbing's `diff-index --cached` does (porcelain `git diff` sets `ita_invisible_in_index`).
414
+ * Show intent-to-add entries as the empty files they name, as plumbing's
415
+ * `diff-index --cached` and `diff-files` do (porcelain `git diff` sets
416
+ * `ita_invisible_in_index`): in a `--cached` comparison on the index side, against the
417
+ * worktree as the old side (`git add -e`'s diff).
327
418
  *
328
419
  * @internal
329
420
  */
@@ -388,11 +479,19 @@ export declare class DiffCommand extends GitCommand<DiffEntry[]> {
388
479
  * of `diff.submodule` it does not know.
389
480
  */
390
481
  get warnings(): readonly string[];
482
+ /** What the external diff programs of the last call wrote on stderr (git passes it through) */
483
+ get programStderr(): Uint8Array;
391
484
  /**
392
485
  * git_diff_ui_config, which `git diff` (and log, show) runs before any option is read:
393
486
  * `diff.submodule`, its warnings, and the failure of a variable without a value.
394
487
  */
395
488
  private readUiConfig;
489
+ /** `diff.dirstat`'s parameters (git's defaults without it) */
490
+ private configuredDirstat?;
491
+ /** The dirstat's parameters: `diff.dirstat`, then {@link DiffTextOptions.dirstat} */
492
+ private dirstatParams;
493
+ /** show_dirstat (or show_dirstat_by_line): the dirstat of the pairs */
494
+ private writeDirstat;
396
495
  /**
397
496
  * Compare HEAD (or the old tree) to the index instead of the worktree.
398
497
  *
@@ -426,6 +525,56 @@ export declare class DiffCommand extends GitCommand<DiffEntry[]> {
426
525
  * <pathspec>`) does: paths from the top, with wildcards and magic (see `LogCommand.addPath`).
427
526
  */
428
527
  setPathspec(paths: string[]): this;
528
+ /**
529
+ * The queue {@link callFormats} prints instead of comparing the trees: pairs a caller found
530
+ * itself (`git log -L` queues each commit's pairs with their line ranges, line-log.c's
531
+ * `line_log_queue_pairs`). diffcore's later stages (pickaxe, order, `--diff-filter`) still
532
+ * apply.
533
+ *
534
+ * @internal
535
+ */
536
+ setQueue(entries: DiffEntry[], options?: PresetQueueOptions): this;
537
+ private presetQueue?;
538
+ private presetQueueOptions;
539
+ /**
540
+ * How a comparison of trees walks them (tree-diff.c): `recursive` lists the blobs below the
541
+ * subtrees that differ (`-r`, the porcelain's default), `flat` the differing entries of the
542
+ * top tree, subtrees as entries of mode 040000 (plumbing's default without `-r`), and
543
+ * `show-trees` the blobs and the subtrees on the way to them (`-t`)
544
+ *
545
+ * @internal
546
+ */
547
+ setTreeWalk(walk: "recursive" | "flat" | "show-trees"): this;
548
+ private treeWalk;
549
+ /**
550
+ * Compare the worktree as the plumbing commands do (`diff-files`, `diff-index` without
551
+ * `--cached`): no refresh, a file whose stat differs from its entry is a change even when
552
+ * its content is the same, and its raw id is the null id (not hashed); an unmerged path's
553
+ * raw line gives the worktree file's mode
554
+ *
555
+ * @internal
556
+ */
557
+ setPlumbingWorktree(plumbing: boolean): this;
558
+ private plumbingWorktree;
559
+ /** The sides an unmerged path's raw line shows (diff_unmerge's pair), by path */
560
+ private readonly unmergedRaw;
561
+ /** {@link setQueue}'s diffcore run, when asked */
562
+ private presetDiffcore;
563
+ /**
564
+ * diffcore's filtering stages over a queue a caller found (the pickaxe, `-O`,
565
+ * `--diff-filter`): git 2.43's `git log -L` runs them on the pairs it follows renames with
566
+ *
567
+ * @internal
568
+ */
569
+ filterQueue(entries: DiffEntry[]): Promise<DiffEntry[]>;
570
+ /**
571
+ * The diff driver of a path as a diff of two trees finds it (the worktree's attributes,
572
+ * `diff.<driver>.*`, the builtin drivers): `git log -L :<funcname>:<file>` finds functions
573
+ * by its funcname pattern (line-range.c's `userdiff_find_by_path`)
574
+ *
575
+ * @internal
576
+ */
577
+ driverOf(path: string): Promise<DiffDriver | undefined>;
429
578
  /**
430
579
  * Detect renames (`-M`, `--no-renames`). Default: off for `call()` (each path as added and
431
580
  * deleted), `diff.renames` (default on) for `callText()`.
@@ -435,6 +584,23 @@ export declare class DiffCommand extends GitCommand<DiffEntry[]> {
435
584
  setRenameLimit(limit: number): this;
436
585
  /** `diff` stores no objects: its abbreviations read each loose fan-out directory once */
437
586
  protected writesNoObjects(): boolean;
587
+ /** diff.c's `additional_path_headers` (see {@link setAdditionalHeaders}) */
588
+ private additionalHeaders?;
589
+ /**
590
+ * diff.c's `additional_path_headers` (`--remerge-diff`'s `remerge CONFLICT` lines), by path:
591
+ * the paths within the pathspec keep theirs (log-tree.c's setup_additional_headers). A
592
+ * pair's headers follow its rename lines; a path with headers and no change is shown as a
593
+ * `diff --git` line with its headers alone, unless a pickaxe or a `--diff-filter` without
594
+ * `U` is given (`include_conflict_headers`).
595
+ */
596
+ setAdditionalHeaders(headers: ReadonlyMap<string, readonly string[]>): this;
597
+ /** The additional headers within the pathspec, undefined for none */
598
+ private headersInPathspec;
599
+ /**
600
+ * diff.c's `include_conflict_headers`: headers present, no pickaxe, and no `--diff-filter`
601
+ * or one that keeps `U`
602
+ */
603
+ private includesConflictHeaders;
438
604
  /** Text output options: context, algorithm, whitespace, `--stat` widths, ... */
439
605
  setOptions(options: DiffTextOptions): this;
440
606
  /**
@@ -496,6 +662,16 @@ export declare class DiffCommand extends GitCommand<DiffEntry[]> {
496
662
  private followSource;
497
663
  /** The formats of the collected comparison, in diff_flush's order */
498
664
  private writeFormats;
665
+ /**
666
+ * The raw output's ids: full under {@link DiffTextOptions.rawFullIds} without `--abbrev`,
667
+ * else each abbreviated as git's `diff_aligned_abbrev` (unique, at least `--abbrev` digits)
668
+ */
669
+ private rawAbbreviator;
670
+ /**
671
+ * create_filepairs_for_header_only_notifications: the pairs, and the paths with headers
672
+ * none of them names first (as strings), sorted by first name (diffcore_fix_diff_index)
673
+ */
674
+ private withHeaderOnlyPairs;
499
675
  /**
500
676
  * builtin_diff's submodule branch: `--submodule=log` (show_submodule_diff_summary) or
501
677
  * `--submodule=diff` (show_submodule_inline_diff) for a pair of submodules (or a submodule
@@ -515,15 +691,65 @@ export declare class DiffCommand extends GitCommand<DiffEntry[]> {
515
691
  * the path's `diff.<driver>.textconv` over the blob as checkout writes it, or undefined
516
692
  * when no textconv applies (not a regular file, no driver, no command or no runner
517
693
  * installed, `textconv: false`). The attributes are the worktree's alone (git show reads
518
- * no index).
519
- */
520
- textconvBlob(path: string, mode: number, read: () => Promise<Uint8Array>): Promise<Uint8Array | undefined>;
694
+ * no index). With the blob's `id`, the driver's textconv cache applies
695
+ * (`diff.<driver>.cachetextconv`). `worktreeFile`: `read` gives a file as it lies in the
696
+ * worktree (blame's working-tree file, `--contents <file>`), converted as it is, never
697
+ * smudged nor cached (git's prepare_temp_file reuses the file; its object id is unknown).
698
+ */
699
+ textconvBlob(path: string, mode: number, read: () => Promise<Uint8Array>, id?: string, options?: {
700
+ worktreeFile?: boolean;
701
+ }): Promise<Uint8Array | undefined>;
702
+ /** The textconv caches of this command (git's per-process caches) */
703
+ private textconvCaches;
704
+ /** diff.c's fill_textconv: the runner's output, through the driver's notes cache */
705
+ private runTextconv;
521
706
  /** A blob's content as checkout writes it to the worktree (the worktree's smudge filter) */
522
707
  private smudged;
523
708
  /** git 2.5x's names from contents (see {@link DiffTextOptions.namesFromContents}) */
524
709
  private get namesFromContents();
525
710
  /** The pairs `--name-only` lists: with whitespace options or `-I`, those whose patch shows a change */
526
711
  private shownNames;
712
+ /** The host environment the working copy's configuration was opened with */
713
+ private get hostEnvironment();
714
+ /** diff_setup_done: the external diff calls of a new output start from 1 */
715
+ private resetExternal;
716
+ /**
717
+ * diff.c's `external_diff()` where external diffs are allowed (`--ext-diff`, porcelain
718
+ * `git diff`): `GIT_EXTERNAL_DIFF`, else `diff.external` of the UI configuration
719
+ */
720
+ private externalProgram;
721
+ /**
722
+ * The program run_diff_cmd runs for a pair, if any: the pair's `diff.<driver>.command`
723
+ * (attributes of its first path), else {@link externalProgram}; none without a runner to
724
+ * run it or a place to write its files. `split`: a change between a file and a symbolic
725
+ * link that only a driver's program takes (run_diff splits it in two when no
726
+ * `GIT_EXTERNAL_DIFF`/`diff.external` is set).
727
+ */
728
+ private externalDiffFor;
729
+ /**
730
+ * A pair's patch, through its external program or the builtin one: whether it shows a
731
+ * change (git's `found_changes`). `quiet`: nothing is written (diff_flush_patch_quietly).
732
+ */
733
+ private patchOf;
734
+ /**
735
+ * diff.c's run_external_diff for a pair (both halves of a split one): the program's stdout
736
+ * into `out` (nothing when `quiet`), its stderr kept; whether the pair counts as changed.
737
+ * Without `trustExitCode` a quiet check does not run the program and counts a change.
738
+ *
739
+ * @throws ExternalDiffDiedError on an exit code git does not accept
740
+ */
741
+ private runExternalDiff;
742
+ /**
743
+ * prepare_temp_file: the three arguments naming one side. An absent side is `/dev/null . .`;
744
+ * the worktree's file is passed by its path from the top (the null id when the comparison
745
+ * did not hash it, a symbolic link's target in a temporary file); a stored side whose
746
+ * index entry the worktree's file still matches is passed as that file
747
+ * (`reuse_worktree_file`, only when the diff reads the index); any other side is a
748
+ * temporary file of its content as checkout writes it.
749
+ */
750
+ private externalSide;
751
+ /** reuse_worktree_file: the index's entry of `path` holds the side and its file matches it */
752
+ private reusesWorktreeFile;
527
753
  private get config();
528
754
  /** What this diff compares */
529
755
  private get sides();
@@ -626,8 +852,21 @@ export declare class DiffCommand extends GitCommand<DiffEntry[]> {
626
852
  */
627
853
  private pairUp;
628
854
  /**
629
- * git's `diffcore_rename` over the added and deleted paths; `copies` (DIFF_DETECT_COPY,
630
- * `diff.renames=copies`): the modified paths are sources too, which stay (copied only)
855
+ * diffcore's settings of a run: rename or copy detection (`renames` as configured or set,
856
+ * then `-M`/`-C`), its threshold, `--find-copies-harder`, `-B`; option errors are thrown here
857
+ */
858
+ private diffcoreSettings;
859
+ /**
860
+ * diffcore_std's pair stages: `diffcore_break` (`-B`), `diffcore_rename` (renames, copies,
861
+ * `--find-copies-harder`), `diffcore_merge_broken`, then `diff_resolve_rename_copy`. The
862
+ * entries are changed in place, in git's queue order.
863
+ */
864
+ private diffcore;
865
+ /**
866
+ * git's `diffcore_rename` over the queue: deleted paths (broken deletions too) as sources,
867
+ * with copies the modified paths (and, harder, the unmodified ones) as sources that stay,
868
+ * created paths as destinations. A destination paired becomes a rename (resolved into a
869
+ * copy or a rename by {@link diffcore}); a deletion its rename takes is dropped.
631
870
  */
632
871
  private detectRenames;
633
872
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"diff-command.d.ts","sourceRoot":"","sources":["../../src/commands/diff-command.ts"],"names":[],"mappings":"AAMA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAOL,KAAK,OAAO,EAKb,MAAM,+BAA+B,CAAC;AAQvC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAW/C,OAAO,EAAE,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,0BA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C7E,YAAY;IAkC1B,4EAA4E;IAC5E,OAAO,KAAK,cAAc,GAGzB;IAED,OAAO,CAAC,OAAO;IAWf;;;OAGG;IACH,OAAO,CAAC,MAAM;IAmFd;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IA+BxB;;;;OAIG;YACW,QAAQ;IA0ItB;;;;;OAKG;YACW,aAAa;IAgJ3B;;;;OAIG;YACW,QAAQ;IAetB;;;;OAIG;YACW,aAAa;IA6B3B;;;;OAIG;YACW,aAAa;IA0D3B;;;OAGG;YACW,YAAY;IA6C1B,sFAAsF;YACxE,UAAU;IAaxB,yEAAyE;YAC3D,OAAO;IASrB,oFAAoF;IACpF,OAAO,CAAC,WAAW;IAWnB;;;OAGG;YACW,SAAS;IAsBvB;;;;;;OAMG;YACW,YAAY;IA0I1B;;;OAGG;YACW,aAAa;YAyBb,MAAM;IAQpB;;OAEG;YACW,kBAAkB;CAiBjC;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAaxD"}
@@ -0,0 +1,43 @@
1
+ import type { GitHostEnvironment } from "@statewalker/vcs-working-tree";
2
+ import { GitApiError } from "../errors/index.js";
3
+ /** A program git runs instead of its builtin patch */
4
+ export interface ExternalDiffProgram {
5
+ /** The command, run through the shell with the arguments after it */
6
+ command: string;
7
+ /** `trustExitCode` (git 2.46+): exit code 0 means the pair shows no change, 1 a change */
8
+ trustExitCode: boolean;
9
+ }
10
+ /**
11
+ * diff.c's `external_diff()`: `$GIT_EXTERNAL_DIFF` (with
12
+ * `$GIT_EXTERNAL_DIFF_TRUST_EXIT_CODE`), else `diff.external` (with `diff.trustExitCode`),
13
+ * which only git's UI configuration reads (`config` undefined for plumbing).
14
+ */
15
+ export declare function externalDiffProgramOf(environment: Pick<GitHostEnvironment, "diffVariables"> | undefined, config: ((key: string) => string | undefined) | undefined): ExternalDiffProgram | undefined;
16
+ /**
17
+ * The temporary files of one external diff call (tempfile.c's `mks_tempfile_dt`): each side
18
+ * in a directory `git-blob-XXXXXX` of the host's temporary directory, named as the file's
19
+ * basename (an external program then sees a "pretty" name), removed by {@link removeAll}.
20
+ */
21
+ export declare class ExternalDiffTempFiles {
22
+ private readonly environment;
23
+ private readonly made;
24
+ constructor(environment: Pick<GitHostEnvironment, "hostFilesOf" | "tempDirectory">);
25
+ /** Whether files can be written for a program to read (a host FilesApi of the directory) */
26
+ get available(): boolean;
27
+ /** Writes `content` as `<tmp>/git-blob-XXXXXX/<basename of path>`; its host path */
28
+ write(path: string, content: Uint8Array): Promise<string>;
29
+ /** Removes every directory {@link write} made (git's `remove_tempfile`) */
30
+ removeAll(): Promise<void>;
31
+ }
32
+ /**
33
+ * Thrown where git dies after an external diff program failed (`fatal: external diff died,
34
+ * stopping at <path>`, exit status 128): an exit code other than 0 (or 1 under
35
+ * `trustExitCode`), or a program the host could not run.
36
+ */
37
+ export declare class ExternalDiffDiedError extends GitApiError {
38
+ readonly path: string;
39
+ /** What git wrote on stdout before it died (the programs' output, earlier patches) */
40
+ output: Uint8Array;
41
+ constructor(path: string);
42
+ }
43
+ //# sourceMappingURL=diff-external.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"diff-external.d.ts","sourceRoot":"","sources":["../../src/commands/diff-external.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAExE,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,sDAAsD;AACtD,MAAM,WAAW,mBAAmB;IAClC,qEAAqE;IACrE,OAAO,EAAE,MAAM,CAAC;IAChB,0FAA0F;IAC1F,aAAa,EAAE,OAAO,CAAC;CACxB;AAYD;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,IAAI,CAAC,kBAAkB,EAAE,eAAe,CAAC,GAAG,SAAS,EAClE,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC,GAAG,SAAS,GACxD,mBAAmB,GAAG,SAAS,CASjC;AAID;;;;GAIG;AACH,qBAAa,qBAAqB;IAI9B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAH9B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA+C;IAEpE,YACmB,WAAW,EAAE,IAAI,CAAC,kBAAkB,EAAE,aAAa,GAAG,eAAe,CAAC,EACrF;IAEJ,4FAA4F;IAC5F,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED,oFAAoF;IAC9E,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAmB9D;IAED,2EAA2E;IACrE,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,CAQ/B;CACF;AAED;;;;GAIG;AACH,qBAAa,qBAAsB,SAAQ,WAAW;IAIxC,QAAQ,CAAC,IAAI,EAAE,MAAM;IAHjC,sFAAsF;IACtF,MAAM,EAAE,UAAU,CAAqB;IAEvC,YAAqB,IAAI,EAAE,MAAM,EAGhC;CACF"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * `git diff-pairs -z [<diff-options>]` (builtin/diff-pairs.c, git 2.50 and later): the pairs
3
+ * of a raw diff read back (`git diff-tree -r -z` output) and shown in any diff format.
4
+ *
5
+ * ```typescript
6
+ * const raw = await git.diffTree().addArgument("base").addArgument("new")
7
+ * .setRecursive(true).setNullTerminated(true).call();
8
+ * const patch = await git.diffPairs().setNullTerminated(true).setInput(raw)
9
+ * .setFormats(["patch"]).call();
10
+ * ```
11
+ */
12
+ import { DiffPlumbingCommand } from "./diff-plumbing-command.js";
13
+ /**
14
+ * Show the pairs of a NUL-terminated raw diff (`setInput`, git's stdin): each record
15
+ * `:<mode> <mode> <id> <id> <status>[<score>]` followed by its path (two for a rename or a
16
+ * copy), in the patch format unless another is asked for. A lone NUL flushes the pairs read
17
+ * so far, followed by a NUL in the output. The renames and copies of the input are kept
18
+ * unless `-M`/`-C` asks to detect them again; trees, pathspecs and input without `-z` are
19
+ * refused as git refuses them.
20
+ */
21
+ export declare class DiffPairsCommand extends DiffPlumbingCommand {
22
+ private input;
23
+ /** The raw diff read (git's stdin) */
24
+ setInput(input: string | Uint8Array): this;
25
+ call(): Promise<Uint8Array>;
26
+ }
27
+ //# sourceMappingURL=diff-pairs-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"diff-pairs-command.d.ts","sourceRoot":"","sources":["../../../src/commands/diff-plumbing/diff-pairs-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAOH,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE;;;;;;;GAOG;AACH,qBAAa,gBAAiB,SAAQ,mBAAmB;IACvD,OAAO,CAAC,KAAK,CAAiC;IAE9C,sCAAsC;IACtC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,IAAI,CAIzC;IAEK,IAAI,IAAI,OAAO,CAAC,UAAU,CAAC,CAmHhC;CACF"}
@@ -0,0 +1,129 @@
1
+ /**
2
+ * The plumbing diffs: `git diff-tree`, `git diff-index` and `git diff-files` (builtin/diff-tree.c,
3
+ * builtin/diff-index.c, builtin/diff-files.c), on top of {@link DiffCommand}'s comparisons and
4
+ * {@link LogCommand}'s log_tree_commit.
5
+ *
6
+ * ```typescript
7
+ * // git diff-tree -r -z HEAD~1 HEAD
8
+ * const raw = await git.diffTree().addArgument("HEAD~1").addArgument("HEAD")
9
+ * .setRecursive(true).setNullTerminated(true).call();
10
+ *
11
+ * // git diff-files --name-status
12
+ * const text = await git.diffFiles().setFormats(["name-status"]).callText();
13
+ * ```
14
+ *
15
+ * Their defaults are git's plumbing ones: the raw format (`:<modes> <ids> <status>\t<path>`)
16
+ * with full ids unless `--abbrev` is given, no rename detection unless `-M`/`-C` asks, no
17
+ * `diff.*` porcelain configuration (`git_diff_basic_config`).
18
+ */
19
+ import { GitCommand } from "../../git-command.js";
20
+ import { DiffCommand, type DiffOutputFormat, type DiffTextOptions } from "../diff-command.js";
21
+ /** What the plumbing diffs share: formats, diff options, pathspec */
22
+ export declare abstract class DiffPlumbingCommand extends GitCommand<Uint8Array> {
23
+ protected formats?: DiffOutputFormat[];
24
+ protected textOptions: DiffTextOptions;
25
+ protected pathspec: string[];
26
+ private abbrevGiven;
27
+ /**
28
+ * The outputs, as their options ask (`--raw`, `-p`, `--stat`, `--name-only`...; the raw
29
+ * format alone by default). `--patch-with-raw` is `["raw", "patch"]`, `--patch-with-stat`
30
+ * `["stat", "patch"]`.
31
+ */
32
+ setFormats(formats: DiffOutputFormat[]): this;
33
+ /** Diff options (`-M`, `-C`, `-B`, `-R`, `-U<n>`, `--diff-filter`, `-O`, ...) */
34
+ setOptions(options: DiffTextOptions): this;
35
+ /** The paths compared (git's pathspec) */
36
+ setPathspec(paths: string[]): this;
37
+ /**
38
+ * `--abbrev[=<n>]`: the raw output's ids abbreviated (at least `n` digits, unique), as
39
+ * the patches' `index` lines are anyway
40
+ */
41
+ setAbbrev(length?: number): this;
42
+ /** `-z`: NUL-terminated fields, paths unquoted */
43
+ setNullTerminated(z: boolean): this;
44
+ /** The output as text (paths decoded as {@link decodeGitPath} decodes them) */
45
+ callText(): Promise<string>;
46
+ /** The formats asked for, git's default otherwise, with diff_setup_done's exclusions */
47
+ protected outputFormats(fallback?: DiffOutputFormat): DiffOutputFormat[];
48
+ /** Whether a format needs the whole tree walked (anything but raw and the names) */
49
+ protected impliesRecursive(formats: DiffOutputFormat[]): boolean;
50
+ /** The diff options of a plumbing run: no ui configuration, no renames unless asked */
51
+ protected plumbingOptions(): DiffTextOptions;
52
+ /** A DiffCommand set up with the run's options and pathspec */
53
+ protected diffCommand(): DiffCommand;
54
+ /** The bytes a DiffCommand prints for these formats (nothing for an empty diff) */
55
+ protected printed(diff: DiffCommand, formats: DiffOutputFormat[]): Promise<Uint8Array>;
56
+ }
57
+ /** How `git diff-tree` shows a merge: not at all (default), `-m`, `-c` or `--cc` */
58
+ export type DiffTreeMerges = "none" | "separate" | "combined" | "dense-combined";
59
+ /**
60
+ * `git diff-tree [--stdin] [-m] [-c | --cc] [-r] [-t] [--root] [--no-commit-id] [--pretty]
61
+ * <tree-ish> [<tree-ish>] [<path>...]`.
62
+ *
63
+ * Two tree-ishes are compared as trees; one names a commit, shown with its id (or its log
64
+ * with `--pretty`) and its diff against its parent, nothing when that diff is empty (a root
65
+ * commit only with `--root`, a merge only with `-m`, `-c` or `--cc`). `--stdin` reads
66
+ * `<commit> [<parent>...]` lines (the parents grafted for that diff) and `<tree> <tree>` lines
67
+ * (printed before their diff); any other line is echoed. Without `-r` the top tree's entries
68
+ * are compared (subtrees as `040000` entries); a patch or a stat walks the whole tree.
69
+ */
70
+ export declare class DiffTreeCommand extends DiffPlumbingCommand {
71
+ private args;
72
+ private recursive;
73
+ private showTrees;
74
+ private root;
75
+ private stdin?;
76
+ private merges;
77
+ private noCommitId;
78
+ private pretty?;
79
+ /** A tree-ish (one: a commit; two: the trees compared) */
80
+ addArgument(treeish: string): this;
81
+ /** `-r`: the subtrees' contents compared */
82
+ setRecursive(recursive: boolean): this;
83
+ /** `-t`: the subtrees shown too on the way to their contents (implies `-r`) */
84
+ setShowTrees(show: boolean): this;
85
+ /** `--root`: a root commit shown against the empty tree */
86
+ setRoot(root: boolean): this;
87
+ /** `--stdin`: the lines read (git's standard input) */
88
+ setStdin(input: string | Uint8Array): this;
89
+ /** `-m`, `-c`, `--cc`: how a merge is shown */
90
+ setMerges(merges: DiffTreeMerges): this;
91
+ /** `--no-commit-id`: no commit id before a commit's diff */
92
+ setNoCommitId(noCommitId: boolean): this;
93
+ /** `--pretty[=<format>]`: the commit's log instead of its id (`medium` for `--pretty`) */
94
+ setPretty(format: string): this;
95
+ call(): Promise<Uint8Array>;
96
+ /** The tree walk the run asks for (diff_setup_done: a patch or a stat recurses) */
97
+ private walk;
98
+ /** Two trees compared: their diff alone */
99
+ private diffTrees;
100
+ /** One commit (its log and diff), or the tree a single argument names against nothing */
101
+ private commitOrTree;
102
+ /** A tree-ish's object id (a commit's, or a tree's for a tree) */
103
+ private resolveTreeish;
104
+ /** Whether an id names a commit or a tree (anything else: undefined) */
105
+ private objectKind;
106
+ }
107
+ /**
108
+ * `git diff-index [--cached] <tree-ish> [<path>...]`: a tree against the index
109
+ * (`--cached`) or against the worktree, the index telling which files are unchanged by their
110
+ * stat; a worktree file whose stat differs shows the null id in the raw output.
111
+ */
112
+ export declare class DiffIndexCommand extends DiffPlumbingCommand {
113
+ private tree?;
114
+ private cached;
115
+ /** The tree-ish compared */
116
+ setTree(treeish: string): this;
117
+ /** `--cached`: the index, not the worktree */
118
+ setCached(cached: boolean): this;
119
+ call(): Promise<Uint8Array>;
120
+ }
121
+ /**
122
+ * `git diff-files [<path>...]`: the index against the worktree, by the entries' stat (a file
123
+ * whose stat differs is listed even when its content did not change, its raw id the null
124
+ * id); an unmerged path is listed as `U`, then against stage 2.
125
+ */
126
+ export declare class DiffFilesCommand extends DiffPlumbingCommand {
127
+ call(): Promise<Uint8Array>;
128
+ }
129
+ //# sourceMappingURL=diff-plumbing-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"diff-plumbing-command.d.ts","sourceRoot":"","sources":["../../../src/commands/diff-plumbing/diff-plumbing-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAKH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAM9F,qEAAqE;AACrE,8BAAsB,mBAAoB,SAAQ,UAAU,CAAC,UAAU,CAAC;IACtE,SAAS,CAAC,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACvC,SAAS,CAAC,WAAW,EAAE,eAAe,CAAM;IAC5C,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,CAAM;IAClC,OAAO,CAAC,WAAW,CAAS;IAE5B;;;;O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-0,0 +1,3 @@
1
+ export * from "./diff-pairs-command.js";
2
+ export * from "./diff-plumbing-command.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/diff-plumbing/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC"}