1Git 2.15 Release Notes 2====================== 3 4Backward compatibility notes and other notable changes. 5 6 * Use of an empty string as a pathspec element that is used for 7 'everything matches' is still warned and Git asks users to use a 8 more explicit '.' for that instead. The hope is that existing 9 users will not mind this change, and eventually the warning can be 10 turned into a hard error, upgrading the deprecation into removal of 11 this (mis)feature. That is now scheduled to happen in the upcoming 12 release. 13 14 * Git now avoids blindly falling back to ".git" when the setup 15 sequence said we are _not_ in Git repository. A corner case that 16 happens to work right now may be broken by a call to die("BUG"). 17 We've tried hard to locate such cases and fixed them, but there 18 might still be cases that need to be addressed--bug reports are 19 greatly appreciated. 20 21 22Updates since v2.14 23------------------- 24 25UI, Workflows & Features 26 27 * An example that is now obsolete has been removed from a sample hook, 28 and an old example in it that added a sign-off manually has been 29 improved to use the interpret-trailers command. 30 31 * The advice message given when "git rebase" stops for conflicting 32 changes has been improved. 33 34 * The "rerere-train" script (in contrib/) learned the "--overwrite" 35 option to allow overwriting existing recorded resolutions. 36 (merge ad53bf79aa rg/rerere-train-overwrite later to maint). 37 38 * "git contacts" (in contrib/) now lists the address on the 39 "Reported-by:" trailer to its output, in addition to those on 40 S-o-b: and other trailers, to make it easier to notify (and thank) 41 the original bug reporter. 42 (merge 09ac673788 eb/contacts-reported-by later to maint). 43 44 45Performance, Internal Implementation, Development Support etc. 46 47 * Conversion from uchar[20] to struct object_id continues. 48 49 * Start using selected c99 constructs in small, stable and 50 essentialpart of the system to catch people who care about 51 older compilers that do not grok them. 52 53 * The filter-process interface learned to allow a process with long 54 latency give a "delayed" response. 55 56 * Many uses of comparision callback function the hashmap API uses 57 cast the callback function type when registering it to 58 hashmap_init(), which defeats the compile time type checking when 59 the callback interface changes (e.g. gaining more parameters). 60 The callback implementations have been updated to take "void *" 61 pointers and cast them to the type they expect instead. 62 63 * Because recent Git for Windows do come with a real msgfmt, the 64 build procedure for git-gui has been updated to use it instead of a 65 hand-rolled substitute. 66 (merge 90dbf226ba js/git-gui-msgfmt-on-windows later to maint). 67 68 * "git grep --recurse-submodules" has been reworked to give a more 69 consistent output across submodule boundary (and do its thing 70 without having to fork a separate process). 71 72 * A helper function to read a single whole line into strbuf 73 mistakenly triggered OOM error at EOF under certain conditions, 74 which has been fixed. 75 (merge 642956cf45 rs/strbuf-getwholeline-fix later to maint). 76 77 * The "ref-store" code reorganization continues. 78 79 80Also contains various documentation updates and code clean-ups. 81 82 83Fixes since v2.14 84----------------- 85 86 * "%C(color name)" in the pretty print format always produced ANSI 87 color escape codes, which was an early design mistake. They now 88 honor the configuration (e.g. "color.ui = never") and also tty-ness 89 of the output medium. 90 (merge 11b087adfd jk/ref-filter-colors later to maint). 91 92 * The http.{sslkey,sslCert} configuration variables are to be 93 interpreted as a pathname that honors "~[username]/" prefix, but 94 weren't, which has been fixed. 95 (merge 8d1549643e jc/http-sslkey-and-ssl-cert-are-paths later to maint). 96 97 * Numerous bugs in walking of reflogs via "log -g" and friends have 98 been fixed. 99 (merge de239446b6 jk/reflog-walk later to maint). 100 101 * "git commit" when seeing an totally empty message said "you did not 102 edit the message", which is clearly wrong. The message has been 103 corrected. 104 (merge bc17f35f8c ks/commit-abort-on-empty-message-fix later to maint). 105 106 * When a directory is not readable, "gitweb" fails to build the 107 project list. Work this around by skipping such a directory. 108 (merge 46a13857fc hb/gitweb-project-list later to maint). 109 110 * Some versions of GnuPG fails to kill gpg-agent it auto-spawned 111 and such a left-over agent can interfere with a test. Work it 112 around by attempting to kill one before starting a new test. 113 (merge 29ff1f8f74 st/lib-gpg-kill-stray-agent later to maint). 114 115 * A recently added test for the "credential-cache" helper revealed 116 that EOF detection done around the time the connection to the cache 117 daemon is torn down were flaky. This was fixed by reacting to 118 ECONNRESET and behaving as if we got an EOF. 119 (merge 1f180e5eb9 dl/credential-cache-socket-in-xdg-cache later to maint). 120 121 * "git log --tag=no-such-tag" showed log starting from HEAD, which 122 has been fixed---it now shows nothing. 123 (merge 5d34d1ac06 jk/rev-list-empty-input later to maint). 124 125 * The "tag.pager" configuration variable was useless for those who 126 actually create tag objects, as it interfered with the use of an 127 editor. A new mechanism has been introduced for commands to enable 128 pager depending on what operation is being carried out to fix this, 129 and then "git tag -l" is made to run pager by default. 130 (merge 595d59e2b5 ma/pager-per-subcommand-action later to maint). 131 132 * "git push --recurse-submodules $there HEAD:$target" was not 133 propagated down to the submodules, but now it is. 134 (merge c7be7201a7 bw/push-options-recursively-to-submodules later to maint). 135 136 * Commands like "git rebase" accepted the --rerere-autoupdate option 137 from the command line, but did not always use it. This has been 138 fixed. 139 (merge f826fb799e pw/sequence-rerere-autoupdate later to maint). 140 141 * "git clone --recurse-submodules --quiet" did not pass the quiet 142 option down to submodules. 143 (merge 03c004c581 bw/clone-recursive-quiet later to maint). 144 145 * Test portability fix for OBSD. 146 (merge bed67874e2 rs/obsd-getcwd-workaround later to maint). 147 (merge 4c7fda8fc1 rs/t4062-obsd later to maint). 148 149 * Portability fix for OBSD. 150 (merge 29c2eda80b rs/in-obsd-basename-dirname-take-const later to maint). 151 152 * "git am -s" has been taught that some input may end with a trailer 153 block that is not Signed-off-by: and it should refrain from adding 154 an extra blank line before adding a new sign-off in such a case. 155 (merge 735285b403 pw/am-signoff later to maint). 156 157 * "git svn" used with "--localtime" option did not compute the tz 158 offset for the timestamp in question and instead always used the 159 current time, which has been corrected. 160 (merge 1adc4b9a58 ur/svn-local-zone later to maint). 161 162 * Memory leak in an error codepath has been plugged. 163 (merge 83cd6f9017 rs/fsck-obj-leakfix later to maint). 164 (merge 896dca3ab7 rs/unpack-entry-leakfix later to maint). 165 (merge 149d8cbb2e rs/win32-syslog-leakfix later to maint). 166 167 * Other minor doc, test and build updates and code cleanups. 168 (merge 5b114f3bb0 rs/bswap-ubsan-fix later to maint). 169 (merge 168e63554c rs/move-array later to maint). 170 (merge 268ba20110 rs/stat-data-unaligned-reads-fix later to maint). 171 (merge 78e7b98f45 jt/fsck-code-cleanup later to maint). 172 (merge c7b0780545 rs/pack-objects-pbase-cleanup later to maint). 173 (merge c1e860f1dc js/run-process-parallel-api-fix later to maint). 174 (merge 7a40a95eb4 cc/ref-is-hidden-microcleanup later to maint). 175 (merge c0bb6d9cef ah/doc-wserrorhighlight later to maint). 176 (merge edd64ef4f7 dc/fmt-merge-msg-microcleanup later to maint). 177 (merge fa64a2fdbe jt/subprocess-handshake later to maint). 178 (merge 0ba9c9a0fb jb/t8008-cleanup later to maint). 179 (merge a7c28a2161 jt/t1450-fsck-corrupt-packfile later to maint). 180 (merge dff2813391 ab/ref-filter-no-contains later to maint). 181 (merge f094b89a4d ma/parse-maybe-bool later to maint). 182 (merge 974ce8078c mf/no-dashed-subcommands later to maint). 183 (merge f81935cc4d jc/perl-git-comment-typofix later to maint). 184 (merge 57ea241ef0 rs/t3700-clean-leftover later to maint). 185 (merge f1068efefe jk/drop-sha1-entry-pos later to maint). 186 (merge 0b006014c8 jk/hashcmp-memcmp later to maint). 187 (merge 1e22a9917b rj/add-chmod-error-message later to maint). 188 (merge 881529c846 rs/apply-lose-prefix-length later to maint). 189 (merge 6355a76802 rs/find-pack-entry-bisection later to maint). 190 (merge de3ce210ed rs/merge-microcleanup later to maint).