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 37 * "git contacts" (in contrib/) now lists the address on the 38 "Reported-by:" trailer to its output, in addition to those on 39 S-o-b: and other trailers, to make it easier to notify (and thank) 40 the original bug reporter. 41 42 * "git rebase", especially when it is run by mistake and ends up 43 trying to replay many changes, spent long time in silence. The 44 command has been taught to show progress report when it spends 45 long time preparing these many changes to replay (which would give 46 the user a chance to abort with ^C). 47 48 * "git merge" learned a "--signoff" option to add the Signed-off-by: 49 trailer with the committer's name. 50 51 52Performance, Internal Implementation, Development Support etc. 53 54 * Conversion from uchar[20] to struct object_id continues. 55 56 * Start using selected c99 constructs in small, stable and 57 essentialpart of the system to catch people who care about 58 older compilers that do not grok them. 59 60 * The filter-process interface learned to allow a process with long 61 latency give a "delayed" response. 62 63 * Many uses of comparision callback function the hashmap API uses 64 cast the callback function type when registering it to 65 hashmap_init(), which defeats the compile time type checking when 66 the callback interface changes (e.g. gaining more parameters). 67 The callback implementations have been updated to take "void *" 68 pointers and cast them to the type they expect instead. 69 70 * Because recent Git for Windows do come with a real msgfmt, the 71 build procedure for git-gui has been updated to use it instead of a 72 hand-rolled substitute. 73 74 * "git grep --recurse-submodules" has been reworked to give a more 75 consistent output across submodule boundary (and do its thing 76 without having to fork a separate process). 77 78 * A helper function to read a single whole line into strbuf 79 mistakenly triggered OOM error at EOF under certain conditions, 80 which has been fixed. 81 (merge 642956cf45 rs/strbuf-getwholeline-fix later to maint). 82 83 * The "ref-store" code reorganization continues. 84 85 * "git commit" used to discard the index and re-read from the filesystem 86 just in case the pre-commit hook has updated it in the middle; this 87 has been optimized out when we know we do not run the pre-commit hook. 88 (merge 680ee550d7 kw/commit-keep-index-when-pre-commit-is-not-run later to maint). 89 90 * Updates to the HTTP layer we made recently unconditionally used 91 features of libCurl without checking the existence of them, causing 92 compilation errors, which has been fixed. Also migrate the code to 93 check feature macros, not version numbers, to cope better with 94 libCurl that vendor ships with backported features. 95 96 * The API to start showing progress meter after a short delay has 97 been simplified. 98 (merge 8aade107dd jc/simplify-progress later to maint). 99 100Also contains various documentation updates and code clean-ups. 101 102 103Fixes since v2.14 104----------------- 105 106 * "%C(color name)" in the pretty print format always produced ANSI 107 color escape codes, which was an early design mistake. They now 108 honor the configuration (e.g. "color.ui = never") and also tty-ness 109 of the output medium. 110 111 * The http.{sslkey,sslCert} configuration variables are to be 112 interpreted as a pathname that honors "~[username]/" prefix, but 113 weren't, which has been fixed. 114 115 * Numerous bugs in walking of reflogs via "log -g" and friends have 116 been fixed. 117 118 * "git commit" when seeing an totally empty message said "you did not 119 edit the message", which is clearly wrong. The message has been 120 corrected. 121 122 * When a directory is not readable, "gitweb" fails to build the 123 project list. Work this around by skipping such a directory. 124 125 * Some versions of GnuPG fails to kill gpg-agent it auto-spawned 126 and such a left-over agent can interfere with a test. Work it 127 around by attempting to kill one before starting a new test. 128 (merge 29ff1f8f74 st/lib-gpg-kill-stray-agent later to maint). 129 130 * A recently added test for the "credential-cache" helper revealed 131 that EOF detection done around the time the connection to the cache 132 daemon is torn down were flaky. This was fixed by reacting to 133 ECONNRESET and behaving as if we got an EOF. 134 135 * "git log --tag=no-such-tag" showed log starting from HEAD, which 136 has been fixed---it now shows nothing. 137 (merge 5d34d1ac06 jk/rev-list-empty-input later to maint). 138 139 * The "tag.pager" configuration variable was useless for those who 140 actually create tag objects, as it interfered with the use of an 141 editor. A new mechanism has been introduced for commands to enable 142 pager depending on what operation is being carried out to fix this, 143 and then "git tag -l" is made to run pager by default. 144 (merge 595d59e2b5 ma/pager-per-subcommand-action later to maint). 145 146 * "git push --recurse-submodules $there HEAD:$target" was not 147 propagated down to the submodules, but now it is. 148 (merge c7be7201a7 bw/push-options-recursively-to-submodules later to maint). 149 150 * Commands like "git rebase" accepted the --rerere-autoupdate option 151 from the command line, but did not always use it. This has been 152 fixed. 153 (merge f826fb799e pw/sequence-rerere-autoupdate later to maint). 154 155 * "git clone --recurse-submodules --quiet" did not pass the quiet 156 option down to submodules. 157 (merge 03c004c581 bw/clone-recursive-quiet later to maint). 158 159 * Test portability fix for OBSD. 160 (merge bed67874e2 rs/obsd-getcwd-workaround later to maint). 161 (merge 4c7fda8fc1 rs/t4062-obsd later to maint). 162 163 * Portability fix for OBSD. 164 (merge 29c2eda80b rs/in-obsd-basename-dirname-take-const later to maint). 165 166 * "git am -s" has been taught that some input may end with a trailer 167 block that is not Signed-off-by: and it should refrain from adding 168 an extra blank line before adding a new sign-off in such a case. 169 (merge 735285b403 pw/am-signoff later to maint). 170 171 * "git svn" used with "--localtime" option did not compute the tz 172 offset for the timestamp in question and instead always used the 173 current time, which has been corrected. 174 (merge 1adc4b9a58 ur/svn-local-zone later to maint). 175 176 * Memory leak in an error codepath has been plugged. 177 (merge 83cd6f9017 rs/fsck-obj-leakfix later to maint). 178 (merge 896dca3ab7 rs/unpack-entry-leakfix later to maint). 179 (merge 149d8cbb2e rs/win32-syslog-leakfix later to maint). 180 181 * "git stash -u" used the contents of the committed version of the 182 ".gitignore" file to decide which paths are ignored, even when the 183 file has local changes. The command has been taught to instead use 184 the locally modified contents. 185 186 * bash 4.4 or newer gave a warning on NUL byte in command 187 substitution done in "git stash"; this has been squelched. 188 (merge 5fc92f8828 kd/stash-with-bash-4.4 later to maint). 189 190 * "git grep -L" and "git grep --quiet -L" reported different exit 191 codes; this has been corrected. 192 (merge e1f68c66d5 as/grep-quiet-no-match-exit-code-fix later to maint). 193 194 * When handshake with a subprocess filter notices that the process 195 asked for an unknown capability, Git did not report what program 196 the offending subprocess was running. This has been corrected. 197 (merge d3ba566342 cc/subprocess-handshake-missing-capabilities later to maint). 198 199 * Other minor doc, test and build updates and code cleanups. 200 (merge dff2813391 ab/ref-filter-no-contains later to maint). 201 (merge f094b89a4d ma/parse-maybe-bool later to maint). 202 (merge 974ce8078c mf/no-dashed-subcommands later to maint). 203 (merge f81935cc4d jc/perl-git-comment-typofix later to maint). 204 (merge 57ea241ef0 rs/t3700-clean-leftover later to maint). 205 (merge f1068efefe jk/drop-sha1-entry-pos later to maint). 206 (merge 0b006014c8 jk/hashcmp-memcmp later to maint). 207 (merge 1e22a9917b rj/add-chmod-error-message later to maint). 208 (merge 881529c846 rs/apply-lose-prefix-length later to maint). 209 (merge 6355a76802 rs/find-pack-entry-bisection later to maint). 210 (merge de3ce210ed rs/merge-microcleanup later to maint). 211 (merge 7f0a02be2f ah/doc-empty-string-is-false later to maint). 212 (merge 70ec6bd63b rs/t1002-do-not-use-sum later to maint). 213 (merge 2456990dfd sb/sha1-file-cleanup later to maint). 214 (merge 2aac933c62 hv/t5526-andand-chain-fix later to maint). 215 (merge c8d0c4fe9b sb/submodule-parallel-update later to maint). 216 (merge 794b7e1674 mg/format-ref-doc-fix later to maint). 217 (merge 24da8a26a9 rs/commit-h-single-parent-cleanup later to maint). 218 (merge 4e36907fa3 jk/doc-the-this later to maint).