Sync with 2.17.3

* maint-2.17: (32 commits)
  Git 2.17.3
  Git 2.16.6
  test-drop-caches: use `has_dos_drive_prefix()`
  Git 2.15.4
  Git 2.14.6
  mingw: handle `subst`-ed "DOS drives"
  mingw: refuse to access paths with trailing spaces or periods
  mingw: refuse to access paths with illegal characters
  unpack-trees: let merged_entry() pass through do_add_entry()'s errors
  quote-stress-test: offer to test quoting arguments for MSYS2 sh
  t6130/t9350: prepare for stringent Win32 path validation
  quote-stress-test: allow skipping some trials
  quote-stress-test: accept arguments to test via the command-line
  tests: add a helper to stress test argument quoting
  mingw: fix quoting of arguments
  Disallow dubiously-nested submodule git directories
  protect_ntfs: turn on NTFS protection by default
  path: also guard `.gitmodules` against NTFS Alternate Data Streams
  is_ntfs_dotgit(): speed it up
  mingw: disallow backslash characters in tree objects' file names
  ...
tree: d8127060ce208c40c4f5dd67a412171154e362c6
  1. .clang-format
  2. .gitattributes
  3. .github/
  4. .gitignore
  5. .gitmodules
  6. .mailmap
  7. .travis.yml
  8. .tsan-suppressions
  9. COPYING
  10. Documentation/
  11. GIT-VERSION-GEN
  12. INSTALL
  13. LGPL-2.1
  14. Makefile
  15. README.md
  16. abspath.c
  17. aclocal.m4
  18. advice.c
  19. advice.h
  20. alias.c
  21. alias.h
  22. alloc.c
  23. apply.c
  24. apply.h
  25. archive-tar.c
  26. archive-zip.c
  27. archive.c
  28. archive.h
  29. argv-array.c
  30. argv-array.h
  31. attr.c
  32. attr.h
  33. base85.c
  34. bisect.c
  35. bisect.h
  36. blame.c
  37. blame.h
  38. blob.c
  39. blob.h
  40. block-sha1/
  41. branch.c
  42. branch.h
  43. builtin.h
  44. builtin/
  45. bulk-checkin.c
  46. bulk-checkin.h
  47. bundle.c
  48. bundle.h
  49. cache-tree.c
  50. cache-tree.h
  51. cache.h
  52. chdir-notify.c
  53. chdir-notify.h
  54. check-builtins.sh
  55. check-racy.c
  56. check_bindir
  57. checkout.c
  58. checkout.h
  59. ci/
  60. color.c
  61. color.h
  62. column.c
  63. column.h
  64. combine-diff.c
  65. command-list.txt
  66. commit-graph.c
  67. commit-graph.h
  68. commit-slab.h
  69. commit.c
  70. commit.h
  71. common-main.c
  72. compat/
  73. config.c
  74. config.h
  75. config.mak.dev
  76. config.mak.in
  77. config.mak.uname
  78. configure.ac
  79. connect.c
  80. connect.h
  81. connected.c
  82. connected.h
  83. contrib/
  84. convert.c
  85. convert.h
  86. copy.c
  87. credential-cache--daemon.c
  88. credential-cache.c
  89. credential-store.c
  90. credential.c
  91. credential.h
  92. csum-file.c
  93. csum-file.h
  94. ctype.c
  95. daemon.c
  96. date.c
  97. decorate.c
  98. decorate.h
  99. delta.h
  100. detect-compiler
  101. diff-delta.c
  102. diff-lib.c
  103. diff-no-index.c
  104. diff.c
  105. diff.h
  106. diffcore-break.c
  107. diffcore-delta.c
  108. diffcore-order.c
  109. diffcore-pickaxe.c
  110. diffcore-rename.c
  111. diffcore.h
  112. dir-iterator.c
  113. dir-iterator.h
  114. dir.c
  115. dir.h
  116. editor.c
  117. entry.c
  118. environment.c
  119. ewah/
  120. exec-cmd.c
  121. exec-cmd.h
  122. fast-import.c
  123. fetch-object.c
  124. fetch-object.h
  125. fetch-pack.c
  126. fetch-pack.h
  127. fmt-merge-msg.h
  128. fsck.c
  129. fsck.h
  130. fsmonitor.c
  131. fsmonitor.h
  132. generate-cmdlist.sh
  133. gettext.c
  134. gettext.h
  135. git-add--interactive.perl
  136. git-archimport.perl
  137. git-bisect.sh
  138. git-compat-util.h
  139. git-cvsexportcommit.perl
  140. git-cvsimport.perl
  141. git-cvsserver.perl
  142. git-difftool--helper.sh
  143. git-filter-branch.sh
  144. git-gui/
  145. git-instaweb.sh
  146. git-merge-octopus.sh
  147. git-merge-one-file.sh
  148. git-merge-resolve.sh
  149. git-mergetool--lib.sh
  150. git-mergetool.sh
  151. git-p4.py
  152. git-parse-remote.sh
  153. git-quiltimport.sh
  154. git-rebase--am.sh
  155. git-rebase--interactive.sh
  156. git-rebase--merge.sh
  157. git-rebase.sh
  158. git-remote-testgit.sh
  159. git-request-pull.sh
  160. git-send-email.perl
  161. git-sh-i18n.sh
  162. git-sh-setup.sh
  163. git-stash.sh
  164. git-submodule.sh
  165. git-svn.perl
  166. git-web--browse.sh
  167. git.c
  168. git.rc
  169. gitk-git/
  170. gitweb/
  171. gpg-interface.c
  172. gpg-interface.h
  173. graph.c
  174. graph.h
  175. grep.c
  176. grep.h
  177. hash.h
  178. hashmap.c
  179. hashmap.h
  180. help.c
  181. help.h
  182. hex.c
  183. http-backend.c
  184. http-fetch.c
  185. http-push.c
  186. http-walker.c
  187. http.c
  188. http.h
  189. ident.c
  190. imap-send.c
  191. iterator.h
  192. khash.h
  193. kwset.c
  194. kwset.h
  195. levenshtein.c
  196. levenshtein.h
  197. line-log.c
  198. line-log.h
  199. line-range.c
  200. line-range.h
  201. list-objects-filter-options.c
  202. list-objects-filter-options.h
  203. list-objects-filter.c
  204. list-objects-filter.h
  205. list-objects.c
  206. list-objects.h
  207. list.h
  208. ll-merge.c
  209. ll-merge.h
  210. lockfile.c
  211. lockfile.h
  212. log-tree.c
  213. log-tree.h
  214. ls-refs.c
  215. ls-refs.h
  216. mailinfo.c
  217. mailinfo.h
  218. mailmap.c
  219. mailmap.h
  220. match-trees.c
  221. mem-pool.c
  222. mem-pool.h
  223. merge-blobs.c
  224. merge-blobs.h
  225. merge-recursive.c
  226. merge-recursive.h
  227. merge.c
  228. mergesort.c
  229. mergesort.h
  230. mergetools/
  231. name-hash.c
  232. notes-cache.c
  233. notes-cache.h
  234. notes-merge.c
  235. notes-merge.h
  236. notes-utils.c
  237. notes-utils.h
  238. notes.c
  239. notes.h
  240. object-store.h
  241. object.c
  242. object.h
  243. oidmap.c
  244. oidmap.h
  245. oidset.c
  246. oidset.h
  247. pack-bitmap-write.c
  248. pack-bitmap.c
  249. pack-bitmap.h
  250. pack-check.c
  251. pack-objects.c
  252. pack-objects.h
  253. pack-revindex.c
  254. pack-revindex.h
  255. pack-write.c
  256. pack.h
  257. packfile.c
  258. packfile.h
  259. pager.c
  260. parse-options-cb.c
  261. parse-options.c
  262. parse-options.h
  263. patch-delta.c
  264. patch-ids.c
  265. patch-ids.h
  266. path.c
  267. path.h
  268. pathspec.c
  269. pathspec.h
  270. perl/
  271. pkt-line.c
  272. pkt-line.h
  273. po/
  274. ppc/
  275. preload-index.c
  276. pretty.c
  277. pretty.h
  278. prio-queue.c
  279. prio-queue.h
  280. progress.c
  281. progress.h
  282. prompt.c
  283. prompt.h
  284. protocol.c
  285. protocol.h
  286. quote.c
  287. quote.h
  288. reachable.c
  289. reachable.h
  290. read-cache.c
  291. ref-filter.c
  292. ref-filter.h
  293. reflog-walk.c
  294. reflog-walk.h
  295. refs.c
  296. refs.h
  297. refs/
  298. refspec.c
  299. refspec.h
  300. remote-curl.c
  301. remote-testsvn.c
  302. remote.c
  303. remote.h
  304. replace-object.c
  305. replace-object.h
  306. repository.c
  307. repository.h
  308. rerere.c
  309. rerere.h
  310. resolve-undo.c
  311. resolve-undo.h
  312. revision.c
  313. revision.h
  314. run-command.c
  315. run-command.h
  316. send-pack.c
  317. send-pack.h
  318. sequencer.c
  319. sequencer.h
  320. serve.c
  321. serve.h
  322. server-info.c
  323. setup.c
  324. sh-i18n--envsubst.c
  325. sha1-array.c
  326. sha1-array.h
  327. sha1-file.c
  328. sha1-lookup.c
  329. sha1-lookup.h
  330. sha1-name.c
  331. sha1dc/
  332. sha1dc_git.c
  333. sha1dc_git.h
  334. shallow.c
  335. shell.c
  336. shortlog.h
  337. show-index.c
  338. sideband.c
  339. sideband.h
  340. sigchain.c
  341. sigchain.h
  342. split-index.c
  343. split-index.h
  344. strbuf.c
  345. strbuf.h
  346. streaming.c
  347. streaming.h
  348. string-list.c
  349. string-list.h
  350. sub-process.c
  351. sub-process.h
  352. submodule-config.c
  353. submodule-config.h
  354. submodule.c
  355. submodule.h
  356. symlinks.c
  357. t/
  358. tag.c
  359. tag.h
  360. tar.h
  361. tempfile.c
  362. tempfile.h
  363. templates/
  364. thread-utils.c
  365. thread-utils.h
  366. tmp-objdir.c
  367. tmp-objdir.h
  368. trace.c
  369. trace.h
  370. trailer.c
  371. trailer.h
  372. transport-helper.c
  373. transport-internal.h
  374. transport.c
  375. transport.h
  376. tree-diff.c
  377. tree-walk.c
  378. tree-walk.h
  379. tree.c
  380. tree.h
  381. unicode-width.h
  382. unimplemented.sh
  383. unix-socket.c
  384. unix-socket.h
  385. unpack-trees.c
  386. unpack-trees.h
  387. upload-pack.c
  388. upload-pack.h
  389. url.c
  390. url.h
  391. urlmatch.c
  392. urlmatch.h
  393. usage.c
  394. userdiff.c
  395. userdiff.h
  396. utf8.c
  397. utf8.h
  398. varint.c
  399. varint.h
  400. vcs-svn/
  401. version.c
  402. version.h
  403. versioncmp.c
  404. walker.c
  405. walker.h
  406. wildmatch.c
  407. wildmatch.h
  408. worktree.c
  409. worktree.h
  410. wrap-for-bin.sh
  411. wrapper.c
  412. write-or-die.c
  413. ws.c
  414. wt-status.c
  415. wt-status.h
  416. xdiff-interface.c
  417. xdiff-interface.h
  418. xdiff/
  419. zlib.c
README.md

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-.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://public-inbox.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