Documentation / RelNotes / 2.18.0.txton commit pack-objects: abstract away hash algorithm (4117910)
   1Git 2.18 Release Notes
   2======================
   3
   4Updates since v2.17
   5-------------------
   6
   7UI, Workflows & Features
   8
   9 * Rename detection logic in "diff" family that is used in "merge" has
  10   learned to guess when all of x/a, x/b and x/c have moved to z/a,
  11   z/b and z/c, it is likely that x/d added in the meantime would also
  12   want to move to z/d by taking the hint that the entire directory
  13   'x' moved to 'z'.  A bug causing dirty files involved in a rename
  14   to be overwritten during merge has also been fixed as part of this
  15   work.
  16
  17 * "git filter-branch" learned to use a different exit code to allow
  18   the callers to tell the case where there was no new commits to
  19   rewrite from other error cases.
  20
  21 * When built with more recent cURL, GIT_SSL_VERSION can now specify
  22   "tlsv1.3" as its value.
  23
  24
  25Performance, Internal Implementation, Development Support etc.
  26
  27 * A "git fetch" from a repository with insane number of refs into a
  28   repository that is already up-to-date still wasted too many cycles
  29   making many lstat(2) calls to see if these objects at the tips
  30   exist as loose objects locally.  These lstat(2) calls are optimized
  31   away by enumerating all loose objects beforehand.
  32   It is unknown if the new strategy negatively affects existing use
  33   cases, fetching into a repository with many loose objects from a
  34   repository with small number of refs.
  35
  36 * Git can be built to use either v1 or v2 of the PCRE library, and so
  37   far, the build-time configuration USE_LIBPCRE=YesPlease instructed
  38   the build procedure to use v1, but now it means v2.  USE_LIBPCRE1
  39   and USE_LIBPCRE2 can be used to explicitly choose which version to
  40   use, as before.
  41
  42 * The build procedure learned to optionally use symbolic links
  43   (instead of hardlinks and copies) to install "git-foo" for built-in
  44   commands, whose binaries are all identical.
  45
  46 * Conversion from uchar[20] to struct object_id continues.
  47
  48 * The way "git worktree prune" worked internally has been simplified,
  49   by assuming how "git worktree move" moves an existing worktree to a
  50   different place.
  51
  52 * Code clean-up for the "repository" abstraction.
  53   (merge 00a3da2a13 nd/remove-ignore-env-field later to maint).
  54
  55 * Code to find the length to uniquely abbreviate object names based
  56   on packfile content, which is a relatively recent addtion, has been
  57   optimized to use the same fan-out table.
  58
  59 * The mechanism to use parse-options API to automate the command line
  60   completion continues to get extended and polished.
  61
  62 * Copies of old scripted Porcelain commands in contrib/examples/ have
  63   been removed.
  64
  65 * Some tests that rely on the exact hardcoded values of object names
  66   have been updated in preparation for hash function migration.
  67
  68 * Perf-test update.
  69
  70 * Test helper update.
  71
  72 * The effort continues to refactor the internal global data structure
  73   to make it possible to open multiple repositories, work with and
  74   then close them,
  75
  76 * Small test-helper programs have been consolidated into a single
  77   binary.
  78
  79Also contains various documentation updates and code clean-ups.
  80
  81
  82Fixes since v2.17
  83-----------------
  84
  85 * "git shortlog cruft" aborted with a BUG message when run outside a
  86   Git repository.  The command has been taught to complain about
  87   extra and unwanted arguments on its command line instead in such a
  88   case.
  89   (merge 4aa0161e83 ma/shortlog-revparse later to maint).
  90
  91 * "git stash push -u -- <pathspec>" gave an unnecessary and confusing
  92   error message when there was no tracked files that match the
  93   <pathspec>, which has been fixed.
  94   (merge 353278687e tg/stash-untracked-with-pathspec-fix later to maint).
  95
  96 * "git tag --contains no-such-commit" gave a full list of options
  97   after giving an error message.
  98   (merge 3bb0923f06 ps/contains-id-error-message later to maint).
  99
 100 * "diff-highlight" filter (in contrib/) learned to undertand "git log
 101   --graph" output better.
 102   (merge 4551fbba14 jk/diff-highlight-graph-fix later to maint).
 103
 104 * when refs that do not point at committish are given, "git
 105   filter-branch" gave a misleading error messages.  This has been
 106   corrected.
 107   (merge f78ab355e7 yk/filter-branch-non-committish-refs later to maint).
 108
 109 * "git submodule status" misbehaved on a submodule that has been
 110   removed from the working tree.
 111   (merge 74b6bda32f rs/status-with-removed-submodule later to maint).
 112
 113 * When credential helper exits very quickly without reading its
 114   input, it used to cause Git to die with SIGPIPE, which has been
 115   fixed.
 116   (merge a0d51e8d0e eb/cred-helper-ignore-sigpipe later to maint).
 117
 118 * Other minor doc, test and build updates and code cleanups.
 119   (merge 248f66ed8e nd/trace-with-env later to maint).
 120   (merge 14ced5562c ys/bisect-object-id-missing-conversion-fix later to maint).
 121   (merge 5988eb631a ab/doc-hash-brokenness later to maint).
 122   (merge a4d4e32a70 pk/test-avoid-pipe-hiding-exit-status later to maint).