]>
Commit | Line | Data |
---|---|---|
212f0ba3 JH |
1 | Git v1.7.2 Release Notes (draft) |
2 | ================================ | |
3 | ||
4 | Updates since v1.7.1 | |
5 | -------------------- | |
6 | ||
6f426c74 JH |
7 | * core.eol configuration and eol attribute are the new way to control |
8 | the end of line conventions for files in the working tree; | |
9 | core.autocrlf overrides it, keeping the traditional behaviour by | |
10 | default. | |
11 | ||
6068cdcc JH |
12 | * The whitespace rules used in "git apply --whitespace" and "git diff" |
13 | gained a new member in the family (tab-in-indent) to help projects with | |
14 | policy to indent only with spaces. | |
15 | ||
6068cdcc JH |
16 | * When working from a subdirectory, by default, git does not look for its |
17 | metadirectory ".git" across filesystems, primarily to help people who | |
18 | have invocations of git in their custom PS1 prompts, as being outside | |
19 | of a git repository would look for ".git" all the way up to the root | |
20 | directory, and NFS mounts are often slow. DISCOVERY_ACROSS_FILESYSTEM | |
21 | environment variable can be used to tell git not to stop at a | |
22 | filesystem boundary. | |
23 | ||
6f426c74 JH |
24 | * Usage help messages generated by parse-options library (i.e. most |
25 | of the Porcelain commands) are sent to the standard output now. | |
26 | ||
27 | * ':/<string>' notation to look for a commit now takes regular expression | |
28 | and it is not anchored at the beginning of the commit log message | |
29 | anymore (this is a backward incompatible change). | |
30 | ||
6068cdcc JH |
31 | * "git" wrapper learned "-c name=value" option to override configuration |
32 | variable from the command line. | |
33 | ||
6f426c74 JH |
34 | * Improved portability for various platforms including older SunOS, |
35 | HP-UX 10/11, AIX, Tru64, etc. and platforms with Python 2.4. | |
36 | ||
049e98c8 JH |
37 | * The message from "git am -3" has been improved when conflict |
38 | resolution ended up making the patch a no-op. | |
39 | ||
6068cdcc JH |
40 | * "git checkout --orphan newbranch" is similar to "-b newbranch" but |
41 | prepares to create a root commit that is not connected to any existing | |
42 | commit. | |
43 | ||
6f426c74 JH |
44 | * "git cherry-pick" learned to pick a range of commits (e.g. "cherry-pick |
45 | A..B"); this does not have nicer sequencing control "rebase [-i]" has, | |
46 | though. | |
6068cdcc JH |
47 | |
48 | * "git cvsserver" can be told to use pserver; its password file can be | |
49 | stored outside the repository. | |
50 | ||
212f0ba3 JH |
51 | * The output from the textconv filter used by "git diff" can be cached to |
52 | speed up their reuse. | |
53 | ||
6068cdcc JH |
54 | * "git diff --word-diff=<mode>" extends the existing "--color-words" |
55 | option, making it more useful in color-challenged environments. | |
56 | ||
57 | * The regexp to detect function headers used by "git diff" for PHP has | |
58 | been enhanced for visibility modifiers (public, protected, etc.) to | |
59 | better support PHP5. | |
60 | ||
049e98c8 JH |
61 | * "diff.noprefix" configuration variable can be used to implicitly |
62 | ask for "diff --no-prefix" behaviour. | |
63 | ||
6068cdcc JH |
64 | * "git for-each-ref" learned "%(objectname:short)" that gives the object |
65 | name abbreviated. | |
66 | ||
6f426c74 JH |
67 | * "git format-patch" learned --signature option and format.signature |
68 | configuration variable to customize the e-mail signature used in the | |
69 | output. | |
70 | ||
6068cdcc JH |
71 | * Various options to "git grep" (e.g. --count, --name-only) work better |
72 | with binary files. | |
73 | ||
049e98c8 JH |
74 | * "git help -w" learned "chrome" and "chromium" browsers. |
75 | ||
6068cdcc JH |
76 | * "git log --follow <path>" follows across copies (it used to only follow |
77 | renames). This may make the processing more expensive. | |
78 | ||
6f426c74 JH |
79 | * "git log --pretty=format:<template>" specifier learned "% <something>" |
80 | magic that inserts a space only when %<something> expands to a | |
81 | non-empty string; this is similar to "%+<something>" magic, but is | |
82 | useful in a context to generate a single line output. | |
049e98c8 | 83 | |
6068cdcc JH |
84 | * "git notes prune" learned "-n" (dry-run) and "-v" options, similar to |
85 | what "git prune" has. | |
86 | ||
87 | * "git patch-id" can be fed a mbox without getting confused by the | |
88 | signature line in the format-patch output. | |
212f0ba3 | 89 | |
049e98c8 JH |
90 | * "git remote" learned "set-branches" subcommand. |
91 | ||
212f0ba3 JH |
92 | * "git revert" learned --strategy option to specify the merge strategy. |
93 | ||
6f426c74 JH |
94 | * "git rev-list A..B" learned --ancestry-path option to further limit |
95 | the result to the commits that are on the ancestry chain between A and | |
96 | B (i.e. commits that are not descendants of A are excluded). | |
97 | ||
6068cdcc JH |
98 | * "git status [-s] --ignored" can be used to list ignored paths. |
99 | ||
049e98c8 JH |
100 | * "git status -s -b" shows the current branch in the output. |
101 | ||
6068cdcc | 102 | * Various "gitweb" enhancements and clean-ups, including syntax |
6f426c74 JH |
103 | highlighting, "plackup" support for instaweb, .fcgi suffix to run |
104 | it as FastCGI script, etc. | |
212f0ba3 JH |
105 | |
106 | ||
107 | Fixes since v1.7.1 | |
108 | ------------------ | |
109 | ||
212f0ba3 JH |
110 | All of the fixes in v1.7.1.X maintenance series are included in this |
111 | release, unless otherwise noted. | |
112 | ||
049e98c8 JH |
113 | * We didn't URL decode "file:///path/to/repo" correctly when path/to/repo |
114 | had percent-encoded characters (638794c, 9d2e942). | |
115 | ||
6f426c74 JH |
116 | * "git commit" did not honor GIT_REFLOG_ACTION environment variable, resulting |
117 | reflog messages for cherry-pick and revert actions to be recorded as "commit". | |
118 | ||
6068cdcc JH |
119 | * "git clone/fetch/pull" issued an incorrect error message when a ref and |
120 | a symref that points to the ref were updated at the same time. This | |
121 | obviously would update them to the same value, and should not result in | |
6f426c74 | 122 | an error condition (0e71bc3). |
6068cdcc JH |
123 | |
124 | * "git clone" did not configure remote.origin.url correctly for bare | |
125 | clones (df61c889). | |
126 | ||
6f426c74 JH |
127 | * "git diff" inside a tree with many pathnames that have certain |
128 | characters has become very slow in 1.7.0 by mistake (will merge | |
129 | e53e6b443 to 'maint'). | |
130 | ||
049e98c8 JH |
131 | * "git diff --graph" works better with "--color-words" and other options |
132 | (81fa024..4297c0a). | |
133 | ||
134 | * "git diff" could show ambiguous abbreviation of blob object names on | |
135 | its "index" line (3e5a188). | |
136 | ||
6068cdcc JH |
137 | * "git reset --hard" started from a wrong directory and a working tree in |
138 | a nonstandard location is in use got confused (560fb6a1). | |
139 | ||
212f0ba3 JH |
140 | -- |
141 | exec >/var/tmp/1 | |
6f426c74 | 142 | O=v1.7.1-568-g2c177a1 |
049e98c8 JH |
143 | echo O=$(git describe HEAD) |
144 | git shortlog --no-merges HEAD ^maint ^$O |