Documentation / RelNotes / 2.17.0.txton commit graph: add commit graph design document (ae30d7b)
   1Git 2.17 Release Notes
   2======================
   3
   4Updates since v2.16
   5-------------------
   6
   7UI, Workflows & Features
   8
   9 * "diff" family of commands learned "--find-object=<object-id>" option
  10   to limit the findings to changes that involve the named object.
  11   (merge 4d8c51aa19 sb/diff-blobfind-pickaxe later to maint).
  12
  13
  14Performance, Internal Implementation, Development Support etc.
  15
  16 * More perf tests for threaded grep
  17   (merge 7b31b55db1 ab/perf-grep-threads later to maint).
  18
  19 * "perf" test output can be sent to codespeed server.
  20   (merge 19cf57a92e cc/codespeed later to maint).
  21
  22 * The build procedure for perl/ part has been greatly simplified by
  23   weaning ourselves off of MakeMaker.
  24
  25 * In preparation for implementing narrow/partial clone, the machinery
  26   for checking object connectivity used by gc and fsck has been
  27   taught that a missing object is OK when it is referenced by a
  28   packfile specially marked as coming from trusted repository that
  29   promises to make them available on-demand and lazily.
  30
  31 * The machinery to clone & fetch, which in turn involves packing and
  32   unpacking objects, has been told how to omit certain objects using
  33   the filtering mechanism introduced by another topic.  It now knows
  34   to mark the resulting pack as a promisor pack to tolerate missing
  35   objects, laying foundation for "narrow" clones.
  36
  37 * The first step to getting rid of mru API and using the
  38   doubly-linked list API directly instead.
  39
  40 * Retire mru API as it does not give enough abstraction over
  41   underlying list API to be worth it.
  42
  43 * Rewrite two more "git submodule" subcommands in C.
  44
  45 * The tracing machinery learned to report tweaking of environment
  46   variables as well.
  47   (merge 090a09272a nd/trace-with-env later to maint).
  48
  49 * Update Coccinelle rules to catch and optimize strbuf_addf(&buf, "%s", str)
  50   (merge cd9a4b6d93 rs/strbuf-cocci-workaround later to maint).
  51
  52 * Prevent "clang-format" from breaking line after function return type.
  53   (merge a3715d43e8 po/clang-format-functype-weight later to maint).
  54
  55 * The sequencer infrastructure is shared across "git cherry-pick",
  56   "git rebase -i", etc., and has always spawned "git commit" when it
  57   needs to create a commit.  It has been taught to do so internally,
  58   when able, by reusing the codepath "git commit" itself uses, which
  59   gives performance boost for a few tens of percents in some sample
  60   scenarios.
  61
  62
  63Also contains various documentation updates and code clean-ups.
  64
  65
  66Fixes since v2.16
  67-----------------
  68
  69 * An old regression in "git describe --all $annotated_tag^0" has been
  70   fixed.
  71   (merge 1bba00130a dk/describe-all-output-fix later to maint).
  72
  73 * "git status" after moving a path in the working tree (hence making
  74   it appear "removed") and then adding with the -N option (hence
  75   making that appear "added") detected it as a rename, but did not
  76   report the  old and new pathnames correctly.
  77   (merge 176ea74793 nd/ita-wt-renames-in-status later to maint).
  78
  79 * "git svn dcommit" did not take into account the fact that a
  80   svn+ssh:// URL with a username@ (typically used for pushing) refers
  81   to the same SVN repository without the username@ and failed when
  82   svn.pushmergeinfo option is set.
  83   (merge 8aaed892fd jm/svn-pushmergeinfo-fix later to maint).
  84
  85 * API clean-up around revision traversal.
  86   (merge 6fcec2f9ae rs/lose-leak-pending later to maint).
  87
  88 * "git merge -Xours/-Xtheirs" learned to use our/their version when
  89   resolving a conflicting updates to a symbolic link.
  90   (merge fd48b46474 jc/merge-symlink-ours-theirs later to maint).
  91
  92 * "git clone $there $here" is allowed even when here directory exists
  93   as long as it is an empty directory, but the command incorrectly
  94   removed it upon a failure of the operation.
  95   (merge d45420c1c8 jk/abort-clone-with-existing-dest later to maint).
  96
  97 * "git commit --fixup" did not allow "-m<message>" option to be used
  98   at the same time; allow it to annotate resulting commit with more
  99   text.
 100   (merge 30884c9afc ab/commit-m-with-fixup later to maint).
 101
 102 * When resetting the working tree files recursively, the working tree
 103   of submodules are now also reset to match.
 104   (merge 7dcc1f4df8 sb/submodule-update-reset-fix later to maint).
 105
 106 * "git stash -- <pathspec>" incorrectly blew away untracked files in
 107   the directory that matched the pathspec, which has been corrected.
 108   (merge bba067d2fa tg/stash-with-pathspec-fix later to maint).
 109
 110 * Instead of maintaining home-grown email address parsing code, ship
 111   a copy of reasonably recent Mail::Address to be used as a fallback
 112   in 'git send-email' when the platform lacks it.
 113   (merge d60be8acab mm/send-email-fallback-to-local-mail-address later to maint).
 114
 115 * "git add -p" was taught to ignore local changes to submodules as
 116   they do not interfere with the partial addition of regular changes
 117   anyway.
 118   (merge 12434efc1d nd/add-i-ignore-submodules later to maint).
 119
 120 * Avoid showing a warning message in the middle of a line of "git
 121   diff" output.
 122   (merge 4e056c989f nd/diff-flush-before-warning later to maint).
 123
 124 * The http tracing code, often used to debug connection issues,
 125   learned to redact potentially sensitive information from its output
 126   so that it can be more safely sharable.
 127   (merge 8ba18e6fa4 jt/http-redact-cookies later to maint).
 128
 129 * Crash fix for a corner case where an error codepath tried to unlock
 130   what it did not acquire lock on.
 131   (merge 81fcb698e0 mr/packed-ref-store-fix later to maint).
 132
 133 * The split-index mode had a few corner case bugs fixed.
 134   (merge ae59a4e44f tg/split-index-fixes later to maint).
 135
 136 * Assorted fixes to "git daemon".
 137   (merge ed15e58efe jk/daemon-fixes later to maint).
 138
 139 * Completion of "git merge -s<strategy>" (in contrib/) did not work
 140   well in non-C locale.
 141   (merge 7cc763aaa3 nd/list-merge-strategy later to maint).
 142
 143 * Workaround for segfault with more recent versions of SVN.
 144   (merge 7f6f75e97a ew/svn-branch-segfault-fix later to maint).
 145
 146 * Other minor doc, test and build updates and code cleanups.
 147   (merge e2a5a028c7 bw/oidmap-autoinit later to maint).
 148   (merge f0a6068a9f ys/bisect-object-id-missing-conversion-fix later to maint).
 149   (merge 30221a3389 as/read-tree-prefix-doc-fix later to maint).
 150   (merge 9bd2ce5432 ab/doc-cat-file-e-still-shows-errors later to maint).
 151   (merge ec3b4b06f8 cl/t9001-cleanup later to maint).
 152   (merge e1b3f3dd38 ks/submodule-doc-updates later to maint).
 153   (merge fbac558a9b rs/describe-unique-abbrev later to maint).
 154   (merge 8462ff43e4 tb/crlf-conv-flags later to maint).
 155   (merge 7d68bb0766 rb/hashmap-h-compilation-fix later to maint).
 156   (merge 3449847168 cc/sha1-file-name later to maint).
 157   (merge ad622a256f ds/use-get-be64 later to maint).
 158   (merge f919ffebed sg/cocci-move-array later to maint).
 159   (merge 4e801463c7 jc/mailinfo-cleanup-fix later to maint).
 160   (merge ef5b3a6c5e nd/shared-index-fix later to maint).
 161   (merge 9f5258cbb8 tz/doc-show-defaults-to-head later to maint).