Merge branch 'bc/hash-transition-interop-part-1' into seen

SHA-256 transition.

Seems to break the tests when merged to 'seen'.

* bc/hash-transition-interop-part-1:
  fixup! hash: provide per-algorithm null OIDs
  hex: print objects using the hash algorithm member
  hex: default to the_hash_algo on zero algorithm value
  builtin/pack-objects: avoid using struct object_id for pack hash
  commit-graph: don't store file hashes as struct object_id
  builtin/show-index: set the algorithm for object IDs
  hash: provide per-algorithm null OIDs
  hash: set and copy algo field in struct object_id
  cache: compare the entire buffer for struct object_id
  builtin/pack-redundant: avoid casting buffers to struct object_id
  Use the final_oid_fn to finalize hashing of object IDs
  hash: add a function to finalize object IDs
  Always use oidread to read into struct object_id
  cache: add an algo member to struct object_id
  builtin/hash-object: allow literally hashing with a given algorithm
  sha1-file: allow hashing objects literally with any algorithm
tree: 833e794ec592cfe5cfc3675b5fe829eccac3c1b9
  1. .cirrus.yml
  2. .clang-format
  3. .editorconfig
  4. .gitattributes
  5. .github/
  6. .gitignore
  7. .gitmodules
  8. .mailmap
  9. .travis.yml
  10. .tsan-suppressions
  11. CODE_OF_CONDUCT.md
  12. COPYING
  13. Documentation/
  14. GIT-VERSION-GEN
  15. INSTALL
  16. LGPL-2.1
  17. Makefile
  18. README.md
  19. SECURITY.md
  20. abspath.c
  21. aclocal.m4
  22. add-interactive.c
  23. add-interactive.h
  24. add-patch.c
  25. advice.c
  26. advice.h
  27. alias.c
  28. alias.h
  29. alloc.c
  30. alloc.h
  31. apply.c
  32. apply.h
  33. archive-tar.c
  34. archive-zip.c
  35. archive.c
  36. archive.h
  37. attr.c
  38. attr.h
  39. banned.h
  40. base85.c
  41. bisect.c
  42. bisect.h
  43. blame.c
  44. blame.h
  45. blob.c
  46. blob.h
  47. block-sha1/
  48. bloom.c
  49. bloom.h
  50. branch.c
  51. branch.h
  52. builtin.h
  53. builtin/
  54. bulk-checkin.c
  55. bulk-checkin.h
  56. bundle.c
  57. bundle.h
  58. cache-tree.c
  59. cache-tree.h
  60. cache.h
  61. chdir-notify.c
  62. chdir-notify.h
  63. check-builtins.sh
  64. check_bindir
  65. checkout.c
  66. checkout.h
  67. chunk-format.c
  68. chunk-format.h
  69. ci/
  70. color.c
  71. color.h
  72. column.c
  73. column.h
  74. combine-diff.c
  75. command-list.txt
  76. commit-graph.c
  77. commit-graph.h
  78. commit-reach.c
  79. commit-reach.h
  80. commit-slab-decl.h
  81. commit-slab-impl.h
  82. commit-slab.h
  83. commit.c
  84. commit.h
  85. common-main.c
  86. compat/
  87. config.c
  88. config.h
  89. config.mak.dev
  90. config.mak.in
  91. config.mak.uname
  92. configure.ac
  93. connect.c
  94. connect.h
  95. connected.c
  96. connected.h
  97. contrib/
  98. convert.c
  99. convert.h
  100. copy.c
  101. credential.c
  102. credential.h
  103. csum-file.c
  104. csum-file.h
  105. ctype.c
  106. daemon.c
  107. date.c
  108. decorate.c
  109. decorate.h
  110. delta-islands.c
  111. delta-islands.h
  112. delta.h
  113. detect-compiler
  114. diff-delta.c
  115. diff-lib.c
  116. diff-merges.c
  117. diff-merges.h
  118. diff-no-index.c
  119. diff.c
  120. diff.h
  121. diffcore-break.c
  122. diffcore-delta.c
  123. diffcore-order.c
  124. diffcore-pickaxe.c
  125. diffcore-rename.c
  126. diffcore-rotate.c
  127. diffcore.h
  128. dir-iterator.c
  129. dir-iterator.h
  130. dir.c
  131. dir.h
  132. editor.c
  133. entry.c
  134. entry.h
  135. environment.c
  136. environment.h
  137. ewah/
  138. exec-cmd.c
  139. exec-cmd.h
  140. fetch-negotiator.c
  141. fetch-negotiator.h
  142. fetch-pack.c
  143. fetch-pack.h
  144. fmt-merge-msg.c
  145. fmt-merge-msg.h
  146. fsck.c
  147. fsck.h
  148. fsmonitor--daemon.h
  149. fsmonitor-ipc.c
  150. fsmonitor-ipc.h
  151. fsmonitor.c
  152. fsmonitor.h
  153. fuzz-commit-graph.c
  154. fuzz-pack-headers.c
  155. fuzz-pack-idx.c
  156. generate-cmdlist.sh
  157. generate-configlist.sh
  158. gettext.c
  159. gettext.h
  160. git-add--interactive.perl
  161. git-archimport.perl
  162. git-bisect.sh
  163. git-compat-util.h
  164. git-cvsexportcommit.perl
  165. git-cvsimport.perl
  166. git-cvsserver.perl
  167. git-difftool--helper.sh
  168. git-filter-branch.sh
  169. git-gui/
  170. git-instaweb.sh
  171. git-mergetool--lib.sh
  172. git-mergetool.sh
  173. git-p4.py
  174. git-quiltimport.sh
  175. git-rebase--preserve-merges.sh
  176. git-request-pull.sh
  177. git-send-email.perl
  178. git-sh-i18n.sh
  179. git-sh-setup.sh
  180. git-submodule.sh
  181. git-svn.perl
  182. git-web--browse.sh
  183. git.c
  184. git.rc
  185. gitk-git/
  186. gitweb/
  187. gpg-interface.c
  188. gpg-interface.h
  189. graph.c
  190. graph.h
  191. grep.c
  192. grep.h
  193. hash-lookup.c
  194. hash-lookup.h
  195. hash.h
  196. hashmap.c
  197. hashmap.h
  198. help.c
  199. help.h
  200. hex.c
  201. http-backend.c
  202. http-fetch.c
  203. http-push.c
  204. http-walker.c
  205. http.c
  206. http.h
  207. ident.c
  208. imap-send.c
  209. iterator.h
  210. json-writer.c
  211. json-writer.h
  212. khash.h
  213. kwset.c
  214. kwset.h
  215. levenshtein.c
  216. levenshtein.h
  217. line-log.c
  218. line-log.h
  219. line-range.c
  220. line-range.h
  221. linear-assignment.c
  222. linear-assignment.h
  223. list-objects-filter-options.c
  224. list-objects-filter-options.h
  225. list-objects-filter.c
  226. list-objects-filter.h
  227. list-objects.c
  228. list-objects.h
  229. list.h
  230. ll-merge.c
  231. ll-merge.h
  232. lockfile.c
  233. lockfile.h
  234. log-tree.c
  235. log-tree.h
  236. ls-refs.c
  237. ls-refs.h
  238. mailinfo.c
  239. mailinfo.h
  240. mailmap.c
  241. mailmap.h
  242. match-trees.c
  243. mem-pool.c
  244. mem-pool.h
  245. merge-blobs.c
  246. merge-blobs.h
  247. merge-ort-wrappers.c
  248. merge-ort-wrappers.h
  249. merge-ort.c
  250. merge-ort.h
  251. merge-recursive.c
  252. merge-recursive.h
  253. merge-strategies.c
  254. merge-strategies.h
  255. merge.c
  256. mergesort.c
  257. mergesort.h
  258. mergetools/
  259. midx.c
  260. midx.h
  261. name-hash.c
  262. negotiator/
  263. notes-cache.c
  264. notes-cache.h
  265. notes-merge.c
  266. notes-merge.h
  267. notes-utils.c
  268. notes-utils.h
  269. notes.c
  270. notes.h
  271. object-file.c
  272. object-name.c
  273. object-store.h
  274. object.c
  275. object.h
  276. oid-array.c
  277. oid-array.h
  278. oidmap.c
  279. oidmap.h
  280. oidset.c
  281. oidset.h
  282. pack-bitmap-write.c
  283. pack-bitmap.c
  284. pack-bitmap.h
  285. pack-check.c
  286. pack-objects.c
  287. pack-objects.h
  288. pack-revindex.c
  289. pack-revindex.h
  290. pack-write.c
  291. pack.h
  292. packfile.c
  293. packfile.h
  294. pager.c
  295. parallel-checkout.c
  296. parallel-checkout.h
  297. parse-options-cb.c
  298. parse-options.c
  299. parse-options.h
  300. patch-delta.c
  301. patch-ids.c
  302. patch-ids.h
  303. path.c
  304. path.h
  305. pathspec.c
  306. pathspec.h
  307. perl/
  308. pkt-line.c
  309. pkt-line.h
  310. po/
  311. ppc/
  312. preload-index.c
  313. pretty.c
  314. pretty.h
  315. prio-queue.c
  316. prio-queue.h
  317. progress.c
  318. progress.h
  319. promisor-remote.c
  320. promisor-remote.h
  321. prompt.c
  322. prompt.h
  323. protocol-caps.c
  324. protocol-caps.h
  325. protocol.c
  326. protocol.h
  327. prune-packed.c
  328. prune-packed.h
  329. quote.c
  330. quote.h
  331. range-diff.c
  332. range-diff.h
  333. reachable.c
  334. reachable.h
  335. read-cache.c
  336. rebase-interactive.c
  337. rebase-interactive.h
  338. rebase.c
  339. rebase.h
  340. ref-filter.c
  341. ref-filter.h
  342. reflog-walk.c
  343. reflog-walk.h
  344. refs.c
  345. refs.h
  346. refs/
  347. refspec.c
  348. refspec.h
  349. reftable/
  350. remote-curl.c
  351. remote.c
  352. remote.h
  353. replace-object.c
  354. replace-object.h
  355. repo-settings.c
  356. repository.c
  357. repository.h
  358. rerere.c
  359. rerere.h
  360. reset.c
  361. reset.h
  362. resolve-undo.c
  363. resolve-undo.h
  364. revision.c
  365. revision.h
  366. run-command.c
  367. run-command.h
  368. send-pack.c
  369. send-pack.h
  370. sequencer.c
  371. sequencer.h
  372. serve.c
  373. serve.h
  374. server-info.c
  375. setup.c
  376. sh-i18n--envsubst.c
  377. sha1dc/
  378. sha1dc_git.c
  379. sha1dc_git.h
  380. sha256/
  381. shallow.c
  382. shallow.h
  383. shell.c
  384. shortlog.h
  385. sideband.c
  386. sideband.h
  387. sigchain.c
  388. sigchain.h
  389. simple-ipc.h
  390. sparse-index.c
  391. sparse-index.h
  392. split-index.c
  393. split-index.h
  394. stable-qsort.c
  395. strbuf.c
  396. strbuf.h
  397. streaming.c
  398. streaming.h
  399. string-list.c
  400. string-list.h
  401. strmap.c
  402. strmap.h
  403. strvec.c
  404. strvec.h
  405. sub-process.c
  406. sub-process.h
  407. submodule-config.c
  408. submodule-config.h
  409. submodule.c
  410. submodule.h
  411. symlinks.c
  412. t/
  413. tag.c
  414. tag.h
  415. tar.h
  416. tempfile.c
  417. tempfile.h
  418. templates/
  419. thread-utils.c
  420. thread-utils.h
  421. tmp-objdir.c
  422. tmp-objdir.h
  423. trace.c
  424. trace.h
  425. trace2.c
  426. trace2.h
  427. trace2/
  428. trailer.c
  429. trailer.h
  430. transport-helper.c
  431. transport-internal.h
  432. transport.c
  433. transport.h
  434. tree-diff.c
  435. tree-walk.c
  436. tree-walk.h
  437. tree.c
  438. tree.h
  439. unicode-width.h
  440. unimplemented.sh
  441. unix-socket.c
  442. unix-socket.h
  443. unix-stream-server.c
  444. unix-stream-server.h
  445. unpack-trees.c
  446. unpack-trees.h
  447. upload-pack.c
  448. upload-pack.h
  449. url.c
  450. url.h
  451. urlmatch.c
  452. urlmatch.h
  453. usage.c
  454. userdiff.c
  455. userdiff.h
  456. utf8.c
  457. utf8.h
  458. varint.c
  459. varint.h
  460. version.c
  461. version.h
  462. versioncmp.c
  463. walker.c
  464. walker.h
  465. wildmatch.c
  466. wildmatch.h
  467. worktree.c
  468. worktree.h
  469. wrap-for-bin.sh
  470. wrapper.c
  471. write-or-die.c
  472. ws.c
  473. wt-status.c
  474. wt-status.h
  475. xdiff-interface.c
  476. xdiff-interface.h
  477. xdiff/
  478. zlib.c
