Code

Merge branch 'maint'
[git.git] / Documentation / RelNotes-1.7.2.txt
1 Git v1.7.2 Release Notes (draft)
2 ================================
4 Updates since v1.7.1
5 --------------------
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.
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.
19  * "git" wrapper learned "-c name=value" option to override configuration
20    variable from the command line.
22  * After "git apply --whitespace=fix" removed trailing blank lines in an
23    patch in a patch series, it failed to apply later patches that depend
24    on the presense of such blank lines.
26  * The message from "git am -3" has been improved when conflict
27    resolution ended up making the patch a no-op.
29  * "git checkout --orphan newbranch" is similar to "-b newbranch" but
30    prepares to create a root commit that is not connected to any existing
31    commit.
33  * "git commit --amend" on a commit with an invalid author-name line that
34    lacks the display name didn't work (fb7749e4).
36  * "git cvsserver" can be told to use pserver; its password file can be
37    stored outside the repository.
39  * The output from the textconv filter used by "git diff" can be cached to
40    speed up their reuse.
42  * "git diff --color" did not paint extended diff headers per line
43    (i.e. the coloring escape sequence didn't end at the end of line),
44    which confused "less -R".
46  * "git diff --word-diff=<mode>" extends the existing "--color-words"
47    option, making it more useful in color-challenged environments.
49  * The regexp to detect function headers used by "git diff" for PHP has
50    been enhanced for visibility modifiers (public, protected, etc.) to
51    better support PHP5.
53  * "diff.noprefix" configuration variable can be used to implicitly
54    ask for "diff --no-prefix" behaviour.
56  * "git for-each-ref" learned "%(objectname:short)" that gives the object
57    name abbreviated.
59  * Various options to "git grep" (e.g. --count, --name-only) work better
60    with binary files.
62  * "git help -w" learned "chrome" and "chromium" browsers.
64  * "git log --follow <path>" follows across copies (it used to only follow
65    renames).  This may make the processing more expensive.
67  * "git ls-files ../out/side/cwd" works now.
69  * "git notes prune" learned "-n" (dry-run) and "-v" options, similar to
70    what "git prune" has.
72  * "git patch-id" can be fed a mbox without getting confused by the
73    signature line in the format-patch output.
75  * "git remote" learned "set-branches" subcommand.
77  * "git revert" learned --strategy option to specify the merge strategy.
79  * "git status [-s] --ignored" can be used to list ignored paths.
81  * "git status -s -b" shows the current branch in the output.
83  * Various "gitweb" enhancements and clean-ups, including syntax
84    highlighting, "plackup" support for instaweb, etc.
87 Fixes since v1.7.1
88 ------------------
90 All of the fixes in v1.7.1.X maintenance series are included in this
91 release, unless otherwise noted.
93  * We didn't recognize timezone "Z" as a synonym for "UTC" (75b37e70).
95  * We didn't URL decode "file:///path/to/repo" correctly when path/to/repo
96    had percent-encoded characters (638794c, 9d2e942).
98  * "git checkout" and "git rebase" overwrote paths that are marked "assume
99    unchanged" (aecda37c).
101  * "git clone/fetch/pull" issued an incorrect error message when a ref and
102    a symref that points to the ref were updated at the same time.  This
103    obviously would update them to the same value, and should not result in
104    an error condition (7223dcaf).
106  * "git clone" did not configure remote.origin.url correctly for bare
107    clones (df61c889).
109  * "git diff" used to tell underlying xdiff machinery to work very hard to
110    minimize the output, but this often was spending too many extra cycles
111    for very little gain (582aa00).
113  * "git diff --graph" works better with "--color-words" and other options
114    (81fa024..4297c0a).
116  * "git diff" could show ambiguous abbreviation of blob object names on
117    its "index" line (3e5a188).
119  * "git merge --log" used to replace the custom message given by "-m" with
120    the shortlog, instead of appending to it (tc/merge-m-log).
122  * "git pull" accepted "--dry-run", gave it to underlying "git fetch" but
123    ignored the option itself, resulting in a bogus attempt to merge
124    unrelated commit (29609e68).
126  * "git reset --hard" started from a wrong directory and a working tree in
127    a nonstandard location is in use got confused (560fb6a1).
129  * "git show -C -C" and other corner cases lost diff metainfo output
130    in 1.7.0 (296c6bb).
132 --
133 exec >/var/tmp/1
134 O=v1.7.1-423-gae391ec
135 echo O=$(git describe HEAD)
136 git shortlog --no-merges HEAD ^maint ^$O