Merge branch 'ab/describe-tests-fix' into seen

Various updates to tests around "git describe"

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