Documentation / RelNotes / 2.7.0.txton commit Merge branch 'mr/worktree-list' (a46dcfb)
   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 * Teach "git p4" to send large blobs outside the repository by
  49   talking to Git LFS.
  50
  51
  52Performance, Internal Implementation, Development Support etc.
  53
  54 * The infrastructure to rewrite "git submodule" in C is being built
  55   incrementally.  Let's polish these early parts well enough and make
  56   them graduate to 'next' and 'master', so that the more involved
  57   follow-up can start cooking on a solid ground.
  58
  59 * Some features from "git tag -l" and "git branch -l" have been made
  60   available to "git for-each-ref" so that eventually the unified
  61   implementation can be shared across all three.
  62
  63 * Because "test_when_finished" in our test framework queues the
  64   clean-up tasks to be done in a shell variable, it should not be
  65   used inside a subshell.  Add a mechanism to allow 'bash' to catch
  66   such uses, and fix the ones that were found.
  67   (merge 0968f12 jk/test-lint-forbid-when-finished-in-subshell later to maint).
  68
  69 * The debugging infrastructure for pkt-line based communication has
  70   been improved to mark the side-band communication specifically.
  71   (merge fd89433 jk/async-pkt-line later to maint).
  72
  73 * Update "git branch" that list existing branches, using the
  74   ref-filter API that is shared with "git tag" and "git
  75   for-each-ref".
  76
  77 * The test for various line-ending conversions has been enhanced.
  78
  79 * A few test scripts around "git p4" have been improved for
  80   portability.
  81
  82 * Many allocations that is manually counted (correctly) that are
  83   followed by strcpy/sprintf have been replaced with a less error
  84   prone constructs such as xstrfmt.
  85
  86
  87Also contains various documentation updates and code clean-ups.
  88
  89
  90Fixes since v2.6
  91----------------
  92
  93Unless otherwise noted, all the fixes since v2.6 in the maintenance
  94track are contained in this release (see the maintenance releases'
  95notes for details).
  96
  97 * Very small number of options take a parameter that is optional
  98   (which is not a great UI element as they can only appear at the end
  99   of the command line).  Add notice to documentation of each and
 100   every one of them.
 101   (merge 2b594bf mm/keyid-docs later to maint).
 102
 103 * "git blame --first-parent v1.0..v2.0" was not rejected but did not
 104   limit the blame to commits on the first parent chain.
 105   (merge 95a4fb0 jk/blame-first-parent later to maint).
 106
 107 * "git subtree" (in contrib/) now can take whitespaces in the
 108   pathnames, not only in the in-tree pathname but the name of the
 109   directory that the repository is in.  (merge 5b6ab38
 110   as/subtree-with-spaces later to maint).
 111
 112 * The ssh transport, just like any other transport over the network,
 113   did not clear GIT_* environment variables, but it is possible to
 114   use SendEnv and AcceptEnv to leak them to the remote invocation of
 115   Git, which is not a good idea at all.  Explicitly clear them just
 116   like we do for the local transport.
 117   (merge a48b409 jk/connect-clear-env later to maint).
 118
 119 * Correct "git p4 --detect-labels" so that it does not fail to create
 120   a tag that points at a commit that is also being imported.
 121   (merge b43702a ld/p4-import-labels later to maint).
 122
 123 * The Makefile always runs the library archiver with hardcoded "crs"
 124   options, which was inconvenient for exotic platforms on which
 125   people want to use programs with totally different set of command
 126   line options.
 127   (merge ac179b4 jw/make-arflags-customizable later to maint).
 128
 129 * Customization to change the behaviour with "make -w" and "make -s"
 130   in our Makefile was broken when they were used together.
 131   (merge ef49e05 jk/make-findstring-makeflags-fix later to maint).
 132
 133 * Allocation related functions and stdio are unsafe things to call
 134   inside a signal handler, and indeed killing the pager can cause
 135   glibc to deadlock waiting on allocation mutex as our signal handler
 136   tries to free() some data structures in wait_for_pager().  Reduce
 137   these unsafe calls.
 138   (merge 507d780 ti/glibc-stdio-mutex-from-signal-handler later to maint).
 139
 140 * The way how --ref/--notes to specify the notes tree reference are
 141   DWIMmed was not clearly documented.
 142   (merge e14c92e jk/notes-dwim-doc later to maint).
 143
 144 * "git gc" used to barf when a symbolic ref has gone dangling
 145   (e.g. the branch that used to be your upstream's default when you
 146   cloned from it is now gone, and you did "fetch --prune").
 147   (merge 14886b4 js/gc-with-stale-symref later to maint).
 148
 149 * "git clone --dissociate" runs a big "git repack" process at the
 150   end, and it helps to close file descriptors that are open on the
 151   packs and their idx files before doing so on filesystems that
 152   cannot remove a file that is still open.
 153   (merge 786b150 js/clone-dissociate later to maint).
 154
 155 * Description of the "log.follow" configuration variable in "git log"
 156   documentation is now also copied to "git config" documentation.
 157   (merge fd8d07e dt/log-follow-config later to maint).
 158
 159 * "git rebase -i" had a minor regression recently, which stopped
 160   considering a line that begins with an indented '#' in its insn
 161   sheet not a comment, which is now fixed.
 162   (merge 1db168e gr/rebase-i-drop-warn later to maint).
 163
 164 * After "git checkout --detach", "git status" reported a fairly
 165   useless "HEAD detached at HEAD", instead of saying at which exact
 166   commit.
 167   (merge 0eb8548 mm/detach-at-HEAD-reflog later to maint).
 168
 169 * When "git send-email" wanted to talk over Net::SMTP::SSL,
 170   Net::Cmd::datasend() did not like to be fed too many bytes at the
 171   same time and failed to send messages.  Send the payload one line
 172   at a time to work around the problem.
 173   (merge f60c483 sa/send-email-smtp-batch-data-limit later to maint).
 174
 175 * When "git am" was rewritten as a built-in, it stopped paying
 176   attention to user.signingkey, which was fixed.
 177   (merge 434c64d pt/am-builtin later to maint).
 178
 179 * It was not possible to use a repository-lookalike created by "git
 180   worktree add" as a local source of "git clone".
 181   (merge d78db84 nd/clone-linked-checkout later to maint).
 182
 183 * On a case insensitive filesystems, setting GIT_WORK_TREE variable
 184   using a random cases that does not agree with what the filesystem
 185   thinks confused Git that it wasn't inside the working tree.
 186   (merge 63ec5e1 js/icase-wt-detection later to maint).
 187
 188 * Performance-measurement tests did not work without an installed Git.
 189   (merge 31cd128 sb/perf-without-installed-git later to maint).
 190
 191 * A test script for the HTTP service had a timing dependent bug,
 192   which was fixed.
 193   (merge 362d8b6 sb/http-flaky-test-fix later to maint).
 194
 195 * There were some classes of errors that "git fsck" diagnosed to its
 196   standard error that did not cause it to exit with non-zero status.
 197   (merge 122f76f jc/fsck-dropped-errors later to maint).
 198
 199 * Work around "git p4" failing when the P4 depot records the contents
 200   in UTF-16 without UTF-16 BOM.
 201   (merge 1f5f390 ls/p4-translation-failure later to maint).
 202
 203 * When "git gc --auto" is backgrounded, its diagnosis message is
 204   lost.  Save it to a file in $GIT_DIR and show it next time the "gc
 205   --auto" is run.
 206   (merge 329e6e8 nd/gc-auto-background-fix later to maint).
 207
 208 * The submodule code has been taught to work better with separate
 209   work trees created via "git worktree add".
 210   (merge 11f9dd7 mk/submodule-gitdir-path later to maint).
 211
 212 * "git gc" is safe to run anytime only because it has the built-in
 213   grace period to protect young objects.  In order to run with no
 214   grace period, the user must make sure that the repository is
 215   quiescent.
 216   (merge fae1a90 jc/doc-gc-prune-now later to maint).
 217
 218 * A recent "filter-branch --msg-filter" broke skipping of the commit
 219   object header, which is fixed.
 220   (merge a5a4b3f jk/filter-branch-use-of-sed-on-incomplete-line later to maint).
 221
 222 * The normalize_ceiling_entry() function does not muck with the end
 223   of the path it accepts, and the real world callers do rely on that,
 224   but a test insisted that the function drops a trailing slash.
 225   (merge b2a7123 rd/test-path-utils later to maint).
 226
 227 * Code clean-up and minor fixes.
 228   (merge 15ed07d jc/rerere later to maint).
 229   (merge e7a7401 pt/pull-builtin later to maint).
 230   (merge 29bc480 nd/ls-remote-does-not-have-u-option later to maint).
 231   (merge be510e0 jk/asciidoctor-section-heading-markup-fix later to maint).
 232   (merge 83e6bda tk/typofix-connect-unknown-proto-error later to maint).
 233   (merge a43eb67 tk/doc-interpret-trailers-grammo later to maint).
 234   (merge ba128e2 es/worktree-add-cleanup later to maint).
 235   (merge 44cd91e cc/quote-comments later to maint).
 236   (merge 147875f sb/submodule-config-parse later to maint).