README.md

Build status

Git - fast, scalable, distributed revision control system

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals.

Git is an Open Source project covered by the GNU General Public License version 2 (some parts of it are under different licenses, compatible with the GPLv2). It was originally written by Linus Torvalds with help of a group of hackers around the net.

Please read the file INSTALL for installation instructions.

Many Git online resources are accessible from https://git-scm.com/ including full documentation and Git related tools.

See Documentation/gittutorial.txt to get started, then see Documentation/giteveryday.txt for a useful minimum set of commands, and Documentation/git-<commandname>.txt for documentation of each command. If git has been correctly installed, then the tutorial can also be read with man gittutorial or git help tutorial, and the documentation of each command with man git-<commandname> or git help <commandname>.

CVS users may also want to read Documentation/gitcvs-migration.txt (man gitcvs-migration or git help cvs-migration if git is installed).

The user discussion and development of Git take place on the Git mailing list -- everyone is welcome to post bug reports, feature requests, comments and patches to git@vger.kernel.org (read Documentation/SubmittingPatches for instructions on patch submission). To subscribe to the list, send an email with just “subscribe git” in the body to majordomo@vger.kernel.org. The mailing list archives are available at https://lore.kernel.org/git/, http://marc.info/?l=git and other archival sites.

Issues which are security relevant should be disclosed privately to the Git Security mailing list git-security@googlegroups.com.

The maintainer frequently sends the “What's cooking” reports that list the current status of various development topics to the mailing list. The discussion following them give a good reference for project status, development direction and remaining tasks.

The name “git” was given by Linus Torvalds when he wrote the very first version. He described the tool as “the stupid content tracker” and the name as (depending on your mood):

  • random three-letter combination that is pronounceable, and not actually used by any common UNIX command. The fact that it is a mispronunciation of “get” may or may not be relevant.
  • stupid. contemptible and despicable. simple. Take your pick from the dictionary of slang.
  • “global information tracker”: you're in a good mood, and it actually works for you. Angels sing, and a light suddenly fills the room.
  • “goddamn idiotic truckload of sh*t”: when it breaks