ci: avoid running the test suite _twice_

This is a late amendment of 4a6e4b960263 (CI: remove Travis CI support,
2021-11-23), whereby the `.prove` file (being written by the `prove`
command that is used to run the test suite) is no longer retained
between CI builds: This feature was only ever used in the Travis CI
builds, we tried for a while to do the same in Azure Pipelines CI runs
(but I gave up on it after a while), and we never used that feature in
GitHub Actions (nor does the new GitLab CI code use it).

Retaining the Prove cache has been fragile from the start, even though
the idea seemed good at the time, the idea being that the `.prove` file
caches information about previous `prove` runs (`save`) and uses them
(`slow`) to run the tests in the order from longer-running to shorter
ones, making optimal use of the parallelism implied by `--jobs=<N>`.

However, using a Prove cache can cause some surprising behavior: When
the `prove` caches information about a test script it has run,
subsequent `prove` runs (with `--state=slow`) will run the same test
script again even if said script is not specified on the `prove`
command-line!

So far, this bug did not matter. Right until d8f416bbb87c (ci: run unit
tests in CI, 2023-11-09) did it not matter.

But starting with that commit, we invoke `prove` _twice_ in CI, once to
run the regular test suite of regression test scripts, and once to run
the unit tests. Due to the bug, the second invocation re-runs all of the
tests that were already run as part of the first invocation. This not
only wastes build minutes, it also frequently causes the `osx-*` jobs to
fail because they already take a long time and now are likely to run
into a timeout.

The worst part about it is that there is actually no benefit to keep
running with `--state=slow,save`, ever since we decided no longer to
try to reuse the Prove cache between CI runs.

So let's just drop that Prove option and live happily ever after.

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