Documentation / RelNotes / 2.11.0.txton commit Merge branch 'sb/diff-cleanup' (a0d9b7f)
   1Git 2.11 Release Notes
   2======================
   3
   4Updates since v2.10
   5-------------------
   6
   7UI, Workflows & Features
   8
   9 * "git format-patch --cover-letter HEAD^" to format a single patch
  10   with a separate cover letter now numbers the output as [PATCH 0/1]
  11   and [PATCH 1/1] by default.
  12
  13 * An incoming "git push" that attempts to push too many bytes can now
  14   be rejected by setting a new configuration variable at the receiving
  15   end.
  16
  17 * "git nosuchcommand --help" said "No manual entry for gitnosuchcommand",
  18   which was not intuitive, given that "git nosuchcommand" said "git:
  19   'nosuchcommand' is not a git command".
  20
  21 * "git clone --resurse-submodules --reference $path $URL" is a way to
  22   reduce network transfer cost by borrowing objects in an existing
  23   $path repository when cloning the superproject from $URL; it
  24   learned to also peek into $path for presense of corresponding
  25   repositories of submodules and borrow objects from there when able.
  26
  27 * The "git diff --submodule={short,log}" mechanism has been enhanced
  28   to allow "--submodule=diff" to show the patch between the submodule
  29   commits bound to the superproject.
  30
  31
  32Performance, Internal Implementation, Development Support etc.
  33
  34 * The delta-base-cache mechanism has been a key to the performance in
  35   a repository with a tightly packed packfile, but it did not scale
  36   well even with a larger value of core.deltaBaseCacheLimit.
  37
  38 * Enhance "git status --porcelain" output by collecting more data on
  39   the state of the index and the working tree files, which may
  40   further be used to teach git-prompt (in contrib/) to make fewer
  41   calls to git.
  42
  43 * Extract a small helper out of the function that reads the authors
  44   script file "git am" internally uses.
  45   (merge a77598e jc/am-read-author-file later to maint).
  46
  47
  48Also contains various documentation updates and code clean-ups.
  49
  50
  51Fixes since v2.10
  52-----------------
  53
  54Unless otherwise noted, all the fixes since v2.9 in the maintenance
  55track are contained in this release (see the maintenance releases'
  56notes for details).
  57
  58 * Clarify various ways to specify the "revision ranges" in the
  59   documentation.
  60   (merge a117be4 po/range-doc later to maint).
  61
  62 * "diff-highlight" script (in contrib/) learned to work better with
  63   "git log -p --graph" output.
  64   (merge 3dbfe2b bh/diff-highlight-graph later to maint).
  65
  66 * The test framework left the number of tests and success/failure
  67   count in the t/test-results directory, keyed by the name of the
  68   test script plus the process ID.  The latter however turned out not
  69   to serve any useful purpose.  The process ID part of the filename
  70   has been removed.
  71   (merge 5c885c1 jk/test-lib-drop-pid-from-results later to maint).
  72
  73 * Having a submodule whose ".git" repository is somehow corrupt
  74   caused a few commands that recurse into submodules loop forever.
  75   (merge 10f5c52 jc/submodule-anchor-git-dir later to maint).
  76
  77 * "git symbolic-ref -d HEAD" happily removes the symbolic ref, but
  78   the resulting repository becomes an invalid one.  Teach the command
  79   to forbid removal of HEAD.
  80   (merge 12cfa79 jc/forbid-symbolic-ref-d-HEAD later to maint).
  81
  82 * A test spawned a short-lived background process, which sometimes
  83   prevented the test directory from getting removed at the end of the
  84   script on some platforms.
  85   (merge 5babb5b js/t6026-clean-up later to maint).
  86
  87 * Update a few tests that used to use GIT_CURL_VERBOSE to use the
  88   newer GIT_TRACE_CURL.
  89   (merge 14e2411 ep/use-git-trace-curl-in-tests later to maint).
  90
  91 * Other minor doc, test and build updates and code cleanups.
  92   (merge 3e1952e jk/squelch-false-warning-from-gcc-o3 later to maint).
  93   (merge ca2baa3 rs/compat-strdup later to maint).
  94   (merge d233097 rs/hex2chr later to maint).
  95   (merge c00bfc9 js/t9903-chaining later to maint).
  96   (merge 5e4e5bb sb/xdiff-remove-unused-static-decl later to maint).
  97   (merge 5cb5fe4 sb/transport-report-missing-submodule-on-stderr later to maint).