Merge branch 'la/hide-trailer-info' into seen

The trailer API has been reshuffled a bit.

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