Documentation / RelNotes / 2.8.0.txton commit Merge branch 'ep/shell-command-substitution-style' (e572fef)
   1Git 2.8 Release Notes
   2=====================
   3
   4Updates since v2.7
   5------------------
   6
   7UI, Workflows & Features
   8
   9 * "branch --delete" has "branch -d" but "push --delete" does not.
  10   (merge 38a2559 ps/push-delete-option later to maint).
  11
  12 * "git blame" learned to produce the progress eye-candy when it takes
  13   too much time before emitting the first line of the result.
  14
  15 * "git grep" can now be configured (or told from the command line)
  16   how many threads to use when searching in the working tree files.
  17
  18 * Some "git notes" operations, e.g. "git log --notes=<note>", should
  19   be able to read notes from any tree-ish that is shaped like a notes
  20   tree, but the notes infrastructure required that the argument must
  21   be a ref under refs/notes/.  Loosen it to require a valid ref only
  22   when the operation would update the notes (in which case we must
  23   have a place to store the updated notes tree, iow, a ref).
  24
  25 * "git grep" by default does not fall back to its "--no-index"
  26   behaviour outside a directory under Git's control (otherwise the
  27   user may by mistake end up running a huge recursive search); with a
  28   new configuration (set in $HOME/.gitconfig--by definition this
  29   cannot be set in the config file per project), this safety can be
  30   disabled.
  31
  32
  33Performance, Internal Implementation, Development Support etc.
  34
  35 * Add a framework to spawn a group of processes in parallel, and use
  36   it to run "git fetch --recurse-submodules" in parallel.
  37
  38 * A slight update to the Makefile to mark "phoney" targets
  39   as such correctly.
  40
  41 * In-core storage of the reverse index for .pack files (which lets
  42   you go from a pack offset to an object name) has been streamlined.
  43
  44 * d95138e6 (setup: set env $GIT_WORK_TREE when work tree is set, like
  45   $GIT_DIR, 2015-06-26) attempted to work around a glitch in alias
  46   handling by overwriting GIT_WORK_TREE environment variable to
  47   affect subprocesses when set_git_work_tree() gets called, which
  48   resulted in a rather unpleasant regression to "clone" and "init".
  49   Try to address the same issue by always restoring the environment
  50   and respawning the real underlying command when handling alias.
  51
  52
  53Also contains various documentation updates and code clean-ups.
  54
  55
  56Fixes since v2.7
  57----------------
  58
  59Unless otherwise noted, all the fixes since v2.7 in the maintenance
  60track are contained in this release (see the maintenance releases'
  61notes for details).
  62
  63 * An earlier change in 2.5.x-era broke users' hooks and aliases by
  64   exporting GIT_WORK_TREE to point at the root of the working tree,
  65   interfering when they tried to use a different working tree without
  66   setting GIT_WORK_TREE environment themselves.
  67   (merge df1e6ea nd/stop-setenv-work-tree later to maint).
  68
  69 * The "exclude_list" structure has the usual "alloc, nr" pair of
  70   fields to be used by ALLOC_GROW(), but clear_exclude_list() forgot
  71   to reset 'alloc' to 0 when it cleared 'nr' to discard the managed
  72   array.
  73   (merge 2653a8c nd/dir-exclude-cleanup later to maint).
  74
  75 * Paths that have been told the index about with "add -N" are not
  76   quite yet in the index, but a few commands behaved as if they
  77   already are in a harmful way.
  78   (merge 4d55200 nd/ita-cleanup later to maint).
  79
  80 * "git send-email" was confused by escaped quotes stored in the alias
  81   files saved by "mutt", which has been corrected.
  82   (merge 2c510f2 ew/send-email-mutt-alias-fix later to maint).
  83
  84 * A few unportable C construct have been spotted by clang compiler
  85   and have been fixed.
  86   (merge a0df2e5 jk/clang-pedantic later to maint).
  87
  88 * The documentation has been updated to hint the connection between
  89   the '--signoff' option and DCO.
  90   (merge b2c150d dw/signoff-doc later to maint).
  91
  92 * "git reflog" incorrectly assumed that all objects that used to be
  93   at the tip of a ref must be commits, which caused it to segfault.
  94   (merge aecad37 dk/reflog-walk-with-non-commit later to maint).
  95
  96 * The ignore mechanism saw a few regressions around untracked file
  97   listing and sparse checkout selection areas in 2.7.0; the change
  98   that is responsible for the regression has been reverted.
  99   (merge 8c72236 nd/exclusion-regression-fix later to maint).
 100
 101 * Some codepaths used fopen(3) when opening a fixed path in $GIT_DIR
 102   (e.g. COMMIT_EDITMSG) that is meant to be left after the command is
 103   done.  This however did not work well if the repository is set to
 104   be shared with core.sharedRepository and the umask of the previous
 105   user is tighter.  They have been made to work better by calling
 106   unlink(2) and retrying after fopen(3) fails with EPERM.
 107   (merge ea56518 js/fopen-harder later to maint).
 108
 109 * Asking gitweb for a nonexistent commit left a warning in the server
 110   log.
 111
 112   Somebody may want to follow this up with an additional test, perhaps?
 113   IIRC, we do test that no Perl warnings are given to the server log,
 114   so this should have been caught if our test coverage were good.
 115   (merge a9eb90a ho/gitweb-squelch-undef-warning later to maint).
 116
 117 * Other minor clean-ups and documentation updates
 118   (merge 99487cf ss/user-manual later to maint).
 119   (merge e914ef0 ew/for-each-ref-doc later to maint).
 120   (merge 36fc7d8 sg/t6050-failing-editor-test-fix later to maint).
 121   (merge 60253a6 ss/clone-depth-single-doc later to maint).