Documentation / RelNotes / 2.14.0.txton commit Merge branch 'ab/conditional-config-with-symlinks' (b784d0b)
   1Git 2.14 Release Notes
   2======================
   3
   4Backward compatibility notes.
   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 not scheduled to happen in the upcoming
  12   release (yet).
  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.13
  23-------------------
  24
  25UI, Workflows & Features
  26
  27 * The colors in which "git status --short --branch" showed the names
  28   of the current branch and its remote-tracking branch are now
  29   configurable.
  30
  31 * "git clone" learned the "--no-tags" option not to fetch all tags
  32   initially, and also set up the tagopt not to follow any tags in
  33   subsequent fetches.
  34
  35 * "git archive --format=zip" learned to use zip64 extension when
  36   necessary to go beyond the 4GB limit.
  37   (merge 867e40ff3a rs/large-zip later to maint).
  38
  39 * "git reset" learned "--recurse-submodules" option.
  40
  41 * "git diff --submodule=diff" now recurses into nested submodules.
  42   (merge 5a5221427c jk/diff-submodule-diff-inline later to maint).
  43
  44 * "git repack" learned to accept the --threads=<n> option and pass it
  45   to pack-objects.
  46
  47
  48Performance, Internal Implementation, Development Support etc.
  49
  50 * The default packed-git limit value has been raised on larger
  51   platforms to save "git fetch" from a (recoverable) failure while
  52   "gc" is running in parallel.
  53
  54 * Code to update the cache-tree has been tightened so that we won't
  55   accidentally write out any 0{40} entry in the tree object.
  56   (merge a96d3cc3f6 jk/no-null-sha1-in-cache-tree later to maint).
  57
  58 * Attempt to allow us notice "fishy" situation where we fail to
  59   remove the temporary directory used during the test.
  60
  61 * Travis CI gained a task to format the documentation with both
  62   AsciiDoc and AsciiDoctor.
  63   (merge 505ad91304 ls/travis-doc-asciidoctor later to maint).
  64
  65 * Some platforms have ulong that is smaller than time_t, and our
  66   historical use of ulong for timestamp would mean they cannot
  67   represent some timestamp that the platform allows.  Invent a
  68   separate and dedicated timestamp_t (so that we can distingiuish
  69   timestamps and a vanilla ulongs, which along is already a good
  70   move), and then declare uintmax_t is the type to be used as the
  71   timestamp_t.
  72
  73 * We can trigger Windows auto-build tester (credits: Dscho &
  74   Microsoft) from our existing Travis CI tester now.
  75
  76 * Conversion from uchar[20] to struct object_id continues.
  77
  78
  79
  80Also contains various documentation updates and code clean-ups.
  81
  82
  83Fixes since v2.13
  84-----------------
  85
  86Unless otherwise noted, all the fixes since v2.13 in the maintenance
  87track are contained in this release (see the maintenance releases'
  88notes for details).
  89
  90 * "git gc" did not interact well with "git worktree"-managed
  91   per-worktree refs.
  92
  93 * "git cherry-pick" and other uses of the sequencer machinery
  94   mishandled a trailer block whose last line is an incomplete line.
  95   This has been fixed so that an additional sign-off etc. are added
  96   after completing the existing incomplete line.
  97   (merge 44dc738a39 jt/use-trailer-api-in-commands later to maint).
  98
  99 * The codepath in "git am" that is used when running "git rebase"
 100   leaked memory held for the log message of the commits being rebased.
 101   (merge 721f5f1e35 jk/am-leakfix later to maint).
 102
 103 * "git clone --config var=val" is a way to populate the
 104   per-repository configuration file of the new repository, but it did
 105   not work well when val is an empty string.  This has been fixed.
 106   (merge db4eca1fea jn/clone-add-empty-config-from-command-line later to maint).
 107
 108 * Setting "log.decorate=false" in the configuration file did not take
 109   effect in v2.13, which has been corrected.
 110   (merge c74271aae7 ah/log-decorate-default-to-auto later to maint).
 111
 112 * A few codepaths in "checkout" and "am" working on an unborn branch
 113   tried to access an uninitialized piece of memory.
 114   (merge 57e0ef0e0e rs/checkout-am-fix-unborn later to maint).
 115
 116 * The Web interface to gmane news archive is long gone, even though
 117   the articles are still accessible via NTTP.  Replace the links with
 118   ones to public-inbox.org.  Because their message identification is
 119   based on the actual message-id, it is likely that it will be easier
 120   to migrate away from it if/when necessary.
 121   (merge 5840eb9d14 ab/doc-replace-gmane-links later to maint).
 122
 123 * The receive-pack program now makes sure that the push certificate
 124   records the same set of push options used for pushing.
 125   (merge cbaf82cc6b jt/push-options-doc later to maint).
 126
 127 * Tests have been updated to pass under GETTEXT_POISON (a mechanism
 128   to ensure that output strings that should not be translated are
 129   not translated by mistake), and TravisCI is told to run them.
 130   (merge b8e188f6f5 ab/fix-poison-tests later to maint).
 131
 132 * "git checkout --recurse-submodules" did not quite work with a
 133   submodule that itself has submodules.
 134   (merge 218c883783 sb/checkout-recurse-submodules later to maint).
 135
 136 * Plug some leaks and updates internal API used to implement the
 137   split index feature to make it easier to avoid such a leak in the
 138   future.
 139   (merge de950c5773 nd/split-index-unshare later to maint).
 140
 141 * "pack-objects" can stream a slice of an existing packfile out when
 142   the pack bitmap can tell that the reachable objects are all needed
 143   in the output, without inspecting individual objects.  This
 144   strategy however would not work well when "--local" and other
 145   options are in use, and need to be disabled.
 146   (merge da5a1f8100 jk/disable-pack-reuse-when-broken later to maint).
 147
 148 * Fix memory leaks pointed out by Coverity (and people).
 149   (merge 443a12f37b js/plug-leaks later to maint).
 150
 151 * "git read-tree -m" (no tree-ish) gave a nonsense suggestion "use
 152   --empty if you want to clear the index".  With "-m", such a request
 153   will still fail anyway, as you'd need to name at least one tree-ish
 154   to be merged.
 155   (merge b9b10d3681 jc/read-tree-empty-with-m later to maint).
 156
 157 * Make sure our tests would pass when the sources are checked out
 158   with "platform native" line ending convention by default on
 159   Windows.  Some "text" files out tests use and the test scripts
 160   themselves that are meant to be run with /bin/sh, ought to be
 161   checked out with eol=LF even on Windows.
 162   (merge 2779f66505 js/eol-on-ourselves later to maint).
 163
 164 * Introduce the BUG() macro to improve die("BUG: ...").
 165   (merge 3d7dd2d3b6 jk/bug-to-abort later to maint).
 166
 167 * Clarify documentation for include.path and includeIf.<condition>.path
 168   configuration variables.
 169   (merge ce933ebd5a jk/doc-config-include later to maint).
 170
 171 * Git sometimes gives an advice in a rhetorical question that does
 172   not require an answer, which can confuse new users and non native
 173   speakers.  Attempt to rephrase them.
 174   (merge 6963893943 ja/do-not-ask-needless-questions later to maint).
 175
 176 * A few http:// links that are redirected to https:// in the
 177   documentation have been updated to https:// links.
 178   (merge 5e68729fd9 jk/update-links-in-docs later to maint).
 179
 180 * "git for-each-ref --format=..." with %(HEAD) in the format used to
 181   resolve the HEAD symref as many times as it had processed refs,
 182   which was wasteful, and "git branch" shared the same problem.
 183   (merge 613a0e52ea kn/ref-filter-branch-list later to maint).
 184
 185 * Regression fix to topic recently merged to 'master'.
 186   (merge d096d7f1ef pw/rebase-i-regression-fix later to maint).
 187
 188 * The shell completion script (in contrib/) learned "git stash" has
 189   a new "push" subcommand.
 190   (merge 3851e4483f tg/stash-push-fixup later to maint).
 191
 192 * "git interpret-trailers", when used as GIT_EDITOR for "git commit
 193   -v", looked for and appended to a trailer block at the very end,
 194   i.e. at the end of the "diff" output.  The command has been
 195   corrected to pay attention to the cut-mark line "commit -v" adds to
 196   the buffer---the real trailer block should appear just before it.
 197   (merge d76650b8d1 bm/interpret-trailers-cut-line-is-eom later to maint).
 198
 199 * A test allowed both "git push" and "git receive-pack" on the other
 200   end write their traces into the same file.  This is OK on platforms
 201   that allows atomically appending to a file opened with O_APPEND,
 202   but on other platforms led to a mangled output, causing
 203   intermittent test failures.  This has been fixed by disabling
 204   traces from "receive-pack" in the test.
 205   (merge 71406ed4d6 jk/alternate-ref-optim later to maint).
 206
 207 * Tag objects, which are not reachable from any ref, that point at
 208   missing objects were mishandled by "git gc" and friends (they
 209   should silently be ignored instead)
 210   (merge a3ba6bf10a jk/ignore-broken-tags-when-ignoring-missing-links later to maint).
 211
 212 * Other minor doc, test and build updates and code cleanups.
 213   (merge 515360f9e9 jn/credential-doc-on-clear later to maint).
 214   (merge 0e6d899fee ab/aix-needs-compat-regex later to maint).
 215   (merge e294e8959f jc/apply-fix-mismerge later to maint).
 216   (merge 7f1b225153 bw/submodule-with-bs-path later to maint).
 217   (merge c8f7c8b704 tb/dedup-crlf-tests later to maint).
 218   (merge 449456ad47 sg/core-filemode-doc-typofix later to maint).
 219   (merge ba4dce784e km/log-showsignature-doc later to maint).