1Git 2.11 Release Notes 2====================== 3 4Updates since v2.10 5------------------- 6 7UI, Workflows & Features 8 9 * "git format-patch --cover-letter HEAD^" to format a single patch 10 with a separate cover letter now numbers the output as [PATCH 0/1] 11 and [PATCH 1/1] by default. 12 13 * An incoming "git push" that attempts to push too many bytes can now 14 be rejected by setting a new configuration variable at the receiving 15 end. 16 17 * "git nosuchcommand --help" said "No manual entry for gitnosuchcommand", 18 which was not intuitive, given that "git nosuchcommand" said "git: 19 'nosuchcommand' is not a git command". 20 21 * "git clone --resurse-submodules --reference $path $URL" is a way to 22 reduce network transfer cost by borrowing objects in an existing 23 $path repository when cloning the superproject from $URL; it 24 learned to also peek into $path for presense of corresponding 25 repositories of submodules and borrow objects from there when able. 26 27 * The "git diff --submodule={short,log}" mechanism has been enhanced 28 to allow "--submodule=diff" to show the patch between the submodule 29 commits bound to the superproject. 30 31 32Performance, Internal Implementation, Development Support etc. 33 34 * The delta-base-cache mechanism has been a key to the performance in 35 a repository with a tightly packed packfile, but it did not scale 36 well even with a larger value of core.deltaBaseCacheLimit. 37 38 * Enhance "git status --porcelain" output by collecting more data on 39 the state of the index and the working tree files, which may 40 further be used to teach git-prompt (in contrib/) to make fewer 41 calls to git. 42 43 * Extract a small helper out of the function that reads the authors 44 script file "git am" internally uses. 45 (merge a77598e jc/am-read-author-file later to maint). 46 47 * Lifts calls to exit(2) and die() higher in the callchain in 48 sequencer.c files so that more helper functions in it can be used 49 by callers that want to handle error conditions themselves. 50 51 * "git am" has been taught to make an internal call to "git apply"'s 52 innards without spawning the latter as a separate process. 53 54 * The ref-store abstraction was introduced to the refs API so that we 55 can plug in different backends to store references. 56 57 * The "unsigned char sha1[20]" to "struct object_id" conversion 58 continues. Notable changes in this round includes that ce->sha1, 59 i.e. the object name recorded in the cache_entry, turns into an 60 object_id. 61 62 63Also contains various documentation updates and code clean-ups. 64 65 66Fixes since v2.10 67----------------- 68 69Unless otherwise noted, all the fixes since v2.9 in the maintenance 70track are contained in this release (see the maintenance releases' 71notes for details). 72 73 * Clarify various ways to specify the "revision ranges" in the 74 documentation. 75 (merge a117be4 po/range-doc later to maint). 76 77 * "diff-highlight" script (in contrib/) learned to work better with 78 "git log -p --graph" output. 79 (merge 3dbfe2b bh/diff-highlight-graph later to maint). 80 81 * The test framework left the number of tests and success/failure 82 count in the t/test-results directory, keyed by the name of the 83 test script plus the process ID. The latter however turned out not 84 to serve any useful purpose. The process ID part of the filename 85 has been removed. 86 (merge 5c885c1 jk/test-lib-drop-pid-from-results later to maint). 87 88 * Having a submodule whose ".git" repository is somehow corrupt 89 caused a few commands that recurse into submodules loop forever. 90 (merge 10f5c52 jc/submodule-anchor-git-dir later to maint). 91 92 * "git symbolic-ref -d HEAD" happily removes the symbolic ref, but 93 the resulting repository becomes an invalid one. Teach the command 94 to forbid removal of HEAD. 95 (merge 12cfa79 jc/forbid-symbolic-ref-d-HEAD later to maint). 96 97 * A test spawned a short-lived background process, which sometimes 98 prevented the test directory from getting removed at the end of the 99 script on some platforms. 100 (merge 5babb5b js/t6026-clean-up later to maint). 101 102 * Update a few tests that used to use GIT_CURL_VERBOSE to use the 103 newer GIT_TRACE_CURL. 104 (merge 14e2411 ep/use-git-trace-curl-in-tests later to maint). 105 106 * "git pack-objects --include-tag" was taught that when we know that 107 we are sending an object C, we want a tag B that directly points at 108 C but also a tag A that points at the tag B. We used to miss the 109 intermediate tag B in some cases. 110 (merge b773dde jk/pack-tag-of-tag later to maint). 111 112 * Update Japanese translation for "git-gui". 113 (merge 02748bc sy/git-gui-i18n-ja later to maint). 114 115 * "git fetch http::/site/path" did not die correctly and segfaulted 116 instead. 117 (merge d63ed6e jk/fix-remote-curl-url-wo-proto later to maint). 118 119 * "git commit-tree" stopped reading commit.gpgsign configuration 120 variable that was meant for Porcelain "git commit" in Git 2.9; we 121 forgot to update "git gui" to look at the configuration to match 122 this change. 123 (merge f14a310 js/git-gui-commit-gpgsign later to maint). 124 125 * Other minor doc, test and build updates and code cleanups. 126 (merge 3e1952e jk/squelch-false-warning-from-gcc-o3 later to maint). 127 (merge ca2baa3 rs/compat-strdup later to maint). 128 (merge d233097 rs/hex2chr later to maint). 129 (merge c00bfc9 js/t9903-chaining later to maint). 130 (merge 5e4e5bb sb/xdiff-remove-unused-static-decl later to maint). 131 (merge 5cb5fe4 sb/transport-report-missing-submodule-on-stderr later to maint). 132 (merge a1c8044 ah/misc-message-fixes later to maint). 133 (merge ca9b37e sb/diff-cleanup later to maint).