1Git ???? Release Notes 2====================== 3 4Updates since v2.3 5------------------ 6 7Ports 8 9 * Our default I/O size (8 MiB) for large files was too large for some 10 platforms with smaller SSIZE_MAX, leading to read(2)/write(2) 11 failures. 12 13 * We did not check the curl library version before using 14 CURLOPT_PROXYAUTH feature that may not exist. 15 16 17UI, Workflows & Features 18 19 * The command usage info strings given by "git cmd -h" and in 20 documentation have been tweaked for consistency. 21 22 * The "sync" subcommand of "git p4" now allows users to exclude 23 subdirectories like its "clone" subcommand does. 24 25 * "git log --invert-grep --grep=WIP" will show only commits that do 26 not have the string "WIP" in their messages. 27 28 * "git push" has been taught a "--atomic" option that makes push to 29 update more than one ref an "all-or-none" affair. 30 31 * Extending the "push to deploy" added in 2.3, the behaviour of "git 32 push" when updating the branch that is checked out can now be 33 tweaked by push-to-checkout hook. 34 35 * Using environment variable LANGUAGE and friends on the client side, 36 HTTP-based transports now send Accept-Language when making requests. 37 38 * "git send-email" used to accept a mistaken "y" (or "yes") as an 39 answer to "What encoding do you want to use [UTF-8]? " without 40 questioning. Now it asks for confirmation when the answer looks 41 too short to be a valid encoding name. 42 43 * When "git apply --whitespace=fix" fixed whitespace errors in the 44 common context lines, the command reports that it did so. 45 46 47Performance, Internal Implementation, Development Support etc. 48 49 * Implementation of N_() macro has been updated slightly to help us 50 detect mistakes. 51 52 * Implementation of "reflog expire" has been restructured to fit the 53 reflogs better with the recently updated ref API. 54 55 * The transport-helper did not give transport options such as 56 verbosity, progress, cloning, etc. to import and export based 57 helpers, like it did for fetch and push based helpers, robbing them 58 the chance to honor the wish of the end-users better. 59 60 * The tests that wanted to see that file becomes unreadable after 61 running "chmod a-r file", and the tests that wanted to make sure it 62 is not run as root, we used "can we write into the / directory?" as 63 a cheap substitute, but on some platforms that is not a good 64 heuristics. The tests and their prerequisites have been updated to 65 check what they really require. 66 (merge f400e51 jk/sanity later to maint). 67 68 * The strbuf API was explained between the API documentation and in 69 the header file. Move missing bits to strbuf.h so that programmers 70 can check only one place for all necessary information. 71 72 * The error handling functions and conventions are now documented in 73 the API manual. 74 75 * Optimize attribute look-up, mostly useful in "git grep" on a 76 project that does not use many attributes, by avoiding it when we 77 (should) know that the attributes are not defined in the first 78 place. 79 80 * Typofix in comments. 81 (merge ef2956a ak/git-pm-typofix later to maint). 82 83 * Code clean-up. 84 (merge 0b868f0 sb/hex-object-name-is-at-most-41-bytes-long later to maint). 85 (merge 5d30851 dp/remove-duplicated-header-inclusion later to maint). 86 87 * Simplify the ref transaction API around how "the ref should be 88 pointing at this object" is specified. 89 90 91Also contains various documentation updates and code clean-ups. 92 93 94Fixes since v2.3 95---------------- 96 97Unless otherwise noted, all the fixes since v2.3 in the maintenance 98track are contained in this release (see the maintenance releases' 99notes for details). 100 101 * "git blame HEAD -- missing" failed to correctly say "HEAD" when it 102 tried to say "No such path 'missing' in HEAD". 103 (merge a46442f jk/blame-commit-label later to maint). 104 105 * "git rerere" (invoked internally from many mergy operations) did 106 not correctly signal errors when told to update the working tree 107 files and failed to do so for whatever reason. 108 (merge 89ea903 jn/rerere-fail-on-auto-update-failure later to maint). 109 110 * Setting diff.submodule to 'log' made "git format-patch" produce 111 broken patches. 112 (merge 339de50 dk/format-patch-ignore-diff-submodule later to maint). 113 114 * After attempting and failing a password-less authentication 115 (e.g. kerberos), libcURL refuses to fall back to password based 116 Basic authentication without a bit of help/encouragement. 117 (merge 4dbe664 bc/http-fallback-to-password-after-krb-fails later to maint). 118 119 * The "git push" documentation made the "--repo=<there>" option 120 easily misunderstood. 121 (merge 57b92a7 mg/push-repo-option-doc later to maint). 122 123 * Code to read branch name from various files in .git/ directory 124 would have misbehaved if the code to write them left an empty file. 125 (merge 66ec904 jk/status-read-branch-name-fix later to maint). 126 127 * A misspelled conditional that is always true has been fixed. 128 (merge 94ee8e2 jk/remote-curl-an-array-in-struct-cannot-be-null later to maint). 129 130 * The documentation incorrectly said that C(opy) and R(ename) are the 131 only ones that can be followed by the score number in the output in 132 the --raw format. 133 (merge ac1c2d9 jc/diff-format-doc later to maint). 134 135 * A broken pack .idx file in the receiving repository prevented the 136 dumb http transport from fetching a good copy of it from the other 137 side. 138 (merge 8b9c2dd jk/dumb-http-idx-fetch-fix later to maint). 139 140 * The error message from "git commit", when a non-existing author 141 name was given as value to the "--author=" parameter, has been 142 reworded to avoid misunderstanding. 143 (merge 1044b1f mg/commit-author-no-match-malformed-message later to maint). 144 145 * "git log --help" used to show rev-list options that are irrelevant 146 to the "log" command. 147 (merge 3cab02d jc/doc-log-rev-list-options later to maint). 148 149 * "git apply --whitespace=fix" used to under-allocate the memory when 150 the fix resulted in a longer text than the original patch. 151 (merge 407a792 jc/apply-ws-fix-expands later to maint). 152 153 * The interactive "show a list and let the user choose from it" 154 interface "add -i" used showed and prompted to the user even when 155 the candidate list was empty, against which the only "choice" the 156 user could have made was to choose nothing. 157 (merge a9c4641 ak/add-i-empty-candidates later to maint). 158 159 * The insn sheet "git rebase -i" creates did not fully honor 160 core.abbrev settings. 161 (merge edb72d5 ks/rebase-i-abbrev later to maint). 162 163 * "git fetch" over a remote-helper that cannot respond to "list" 164 command could not fetch from a symbolic reference e.g. HEAD. 165 (merge 33cae54 mh/deref-symref-over-helper-transport later to maint). 166 167 * "git push --signed" gave an incorrectly worded error message when 168 the other side did not support the capability. 169 (merge 45917f0 jc/push-cert later to maint). 170 171 * We didn't format an integer that wouldn't fit in "int" but in 172 "uintmax_t" correctly. 173 (merge d306f3d jk/decimal-width-for-uintmax later to maint). 174 175 * Reading configuration from a blob object, when it ends with a lone 176 CR, use to confuse the configuration parser. 177 (merge 1d0655c jk/config-no-ungetc-eof later to maint). 178 179 * The pack bitmap support did not build with older versions of GCC. 180 (merge bd4e882 jk/pack-bitmap later to maint). 181 182 * The documentation wasn't clear that "remote.<nick>.pushURL" and 183 "remote.<nick>.URL" are there to name the same repository accessed 184 via different transports, not two separate repositories. 185 (merge 697f652 jc/remote-set-url-doc later to maint). 186 187 * Older GnuPG implementations may not correctly import the keyring 188 material we prepare for the tests to use. 189 (merge 1f985d6 ch/new-gpg-drops-rfc-1991 later to maint). 190 191 * The credential helper for Windows (in contrib/) used to mishandle 192 a user name with an at-sign in it. 193 (merge 13d261e av/wincred-with-at-in-username-fix later to maint). 194 195 * Longstanding configuration variable naming rules has been added to 196 the documentation. 197 (merge 35840a3 jc/conf-var-doc later to maint). 198 199 * An earlier workaround to squelch unhelpful deprecation warnings 200 from the complier on Mac OSX unnecessarily set minimum required 201 version of the OS, which the user might want to raise (or lower) 202 for other reasons. 203 (merge 88c03eb es/squelch-openssl-warnings-on-macosx later to maint). 204 205 * Certain older vintages of cURL give irregular output from 206 "curl-config --vernum", which confused our build system. 207 (merge 3af6792 tc/curl-vernum-output-broken-in-7.11 later to maint). 208 209 * In v2.2.0, we broke "git prune" that runs in a repository that 210 borrows from an alternate object store. 211 (merge b0a4264 jk/prune-mtime later to maint). 212 213 * "git submodule add" failed to squash "path/to/././submodule" to 214 "path/to/submodule". 215 (merge 8196e72 ps/submodule-sanitize-path-upon-add later to maint). 216 217 * "git merge-file" did not work correctly in a subdirectory. 218 (merge 204a8ff ab/merge-file-prefix later to maint). 219 220 * "git blame" died, trying to free an uninitialized piece of memory. 221 (merge e600592 es/blame-commit-info-fix later to maint). 222 223 * "git fast-import" used to crash when it could not close and 224 conclude the resulting packfile cleanly. 225 (merge 5e915f3 jk/fast-import-die-nicely-fix later to maint). 226 227 * "update-index --refresh" used to leak when an entry cannot be 228 refreshed for whatever reason. 229 (merge bc1c2ca sb/plug-leak-in-make-cache-entry later to maint). 230 231 * The "interpolated-path" option of "git daemon" inserted any string 232 client declared on the "host=" capability request without checking. 233 Sanitize and limit %H and %CH to a saner and a valid DNS name. 234 (merge b485373 jk/daemon-interpolate later to maint). 235 236 * "git daemon" looked up the hostname even when "%CH" and "%IP" 237 interpolations are not requested, which was unnecessary. 238 (merge dc8edc8 rs/daemon-interpolate later to maint). 239 240 * Even though we officially haven't dropped Perl 5.8 support, the 241 Getopt::Long package that came with it does not support "--no-" 242 prefix to negate a boolean option; manually add support to help 243 people with older Getopt::Long package. 244 (merge f471494 km/send-email-getopt-long-workarounds later to maint). 245 246 * "git apply" was not very careful about reading from, removing, 247 updating and creating paths outside the working tree (under 248 --index/--cached) or the current directory (when used as a 249 replacement for GNU patch). 250 (merge e0d201b jc/apply-beyond-symlink later to maint). 251 252 * A breakage to git-svn around v2.2 era that triggers premature 253 closing of FileHandle has been corrected. 254 (merge e426311 ew/svn-maint-fixes later to maint). 255 256 * We did not parse username followed by literal IPv6 address in SSH 257 transport URLs, e.g. ssh://user@[2001:db8::1]:22/repo.git 258 correctly. 259 (merge 3f55cca tb/connect-ipv6-parse-fix later to maint). 260 261 * The configuration variable 'mailinfo.scissors' was hard to 262 discover in the documentation. 263 (merge afb5de7 mm/am-c-doc later to maint). 264 265 * Code cleanups. 266 (merge 2ce63e9 rs/simple-cleanups later to maint). 267 (merge 33baa69 rj/no-xopen-source-for-cygwin later to maint). 268 (merge 817d03e jc/diff-test-updates later to maint).