Documentation / RelNotes / 2.16.0.txton commit t4013: prepare for upcoming "diff --raw --abbrev" output format change (b4c02c3)
   1Git 2.16 Release Notes
   2======================
   3
   4Backward compatibility notes and other notable changes.
   5
   6 * Use of an empty string as a pathspec element that is used for
   7   'everything matches' is now an error.
   8
   9
  10Updates since v2.15
  11-------------------
  12
  13UI, Workflows & Features
  14
  15 * An empty string as a pathspec element that means "everything"
  16   i.e. 'git add ""', is now illegal.  We started this by first
  17   deprecating and warning a pathspec that has such an element in
  18   2.11 (Nov 2016).
  19
  20 * A hook script that is set unexecutable is simply ignored.  Git
  21   notifies when such a file is ignored, unless the message is
  22   squelched via advice.ignoredHook configuration.
  23
  24 * "git pull" has been taught to accept "--[no-]signoff" option and
  25   pass it down to "git merge".
  26
  27 * The "--push-option=<string>" option to "git push" now defaults to a
  28   list of strings configured via push.pushOption variable.
  29
  30 * "gitweb" checks if a directory is searchable with Perl's "-x"
  31   operator, which can be enhanced by using "filetest 'access'"
  32   pragma, which now we do.
  33
  34 * "git stash save" has been deprecated in favour of "git stash push".
  35
  36
  37Performance, Internal Implementation, Development Support etc.
  38
  39 * An earlier update made it possible to use an on-stack in-core
  40   lockfile structure (as opposed to having to deliberately leak an
  41   on-heap one).  Many codepaths have been updated to take advantage
  42   of this new facility.
  43
  44 * Calling cmd_foo() as if it is a general purpose helper function is
  45   a no-no.  Correct two instances of such to set an example.
  46
  47 * We try to see if somebody runs our test suite with a shell that
  48   does not support "local" like bash/dash does.
  49
  50 * An early part of piece-by-piece rewrite of "git bisect" in C.
  51
  52 * GSoC to piece-by-piece rewrite "git submodule" in C.
  53
  54 * Optimize the code to find shortest unique prefix of object names.
  55
  56 * Pathspec-limited revision traversal was taught not to keep finding
  57   unneeded differences once it knows two trees are different inside
  58   given pathspec.
  59
  60 * Conversion from uchar[20] to struct object_id continues.
  61
  62
  63Also contains various documentation updates and code clean-ups.
  64
  65
  66Fixes since v2.15
  67-----------------
  68
  69 * "auto" as a value for the columnar output configuration ought to
  70   judge "is the output consumed by humans?" with the same criteria as
  71   "auto" for coloured output configuration, i.e. either the standard
  72   output stream is going to tty, or a pager is in use.  We forgot the
  73   latter, which has been fixed.
  74   (merge 965ff23a43 kd/auto-col-with-pager-fix later to maint).
  75
  76 * The experimental "color moved lines differently in diff output"
  77   feature was buggy around "ignore whitespace changes" edges, whihch
  78   has been corrected.
  79   (merge b66b507292 jk/diff-color-moved-fix later to maint).
  80
  81 * Instead of using custom line comparison and hashing functions to
  82   implement "moved lines" coloring in the diff output, use the pair
  83   of these functions from lower-layer xdiff/ code.
  84   (merge 01be97c2b2 sb/diff-color-moved-use-xdl-recmatch later to maint).
  85
  86 * Some codepaths did not check for errors when asking what branch the
  87   HEAD points at, which have been fixed.
  88   (merge dbd2b55cb7 jk/misc-resolve-ref-unsafe-fixes later to maint).
  89
  90 * "git commit", after making a commit, did not check for errors when
  91   asking on what branch it made the commit, which has been correted.
  92   (merge c26de08370 ao/check-resolve-ref-unsafe-result later to maint).
  93
  94 * "git status --ignored -u" did not stop at a working tree of a
  95   separate project that is embedded in an ignored directory and
  96   listed files in that other project, instead of just showing the
  97   directory itself as ignored.
  98   (merge fadb4820c4 js/submodule-in-excluded later to maint).
  99
 100 * A broken access to object databases in recent update to "git grep
 101   --recurse-submodules" has been fixed.
 102   (merge 9560e6245a bw/grep-recurse-submodules later to maint).
 103
 104 * A recent regression in "git rebase -i" that broke execution of git
 105   commands from subdirectories via "exec" insn has been fixed.
 106   (merge 09d7b6c6fa jk/rebase-i-exec-gitdir-fix later to maint).
 107
 108 * A (possibly flakey) test fix.
 109   (merge cff48ccf2a jc/t5601-copy-workaround later to maint).
 110
 111 * "git check-ref-format --branch @{-1}" bit a "BUG()" when run
 112   outside a repository for obvious reasons; clarify the documentation
 113   and make sure we do not even try to expand the at-mark magic in
 114   such a case, but still call the validation logic for branch names.
 115   (merge 89dd32aedc jc/check-ref-format-oor later to maint).
 116
 117 * "git fetch --recurse-submodules" now knows that submodules can be
 118   moved around in the superproject in addition to getting updated,
 119   and finds the ones that need to be fetched accordingly.
 120   (merge 4b4acedd61 hv/fetch-moved-submodules-on-demand later to maint).
 121
 122 * Command line completion (in contrib/) update.
 123   (merge 6357d9d004 tb/complete-checkout later to maint).
 124
 125 * Other minor doc, test and build updates and code cleanups.
 126   (merge bab76141da cn/diff-indent-no-longer-is-experimental later to maint).