Documentation / RelNotes / 2.11.0.txton commit Merge branch 'cc/apply-am' (81358dc)
   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 * Lifts calls to exit(2) and die() higher in the callchain in
  48   sequencer.c files so that more helper functions in it can be used
  49   by callers that want to handle error conditions themselves.
  50
  51
  52Also contains various documentation updates and code clean-ups.
  53
  54
  55Fixes since v2.10
  56-----------------
  57
  58Unless otherwise noted, all the fixes since v2.9 in the maintenance
  59track are contained in this release (see the maintenance releases'
  60notes for details).
  61
  62 * Clarify various ways to specify the "revision ranges" in the
  63   documentation.
  64   (merge a117be4 po/range-doc later to maint).
  65
  66 * "diff-highlight" script (in contrib/) learned to work better with
  67   "git log -p --graph" output.
  68   (merge 3dbfe2b bh/diff-highlight-graph later to maint).
  69
  70 * The test framework left the number of tests and success/failure
  71   count in the t/test-results directory, keyed by the name of the
  72   test script plus the process ID.  The latter however turned out not
  73   to serve any useful purpose.  The process ID part of the filename
  74   has been removed.
  75   (merge 5c885c1 jk/test-lib-drop-pid-from-results later to maint).
  76
  77 * Having a submodule whose ".git" repository is somehow corrupt
  78   caused a few commands that recurse into submodules loop forever.
  79   (merge 10f5c52 jc/submodule-anchor-git-dir later to maint).
  80
  81 * "git symbolic-ref -d HEAD" happily removes the symbolic ref, but
  82   the resulting repository becomes an invalid one.  Teach the command
  83   to forbid removal of HEAD.
  84   (merge 12cfa79 jc/forbid-symbolic-ref-d-HEAD later to maint).
  85
  86 * A test spawned a short-lived background process, which sometimes
  87   prevented the test directory from getting removed at the end of the
  88   script on some platforms.
  89   (merge 5babb5b js/t6026-clean-up later to maint).
  90
  91 * Update a few tests that used to use GIT_CURL_VERBOSE to use the
  92   newer GIT_TRACE_CURL.
  93   (merge 14e2411 ep/use-git-trace-curl-in-tests later to maint).
  94
  95 * "git pack-objects --include-tag" was taught that when we know that
  96   we are sending an object C, we want a tag B that directly points at
  97   C but also a tag A that points at the tag B.  We used to miss the
  98   intermediate tag B in some cases.
  99   (merge b773dde jk/pack-tag-of-tag later to maint).
 100
 101 * Update Japanese translation for "git-gui".
 102   (merge 02748bc sy/git-gui-i18n-ja later to maint).
 103
 104 * "git fetch http::/site/path" did not die correctly and segfaulted
 105   instead.
 106   (merge d63ed6e jk/fix-remote-curl-url-wo-proto later to maint).
 107
 108 * "git commit-tree" stopped reading commit.gpgsign configuration
 109   variable that was meant for Porcelain "git commit" in Git 2.9; we
 110   forgot to update "git gui" to look at the configuration to match
 111   this change.
 112   (merge f14a310 js/git-gui-commit-gpgsign later to maint).
 113
 114 * Other minor doc, test and build updates and code cleanups.
 115   (merge 3e1952e jk/squelch-false-warning-from-gcc-o3 later to maint).
 116   (merge ca2baa3 rs/compat-strdup later to maint).
 117   (merge d233097 rs/hex2chr later to maint).
 118   (merge c00bfc9 js/t9903-chaining later to maint).
 119   (merge 5e4e5bb sb/xdiff-remove-unused-static-decl later to maint).
 120   (merge 5cb5fe4 sb/transport-report-missing-submodule-on-stderr later to maint).
 121   (merge a1c8044 ah/misc-message-fixes later to maint).
 122   (merge ca9b37e sb/diff-cleanup later to maint).