Merge branch 'po/hash-object-size-t' into seen

Support for hashing loose or packed objects larger than 4GB on Windows
and other LLP64 platforms has been improved by converting object header
buffers and data-handling functions from 'unsigned long' to 'size_t'.

* po/hash-object-size-t:
  hash-object: add a >4GB/LLP64 test case using filtered input
  hash-object: add another >4GB/LLP64 test case
  hash-object --stdin: verify that it works with >4GB/LLP64
  hash algorithms: use size_t for section lengths
  object-file.c: use size_t for header lengths
  hash-object: demonstrate a >4GB/LLP64 problem
tree: bd5bec2387f2eb20cd3b65c4f7a6849c75029aaf
  1. .github/
  2. bin-wrappers/
  3. block-sha1/
  4. builtin/
  5. ci/
  6. compat/
  7. compiler-tricks/
  8. contrib/
  9. Documentation/
  10. ewah/
  11. git-gui/
  12. gitk-git/
  13. gitweb/
  14. mergetools/
  15. negotiator/
  16. odb/
  17. oss-fuzz/
  18. perl/
  19. po/
  20. refs/
  21. reftable/
  22. sha1/
  23. sha1dc/
  24. sha256/
  25. src/
  26. subprojects/
  27. t/
  28. templates/
  29. tools/
  30. trace2/
  31. xdiff/
  32. .b4-config
  33. .b4-cover-template
  34. .cirrus.yml
  35. .clang-format
  36. .editorconfig
  37. .gitattributes
  38. .gitignore
  39. .gitlab-ci.yml
  40. .gitmodules
  41. .mailmap
  42. .tsan-suppressions
  43. abspath.c
  44. abspath.h
  45. aclocal.m4
  46. add-interactive.c
  47. add-interactive.h
  48. add-patch.c
  49. add-patch.h
  50. advice.c
  51. advice.h
  52. alias.c
  53. alias.h
  54. alloc.c
  55. alloc.h
  56. apply.c
  57. apply.h
  58. archive-tar.c
  59. archive-zip.c
  60. archive.c
  61. archive.h
  62. attr.c
  63. attr.h
  64. autocorrect.c
  65. autocorrect.h
  66. banned.h
  67. base85.c
  68. base85.h
  69. bisect.c
  70. bisect.h
  71. blame.c
  72. blame.h
  73. blob.c
  74. blob.h
  75. bloom.c
  76. bloom.h
  77. branch.c
  78. branch.h
  79. build.rs
  80. builtin.h
  81. bundle-uri.c
  82. bundle-uri.h
  83. bundle.c
  84. bundle.h
  85. cache-tree.c
  86. cache-tree.h
  87. Cargo.toml
  88. cbtree.c
  89. cbtree.h
  90. chdir-notify.c
  91. chdir-notify.h
  92. checkout.c
  93. checkout.h
  94. chunk-format.c
  95. chunk-format.h
  96. CODE_OF_CONDUCT.md
  97. color.c
  98. color.h
  99. column.c
  100. column.h
  101. combine-diff.c
  102. command-list.txt
  103. commit-graph.c
  104. commit-graph.h
  105. commit-reach.c
  106. commit-reach.h
  107. commit-slab-decl.h
  108. commit-slab-impl.h
  109. commit-slab.h
  110. commit.c
  111. commit.h
  112. common-exit.c
  113. common-init.c
  114. common-init.h
  115. common-main.c
  116. config.c
  117. config.h
  118. config.mak.dev
  119. config.mak.in
  120. config.mak.uname
  121. configure.ac
  122. connect.c
  123. connect.h
  124. connected.c
  125. connected.h
  126. convert.c
  127. convert.h
  128. copy.c
  129. copy.h
  130. COPYING
  131. credential.c
  132. credential.h
  133. csum-file.c
  134. csum-file.h
  135. ctype.c
  136. daemon.c
  137. date.c
  138. date.h
  139. decorate.c
  140. decorate.h
  141. delta-islands.c
  142. delta-islands.h
  143. delta.h
  144. diagnose.c
  145. diagnose.h
  146. diff-delta.c
  147. diff-lib.c
  148. diff-merges.c
  149. diff-merges.h
  150. diff-no-index.c
  151. diff-process.c
  152. diff-process.h
  153. diff.c
  154. diff.h
  155. diffcore-break.c
  156. diffcore-delta.c
  157. diffcore-order.c
  158. diffcore-pickaxe.c
  159. diffcore-rename.c
  160. diffcore-rotate.c
  161. diffcore.h
  162. dir-iterator.c
  163. dir-iterator.h
  164. dir.c
  165. dir.h
  166. editor.c
  167. editor.h
  168. entry.c
  169. entry.h
  170. environment.c
  171. environment.h
  172. exec-cmd.c
  173. exec-cmd.h
  174. fetch-negotiator.c
  175. fetch-negotiator.h
  176. fetch-object-info.c
  177. fetch-object-info.h
  178. fetch-pack.c
  179. fetch-pack.h
  180. fmt-merge-msg.c
  181. fmt-merge-msg.h
  182. for-each-ref.h
  183. fsck.c
  184. fsck.h
  185. fsmonitor--daemon.h
  186. fsmonitor-ipc.c
  187. fsmonitor-ipc.h
  188. fsmonitor-ll.h
  189. fsmonitor-path-utils.h
  190. fsmonitor-settings.c
  191. fsmonitor-settings.h
  192. fsmonitor.c
  193. fsmonitor.h
  194. gettext.c
  195. gettext.h
  196. git-archimport.perl
  197. GIT-BUILD-OPTIONS.in
  198. git-compat-util.h
  199. git-curl-compat.h
  200. git-cvsexportcommit.perl
  201. git-cvsimport.perl
  202. git-cvsserver.perl
  203. git-difftool--helper.sh
  204. git-filter-branch.sh
  205. git-instaweb.sh
  206. git-merge-octopus.sh
  207. git-merge-one-file.sh
  208. git-merge-resolve.sh
  209. git-mergetool--lib.sh
  210. git-mergetool.sh
  211. git-p4.py
  212. git-quiltimport.sh
  213. git-request-pull.sh
  214. git-send-email.perl
  215. git-sh-i18n.sh
  216. git-sh-setup.sh
  217. git-submodule.sh
  218. git-svn.perl
  219. GIT-VERSION-FILE.in
  220. GIT-VERSION-GEN
  221. git-web--browse.sh
  222. git-zlib.c
  223. git-zlib.h
  224. git.c
  225. git.rc.in
  226. gpg-interface.c
  227. gpg-interface.h
  228. graph.c
  229. graph.h
  230. grep.c
  231. grep.h
  232. hash-lookup.c
  233. hash-lookup.h
  234. hash.c
  235. hash.h
  236. hashmap.c
  237. hashmap.h
  238. help.c
  239. help.h
  240. hex-ll.c
  241. hex-ll.h
  242. hex.c
  243. hex.h
  244. hook.c
  245. hook.h
  246. http-backend.c
  247. http-fetch.c
  248. http-push.c
  249. http-walker.c
  250. http.c
  251. http.h
  252. ident.c
  253. ident.h
  254. imap-send.c
  255. INSTALL
  256. iterator.h
  257. json-writer.c
  258. json-writer.h
  259. khash.h
  260. kwset.c
  261. kwset.h
  262. levenshtein.c
  263. levenshtein.h
  264. LGPL-2.1
  265. line-log.c
  266. line-log.h
  267. line-range.c
  268. line-range.h
  269. linear-assignment.c
  270. linear-assignment.h
  271. list-objects-filter-options.c
  272. list-objects-filter-options.h
  273. list-objects-filter.c
  274. list-objects-filter.h
  275. list-objects.c
  276. list-objects.h
  277. list.h
  278. lockfile.c
  279. lockfile.h
  280. log-tree.c
  281. log-tree.h
  282. loose.c
  283. loose.h
  284. ls-refs.c
  285. ls-refs.h
  286. mailinfo.c
  287. mailinfo.h
  288. mailmap.c
  289. mailmap.h
  290. Makefile
  291. match-trees.c
  292. match-trees.h
  293. mem-pool.c
  294. mem-pool.h
  295. merge-blobs.c
  296. merge-blobs.h
  297. merge-ll.c
  298. merge-ll.h
  299. merge-ort-wrappers.c
  300. merge-ort-wrappers.h
  301. merge-ort.c
  302. merge-ort.h
  303. merge.c
  304. merge.h
  305. mergesort.h
  306. meson.build
  307. meson_options.txt
  308. midx-write.c
  309. midx.c
  310. midx.h
  311. name-hash.c
  312. name-hash.h
  313. notes-cache.c
  314. notes-cache.h
  315. notes-merge.c
  316. notes-merge.h
  317. notes-utils.c
  318. notes-utils.h
  319. notes.c
  320. notes.h
  321. object-file-convert.c
  322. object-file-convert.h
  323. object-file.c
  324. object-file.h
  325. object-name.c
  326. object-name.h
  327. object.c
  328. object.h
  329. odb.c
  330. odb.h
  331. oid-array.c
  332. oid-array.h
  333. oidmap.c
  334. oidmap.h
  335. oidset.c
  336. oidset.h
  337. oidtree.c
  338. oidtree.h
  339. pack-bitmap-write.c
  340. pack-bitmap.c
  341. pack-bitmap.h
  342. pack-check.c
  343. pack-mtimes.c
  344. pack-mtimes.h
  345. pack-objects.c
  346. pack-objects.h
  347. pack-refs.c
  348. pack-refs.h
  349. pack-revindex.c
  350. pack-revindex.h
  351. pack-write.c
  352. pack.h
  353. packfile-list.c
  354. packfile-list.h
  355. packfile.c
  356. packfile.h
  357. pager.c
  358. pager.h
  359. parallel-checkout.c
  360. parallel-checkout.h
  361. parse-options-cb.c
  362. parse-options.c
  363. parse-options.h
  364. parse.c
  365. parse.h
  366. patch-delta.c
  367. patch-ids.c
  368. patch-ids.h
  369. path-walk.c
  370. path-walk.h
  371. path.c
  372. path.h
  373. pathspec.c
  374. pathspec.h
  375. pkt-line.c
  376. pkt-line.h
  377. preload-index.c
  378. preload-index.h
  379. pretty.c
  380. pretty.h
  381. prio-queue.c
  382. prio-queue.h
  383. progress.c
  384. progress.h
  385. promisor-remote.c
  386. promisor-remote.h
  387. prompt.c
  388. prompt.h
  389. protocol-caps.c
  390. protocol-caps.h
  391. protocol.c
  392. protocol.h
  393. prune-packed.c
  394. prune-packed.h
  395. pseudo-merge.c
  396. pseudo-merge.h
  397. quote.c
  398. quote.h
  399. range-diff.c
  400. range-diff.h
  401. reachable.c
  402. reachable.h
  403. read-cache-ll.h
  404. read-cache.c
  405. read-cache.h
  406. README.md
  407. rebase-interactive.c
  408. rebase-interactive.h
  409. rebase.c
  410. rebase.h
  411. ref-filter.c
  412. ref-filter.h
  413. reflog-walk.c
  414. reflog-walk.h
  415. reflog.c
  416. reflog.h
  417. refs.c
  418. refs.h
  419. refspec.c
  420. refspec.h
  421. remote-curl.c
  422. remote.c
  423. remote.h
  424. repack-cruft.c
  425. repack-filtered.c
  426. repack-geometry.c
  427. repack-midx.c
  428. repack-promisor.c
  429. repack.c
  430. repack.h
  431. replace-object.c
  432. replace-object.h
  433. replay.c
  434. replay.h
  435. repo-settings.c
  436. repo-settings.h
  437. repository.c
  438. repository.h
  439. rerere.c
  440. rerere.h
  441. reset.c
  442. reset.h
  443. resolve-undo.c
  444. resolve-undo.h
  445. revision.c
  446. revision.h
  447. run-command.c
  448. run-command.h
  449. sane-ctype.h
  450. scalar.c
  451. SECURITY.md
  452. send-pack.c
  453. send-pack.h
  454. sequencer.c
  455. sequencer.h
  456. serve.c
  457. serve.h
  458. server-info.c
  459. server-info.h
  460. setup.c
  461. setup.h
  462. sh-i18n--envsubst.c
  463. sha1dc_git.c
  464. sha1dc_git.h
  465. shallow.c
  466. shallow.h
  467. shared.mak
  468. shell.c
  469. shortlog.h
  470. sideband.c
  471. sideband.h
  472. sigchain.c
  473. sigchain.h
  474. simple-ipc.h
  475. sparse-index.c
  476. sparse-index.h
  477. split-index.c
  478. split-index.h
  479. stable-qsort.c
  480. statinfo.c
  481. statinfo.h
  482. strbuf.c
  483. strbuf.h
  484. string-list.c
  485. string-list.h
  486. strmap.c
  487. strmap.h
  488. strvec.c
  489. strvec.h
  490. sub-process.c
  491. sub-process.h
  492. submodule-config.c
  493. submodule-config.h
  494. submodule.c
  495. submodule.h
  496. symlinks.c
  497. symlinks.h
  498. tag.c
  499. tag.h
  500. tar.h
  501. tempfile.c
  502. tempfile.h
  503. thread-utils.c
  504. thread-utils.h
  505. tmp-objdir.c
  506. tmp-objdir.h
  507. trace.c
  508. trace.h
  509. trace2.c
  510. trace2.h
  511. trailer.c
  512. trailer.h
  513. transport-helper.c
  514. transport-internal.h
  515. transport.c
  516. transport.h
  517. tree-diff.c
  518. tree-walk.c
  519. tree-walk.h
  520. tree.c
  521. tree.h
  522. unicode-width.h
  523. unimplemented.sh
  524. unix-socket.c
  525. unix-socket.h
  526. unix-stream-server.c
  527. unix-stream-server.h
  528. unpack-trees.c
  529. unpack-trees.h
  530. upload-pack.c
  531. upload-pack.h
  532. url.c
  533. url.h
  534. urlmatch.c
  535. urlmatch.h
  536. usage.c
  537. userdiff.c
  538. userdiff.h
  539. utf8.c
  540. utf8.h
  541. varint.c
  542. varint.h
  543. version-def.h.in
  544. version.c
  545. version.h
  546. versioncmp.c
  547. versioncmp.h
  548. walker.c
  549. walker.h
  550. wildmatch.c
  551. wildmatch.h
  552. worktree.c
  553. worktree.h
  554. wrapper.c
  555. wrapper.h
  556. write-or-die.c
  557. write-or-die.h
  558. ws.c
  559. ws.h
  560. wt-status.c
  561. wt-status.h
  562. xdiff-interface.c
  563. xdiff-interface.h
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.adoc to get started, then see Documentation/giteveryday.adoc for a useful minimum set of commands, and Documentation/git-<commandname>.adoc 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.adoc (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 and Documentation/CodingGuidelines).

Those wishing to help with error message, usage and informational message string translations (localization l10) should see po/README.md (a po file is a Portable Object file that holds the translations).

To subscribe to the list, send an email to git+subscribe@vger.kernel.org (see https://subspace.kernel.org/subscribing.html for details). The mailing list archives are available at https://lore.kernel.org/git/, https://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