Documentation / RelNotes / 2.7.0.txton commit Merge branch 'js/gc-with-stale-symref' (1018f3e)
   1Git 2.7 Release Notes
   2=====================
   3
   4Updates since v2.6
   5------------------
   6
   7UI, Workflows & Features
   8
   9 * "git remote" learned "get-url" subcommand to show the URL for a
  10   given remote name used for fetching and pushing.
  11
  12 * There was no way to defeat a configured rebase.autostash variable
  13   from the command line, as "git rebase --no-autostash" was missing.
  14
  15 * "git log --date=local" used to only show the normal (default)
  16   format in the local timezone.  The command learned to take 'local'
  17   as an instruction to use the local timezone with other formats,
  18
  19 * The refs used during a "git bisect" session is now per-worktree so
  20   that independent bisect sessions can be done in different worktrees
  21   created with "git worktree add".
  22
  23 * Users who are too busy to type three extra keystrokes to ask for
  24   "git stash show -p" can now set stash.showPatch configuration
  25   varible to true to always see the actual patch, not just the list
  26   of paths affected with feel for the extent of damage via diffstat.
  27
  28 * "quiltimport" allows to specify the series file by honoring the
  29   $QUILT_SERIES environment and also --series command line option.
  30
  31 * The use of 'good/bad' in "git bisect" made it confusing to use when
  32   hunting for a state change that is not a regression (e.g. bugfix).
  33   The command learned 'old/new' and then allows the end user to
  34   say e.g. "bisect start --term-old=fast --term=new=slow" to find a
  35   performance regression.
  36
  37 * "git interpret-trailers" can now run outside of a Git repository.
  38
  39 * "git p4" learned to reencode the pathname it uses to communicate
  40   with the p4 depot with a new option.
  41
  42 * Give progress meter to "git filter-branch".
  43
  44 * Allow a later "!/abc/def" to override an earlier "/abc" that
  45   appears in the same .gitignore file to make it easier to express
  46   "everything in /abc directory is ignored, except for ...".
  47
  48
  49Performance, Internal Implementation, Development Support etc.
  50
  51 * The infrastructure to rewrite "git submodule" in C is being built
  52   incrementally.  Let's polish these early parts well enough and make
  53   them graduate to 'next' and 'master', so that the more involved
  54   follow-up can start cooking on a solid ground.
  55
  56 * Some features from "git tag -l" and "git branch -l" have been made
  57   available to "git for-each-ref" so that eventually the unified
  58   implementation can be shared across all three.
  59
  60 * Because "test_when_finished" in our test framework queues the
  61   clean-up tasks to be done in a shell variable, it should not be
  62   used inside a subshell.  Add a mechanism to allow 'bash' to catch
  63   such uses, and fix the ones that were found.
  64   (merge 0968f12 jk/test-lint-forbid-when-finished-in-subshell later to maint).
  65
  66 * The debugging infrastructure for pkt-line based communication has
  67   been improved to mark the side-band communication specifically.
  68   (merge fd89433 jk/async-pkt-line later to maint).
  69
  70
  71Also contains various documentation updates and code clean-ups.
  72
  73
  74Fixes since v2.6
  75----------------
  76
  77Unless otherwise noted, all the fixes since v2.6 in the maintenance
  78track are contained in this release (see the maintenance releases'
  79notes for details).
  80
  81 * Very small number of options take a parameter that is optional
  82   (which is not a great UI element as they can only appear at the end
  83   of the command line).  Add notice to documentation of each and
  84   every one of them.
  85   (merge 2b594bf mm/keyid-docs later to maint).
  86
  87 * "git blame --first-parent v1.0..v2.0" was not rejected but did not
  88   limit the blame to commits on the first parent chain.
  89   (merge 95a4fb0 jk/blame-first-parent later to maint).
  90
  91 * "git subtree" (in contrib/) now can take whitespaces in the
  92   pathnames, not only in the in-tree pathname but the name of the
  93   directory that the repository is in.  (merge 5b6ab38
  94   as/subtree-with-spaces later to maint).
  95
  96 * The ssh transport, just like any other transport over the network,
  97   did not clear GIT_* environment variables, but it is possible to
  98   use SendEnv and AcceptEnv to leak them to the remote invocation of
  99   Git, which is not a good idea at all.  Explicitly clear them just
 100   like we do for the local transport.
 101   (merge a48b409 jk/connect-clear-env later to maint).
 102
 103 * Correct "git p4 --detect-labels" so that it does not fail to create
 104   a tag that points at a commit that is also being imported.
 105   (merge b43702a ld/p4-import-labels later to maint).
 106
 107 * The Makefile always runs the library archiver with hardcoded "crs"
 108   options, which was inconvenient for exotic platforms on which
 109   people want to use programs with totally different set of command
 110   line options.
 111   (merge ac179b4 jw/make-arflags-customizable later to maint).
 112
 113 * Customization to change the behaviour with "make -w" and "make -s"
 114   in our Makefile was broken when they were used together.
 115   (merge ef49e05 jk/make-findstring-makeflags-fix later to maint).
 116
 117 * Allocation related functions and stdio are unsafe things to call
 118   inside a signal handler, and indeed killing the pager can cause
 119   glibc to deadlock waiting on allocation mutex as our signal handler
 120   tries to free() some data structures in wait_for_pager().  Reduce
 121   these unsafe calls.
 122   (merge 507d780 ti/glibc-stdio-mutex-from-signal-handler later to maint).
 123
 124 * The way how --ref/--notes to specify the notes tree reference are
 125   DWIMmed was not clearly documented.
 126   (merge e14c92e jk/notes-dwim-doc later to maint).
 127
 128 * Code clean-up and minor fixes.
 129   (merge 15ed07d jc/rerere later to maint).
 130   (merge b744767 pt/pull-builtin later to maint).
 131   (merge 29bc480 nd/ls-remote-does-not-have-u-option later to maint).
 132   (merge be510e0 jk/asciidoctor-section-heading-markup-fix later to maint).
 133   (merge 83e6bda tk/typofix-connect-unknown-proto-error later to maint).