Documentation / RelNotes-1.7.2.txton commit Merge branch 'jn/checkout-doc' (f28f049)
   1Git v1.7.2 Release Notes (draft)
   2================================
   3
   4Updates since v1.7.1
   5--------------------
   6
   7 * The whitespace rules used in "git apply --whitespace" and "git diff"
   8   gained a new member in the family (tab-in-indent) to help projects with
   9   policy to indent only with spaces.
  10
  11 * When working from a subdirectory, by default, git does not look for its
  12   metadirectory ".git" across filesystems, primarily to help people who
  13   have invocations of git in their custom PS1 prompts, as being outside
  14   of a git repository would look for ".git" all the way up to the root
  15   directory, and NFS mounts are often slow.  DISCOVERY_ACROSS_FILESYSTEM
  16   environment variable can be used to tell git not to stop at a
  17   filesystem boundary.
  18
  19 * "git" wrapper learned "-c name=value" option to override configuration
  20   variable from the command line.
  21
  22 * The message from "git am -3" has been improved when conflict
  23   resolution ended up making the patch a no-op.
  24
  25 * "git checkout --orphan newbranch" is similar to "-b newbranch" but
  26   prepares to create a root commit that is not connected to any existing
  27   commit.
  28
  29 * "git commit --amend" on a commit with an invalid author-name line that
  30   lacks the display name didn't work (fb7749e4).
  31
  32 * "git cvsserver" can be told to use pserver; its password file can be
  33   stored outside the repository.
  34
  35 * The output from the textconv filter used by "git diff" can be cached to
  36   speed up their reuse.
  37
  38 * "git diff --word-diff=<mode>" extends the existing "--color-words"
  39   option, making it more useful in color-challenged environments.
  40
  41 * The regexp to detect function headers used by "git diff" for PHP has
  42   been enhanced for visibility modifiers (public, protected, etc.) to
  43   better support PHP5.
  44
  45 * "diff.noprefix" configuration variable can be used to implicitly
  46   ask for "diff --no-prefix" behaviour.
  47
  48 * "git for-each-ref" learned "%(objectname:short)" that gives the object
  49   name abbreviated.
  50
  51 * Various options to "git grep" (e.g. --count, --name-only) work better
  52   with binary files.
  53
  54 * "git help -w" learned "chrome" and "chromium" browsers.
  55
  56 * "git log --follow <path>" follows across copies (it used to only follow
  57   renames).  This may make the processing more expensive.
  58
  59 * "git ls-files ../out/side/cwd" works now.
  60
  61 * "git notes prune" learned "-n" (dry-run) and "-v" options, similar to
  62   what "git prune" has.
  63
  64 * "git patch-id" can be fed a mbox without getting confused by the
  65   signature line in the format-patch output.
  66
  67 * "git remote" learned "set-branches" subcommand.
  68
  69 * "git revert" learned --strategy option to specify the merge strategy.
  70
  71 * "git status [-s] --ignored" can be used to list ignored paths.
  72
  73 * "git status -s -b" shows the current branch in the output.
  74
  75 * Various "gitweb" enhancements and clean-ups, including syntax
  76   highlighting, "plackup" support for instaweb, etc.
  77
  78
  79Fixes since v1.7.1
  80------------------
  81
  82All of the fixes in v1.7.1.X maintenance series are included in this
  83release, unless otherwise noted.
  84
  85 * We didn't URL decode "file:///path/to/repo" correctly when path/to/repo
  86   had percent-encoded characters (638794c, 9d2e942).
  87
  88 * "git clone/fetch/pull" issued an incorrect error message when a ref and
  89   a symref that points to the ref were updated at the same time.  This
  90   obviously would update them to the same value, and should not result in
  91   an error condition (7223dcaf).
  92
  93 * "git clone" did not configure remote.origin.url correctly for bare
  94   clones (df61c889).
  95
  96 * "git diff --graph" works better with "--color-words" and other options
  97   (81fa024..4297c0a).
  98
  99 * "git diff" could show ambiguous abbreviation of blob object names on
 100   its "index" line (3e5a188).
 101
 102 * "git merge --log" used to replace the custom message given by "-m" with
 103   the shortlog, instead of appending to it (tc/merge-m-log).
 104
 105 * "git reset --hard" started from a wrong directory and a working tree in
 106   a nonstandard location is in use got confused (560fb6a1).
 107
 108 * "git show -C -C" and other corner cases lost diff metainfo output
 109   in 1.7.0 (296c6bb).
 110
 111--
 112exec >/var/tmp/1
 113O=v1.7.1-423-gae391ec
 114echo O=$(git describe HEAD)
 115git shortlog --no-merges HEAD ^maint ^$O