RelNoteson commit Merge branch 'km/send-email-getopt-long-workarounds' (0278b3f)
   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
  44Performance, Internal Implementation, Development Support etc.
  45
  46 * Implementation of N_() macro has been updated slightly to help us
  47   detect mistakes.
  48
  49 * Implementation of "reflog expire" has been restructured to fit the
  50   reflogs better with the recently updated ref API.
  51
  52 * The transport-helper did not give transport options such as
  53   verbosity, progress, cloning, etc. to import and export based
  54   helpers, like it did for fetch and push based helpers, robbing them
  55   the chance to honor the wish of the end-users better.
  56
  57 * The tests that wanted to see that file becomes unreadable after
  58   running "chmod a-r file", and the tests that wanted to make sure it
  59   is not run as root, we used "can we write into the / directory?" as
  60   a cheap substitute, but on some platforms that is not a good
  61   heuristics.  The tests and their prerequisites have been updated to
  62   check what they really require.
  63   (merge f400e51 jk/sanity later to maint).
  64
  65 * The strbuf API was explained between the API documentation and in
  66   the header file.  Move missing bits to strbuf.h so that programmers
  67   can check only one place for all necessary information.
  68
  69 * The error handling functions and conventions are now documented in
  70   the API manual.
  71
  72 * Optimize attribute look-up, mostly useful in "git grep" on a
  73   project that does not use many attributes, by avoiding it when we
  74   (should) know that the attributes are not defined in the first
  75   place.
  76
  77 * Typofix in comments.
  78   (merge ef2956a ak/git-pm-typofix later to maint).
  79
  80 * Code clean-up.
  81   (merge 0b868f0 sb/hex-object-name-is-at-most-41-bytes-long later to maint).
  82   (merge 5d30851 dp/remove-duplicated-header-inclusion later to maint).
  83
  84
  85
  86Also contains various documentation updates and code clean-ups.
  87
  88
  89Fixes since v2.3
  90----------------
  91
  92Unless otherwise noted, all the fixes since v2.3 in the maintenance
  93track are contained in this release (see the maintenance releases'
  94notes for details).
  95
  96 * "git blame HEAD -- missing" failed to correctly say "HEAD" when it
  97   tried to say "No such path 'missing' in HEAD".
  98   (merge a46442f jk/blame-commit-label later to maint).
  99
 100 * "git rerere" (invoked internally from many mergy operations) did
 101   not correctly signal errors when told to update the working tree
 102   files and failed to do so for whatever reason.
 103   (merge 89ea903 jn/rerere-fail-on-auto-update-failure later to maint).
 104
 105 * Setting diff.submodule to 'log' made "git format-patch" produce
 106   broken patches.
 107   (merge 339de50 dk/format-patch-ignore-diff-submodule later to maint).
 108
 109 * After attempting and failing a password-less authentication
 110   (e.g. kerberos), libcURL refuses to fall back to password based
 111   Basic authentication without a bit of help/encouragement.
 112   (merge 4dbe664 bc/http-fallback-to-password-after-krb-fails later to maint).
 113
 114 * The "git push" documentation made the "--repo=<there>" option
 115   easily misunderstood.
 116   (merge 57b92a7 mg/push-repo-option-doc later to maint).
 117
 118 * Code to read branch name from various files in .git/ directory
 119   would have misbehaved if the code to write them left an empty file.
 120   (merge 66ec904 jk/status-read-branch-name-fix later to maint).
 121
 122 * A misspelled conditional that is always true has been fixed.
 123   (merge 94ee8e2 jk/remote-curl-an-array-in-struct-cannot-be-null later to maint).
 124
 125 * The documentation incorrectly said that C(opy) and R(ename) are the
 126   only ones that can be followed by the score number in the output in
 127   the --raw format.
 128   (merge ac1c2d9 jc/diff-format-doc later to maint).
 129
 130 * A broken pack .idx file in the receiving repository prevented the
 131   dumb http transport from fetching a good copy of it from the other
 132   side.
 133   (merge 8b9c2dd jk/dumb-http-idx-fetch-fix later to maint).
 134
 135 * The error message from "git commit", when a non-existing author
 136   name was given as value to the "--author=" parameter, has been
 137   reworded to avoid misunderstanding.
 138   (merge 1044b1f mg/commit-author-no-match-malformed-message later to maint).
 139
 140 * "git log --help" used to show rev-list options that are irrelevant
 141   to the "log" command.
 142   (merge 3cab02d jc/doc-log-rev-list-options later to maint).
 143
 144 * "git apply --whitespace=fix" used to under-allocate the memory when
 145   the fix resulted in a longer text than the original patch.
 146   (merge 407a792 jc/apply-ws-fix-expands later to maint).
 147
 148 * The interactive "show a list and let the user choose from it"
 149   interface "add -i" used showed and prompted to the user even when
 150   the candidate list was empty, against which the only "choice" the
 151   user could have made was to choose nothing.
 152   (merge a9c4641 ak/add-i-empty-candidates later to maint).
 153
 154 * The insn sheet "git rebase -i" creates did not fully honor
 155   core.abbrev settings.
 156   (merge edb72d5 ks/rebase-i-abbrev later to maint).
 157
 158 * "git fetch" over a remote-helper that cannot respond to "list"
 159   command could not fetch from a symbolic reference e.g. HEAD.
 160   (merge 33cae54 mh/deref-symref-over-helper-transport later to maint).
 161
 162 * "git push --signed" gave an incorrectly worded error message when
 163   the other side did not support the capability.
 164   (merge 45917f0 jc/push-cert later to maint).
 165
 166 * We didn't format an integer that wouldn't fit in "int" but in
 167   "uintmax_t" correctly.
 168   (merge d306f3d jk/decimal-width-for-uintmax later to maint).
 169
 170 * Reading configuration from a blob object, when it ends with a lone
 171   CR, use to confuse the configuration parser.
 172   (merge 1d0655c jk/config-no-ungetc-eof later to maint).
 173
 174 * The pack bitmap support did not build with older versions of GCC.
 175   (merge bd4e882 jk/pack-bitmap later to maint).
 176
 177 * The documentation wasn't clear that "remote.<nick>.pushURL" and
 178   "remote.<nick>.URL" are there to name the same repository accessed
 179   via different transports, not two separate repositories.
 180   (merge 697f652 jc/remote-set-url-doc later to maint).
 181
 182 * Older GnuPG implementations may not correctly import the keyring
 183   material we prepare for the tests to use.
 184   (merge 1f985d6 ch/new-gpg-drops-rfc-1991 later to maint).
 185
 186 * The credential helper for Windows (in contrib/) used to mishandle
 187   a user name with an at-sign in it.
 188   (merge 13d261e av/wincred-with-at-in-username-fix later to maint).
 189
 190 * Longstanding configuration variable naming rules has been added to
 191   the documentation.
 192   (merge 35840a3 jc/conf-var-doc later to maint).
 193
 194 * An earlier workaround to squelch unhelpful deprecation warnings
 195   from the complier on Mac OSX unnecessarily set minimum required
 196   version of the OS, which the user might want to raise (or lower)
 197   for other reasons.
 198   (merge 88c03eb es/squelch-openssl-warnings-on-macosx later to maint).
 199
 200 * Certain older vintages of cURL give irregular output from
 201   "curl-config --vernum", which confused our build system.
 202   (merge 3af6792 tc/curl-vernum-output-broken-in-7.11 later to maint).
 203
 204 * In v2.2.0, we broke "git prune" that runs in a repository that
 205   borrows from an alternate object store.
 206   (merge b0a4264 jk/prune-mtime later to maint).
 207
 208 * "git submodule add" failed to squash "path/to/././submodule" to
 209   "path/to/submodule".
 210   (merge 8196e72 ps/submodule-sanitize-path-upon-add later to maint).
 211
 212 * "git merge-file" did not work correctly in a subdirectory.
 213   (merge 204a8ff ab/merge-file-prefix later to maint).
 214
 215 * "git blame" died, trying to free an uninitialized piece of memory.
 216   (merge e600592 es/blame-commit-info-fix later to maint).
 217
 218 * "git fast-import" used to crash when it could not close and
 219   conclude the resulting packfile cleanly.
 220   (merge 5e915f3 jk/fast-import-die-nicely-fix later to maint).
 221
 222 * "update-index --refresh" used to leak when an entry cannot be
 223   refreshed for whatever reason.
 224   (merge bc1c2ca sb/plug-leak-in-make-cache-entry later to maint).