Documentation / RelNotes / 1.7.11.txton commit Merge branch 'maint' (b652ada)
   1Git v1.7.11 Release Notes
   2=========================
   3
   4Updates since v1.7.10
   5---------------------
   6
   7UI, Workflows & Features
   8
   9 * A new mode for push, "simple", which is a cross between "current"
  10   and "upstream", has been introduced. "git push" without any refspec
  11   will push the current branch out to the same name at the remote
  12   repository only when it is set to track the branch with the same
  13   name over there.  The plan is to make this mode the new default
  14   value when push.default is not configured.
  15
  16 * A couple of commands learned the "--column" option to produce
  17   columnar output.
  18
  19 * A third-party tool "git subtree" is distributed in contrib/
  20
  21 * Error messages given when @{u} is used for a branch without its
  22   upstream configured have been clatified.
  23
  24 * Even with "-q"uiet option, "checkout" used to report setting up
  25   tracking.  Also "branch" learned the "-q"uiet option to squelch
  26   informational message.
  27
  28 * The smart-http backend used to always override GIT_COMMITTER_*
  29   variables with REMOTE_USER and REMOTE_ADDR, but these variables are
  30   now preserved when set.
  31
  32 * "include.path" mechanism of the configuration files learned to
  33   understand "~/path" and "~user/path".
  34
  35 * "git am" learned the "--include" option, which is an opposite of
  36   existing the "--exclude" option.
  37
  38 * When "git am -3" needs to fall back to an application to a
  39   synthesized preimage followed by a 3-way merge, the paths that
  40   needed such treatment are now reported to the end user, so that the
  41   result in them can be eyeballed with extra care.
  42
  43 * The output from "diff/log --stat" used to always allocate 4 columns
  44   to show the number of modified lines, but not anymore.
  45
  46 * "git difftool" learned the "--dir-diff" option to spawn external
  47   diff tools that can compare two directory hierarchies at a time
  48   after populating two temporary directories, instead of running an
  49   instance of the external tool once per a file pair.
  50
  51 * The "fmt-merge-msg" command learns to list the primary contributors
  52   involved in the side topic you are merging.
  53
  54 * The cases "git push" fails due to non-ff can be broken into three
  55   categories; each case is given a separate advise message.
  56
  57 * "git rebase" learned to optionally keep commits that do not
  58   introduce any change in the original history.
  59
  60 * "git push --recurse-submodules" learned to optionally look into the
  61   histories of submodules bound to the superproject and push them
  62   out.
  63
  64 * A 'snapshot' request to "gitweb" honors If-Modified-Since: header,
  65   based on the commit date.
  66
  67 * "gitweb" learned to highlight the patch it outputs even more.
  68
  69Foreign Interface
  70
  71 * "git svn" used to die with unwanted SIGPIPE when talking with HTTP
  72   server that uses keep-alive.
  73
  74 * "git svn" learned to use platform specific authentication
  75   providers, e.g. gnome-keyring, kwallet, etc.
  76
  77 * "git p4" has been moved out of contrib/ area and has seen more work
  78   on importing labels as tags from (and exporting tags as labels to)
  79   p4.
  80
  81Performance and Internal Implementation (please report possible regressions)
  82
  83 * An experimental "version 4" format of the index file has been
  84   introduced to reduce on-disk footprint and I/O overhead.
  85
  86 * The code to compute hash values for lines used by the internal diff
  87   engine was optimized on little-endian machines, using the same
  88   trick the kernel folks came up with.
  89
  90 * "git apply" had some memory leaks plugged.
  91
  92 * "git repack" used to write out unreachable objects as loose objects
  93   when repacking, even if such loose objects will immediately pruned
  94   due to its age.
  95
  96 * Setting up a revision traversal with many starting points was
  97   inefficient as these were placed in a date-order priority queue
  98   one-by-one.  Now they are collected in the queue unordered first,
  99   and sorted immediately before getting used.
 100
 101 * "git rev-parse --show-prefix" used to emit nothing when run at the
 102   top-level of the working tree, but now it gives a blank line.
 103
 104 * Minor memory leak during unpack_trees (hence "merge" and "checkout"
 105   to check out another branch) has been plugged.
 106
 107 * More lower-level commands learned to use the streaming API to read
 108   from the object store without keeping everything in core.
 109
 110 * Because "sh" on the user's PATH may be utterly broken on some
 111   systems, run-command API now uses SHELL_PATH, not /bin/sh, when
 112   spawning an external command (not applicable to Windows port).
 113
 114 * The API to iterate over refs/ hierarchy has been tweaked to allow
 115   walking only a subset of it more efficiently.
 116
 117Also contains minor documentation updates and code clean-ups.
 118
 119
 120Fixes since v1.7.10
 121-------------------
 122
 123Unless otherwise noted, all the fixes since v1.7.10 in the maintenance
 124releases are contained in this release (see release notes to them for
 125details).
 126
 127 * "git diff --stat" used to fully count a binary file with modified
 128   execution bits whose contents is unmodified, which was not quite
 129   right.
 130
 131 * "log -z --pretty=tformat:..." did not terminate each record with
 132   NUL.  The fix is not entirely correct when the output also asks for
 133   --patch and/or --stat, though.
 134   (merge fafd382 jk/maint-tformat-with-z later to maint).
 135
 136 * "git push" over smart-http lost progress output a few releases ago.
 137   (merge e304aeb jk/maint-push-progress later to maint).
 138
 139 * A contrib script "rerere-train" did not work out of the box unless
 140   user futzed with her $PATH.
 141   (merge 53876fc jc/rerere-train later to maint).
 142
 143 * "log --graph" was not very friendly with "--stat" option and its
 144   output had line breaks at wrong places.
 145   (merge bafa16e lp/diffstat-with-graph later to maint).