Merge branch 'maint'
[git] / Documentation / RelNotes-1.5.4.txt
1 GIT v1.5.4 Release Notes
2 ========================
3
4 Removal
5 -------
6
7  * "git svnimport" was removed in favor of "git svn".  It is still there
8    in the source tree (contrib/examples) but unsupported.
9
10  * As git-commit and git-status have been rewritten, "git runstatus"
11    helper script lost all its users and has been removed.
12
13
14 Deprecation notices
15 -------------------
16
17  * Next feature release of git (this change is scheduled for v1.5.5 but
18    it could slip) will by default install dashed form of commands
19    (e.g. "git-commit") outside of users' normal $PATH, and will install
20    only selected commands ("git" itself, and "gitk") in $PATH.  This
21    implies:
22
23    - Using dashed form of git commands (e.g. "git-commit") from the
24      command line has been informally deprecated since early 2006, but
25      now it officially is, and will be removed in the future.  Use
26      dashless form (e.g. "git commit") instead.
27
28    - Using dashed from from your scripts, without first prepending the
29      return value from "git --exec-path" to the scripts' PATH, has been
30      informally deprecated since early 2006, but now it officially is.
31
32    - Use of dashed form with "PATH=$(git --exec-path):$PATH; export
33      PATH" early in your script is not deprecated with this change.
34
35   Users are strongly encouraged to adjust their habits and scripts now
36   to prepare for this.
37
38  * The post-receive hook was introduced in March 2007 to supersede
39    post-update hook, primarily to overcome the command line length
40    limitation of the latter.  Use of post-update hook will be deprecated
41    in future versions of git, perhaps in v1.5.5.
42
43  * "git lost-found" was deprecated in favor of "git fsck"'s --lost-found
44    option, and will be removed in the future.
45
46  * "git peek-remote" is deprecated, as "git ls-remote" was written in C
47    and works for all transports, and will be removed in the future.
48
49  * From v1.5.5, the repack.usedeltabaseoffset config option will default
50    to true, which will give denser packfile (i.e. more efficient storage).
51    The downside is that git older than version 1.4.4 will not be able
52    to directly use a repository packed using this setting.
53
54  * From v1.5.5, the pack.indexversion config option will default to 2,
55    which is slightly more efficient, and makes repacking more immune to
56    data corruptions.  Git older than version 1.5.2 may revert to version 1
57    of the pack index with a manual "git index-pack" to be able to directly
58    access corresponding pack files.
59
60
61 Updates since v1.5.3
62 --------------------
63
64  * Comes with much improved gitk.
65
66  * Comes with "git gui" 0.9.1 with i18n.
67
68  * gitk is now merged as a subdirectory of git.git project, in
69    preparation for its i18n.
70
71  * progress display from many commands are a lot nicer to the eye.
72    Transfer commands show throughput data.
73
74  * many commands that pay attention to per-directory .gitignore now do
75    so lazily, which makes the usual case go much faster.
76
77  * Output processing for '--pretty=format:<user format>' has been
78    optimized.
79
80  * Rename detection of diff family, while detecting exact matches, has
81    been greatly optimized.
82
83  * Rename detection of diff family tries to make more naturally looking
84    pairing.  Earlier if more than one identical rename sources were
85    found in the preimage, they were picked pretty much at random.
86
87  * Value "true" for color.diff and color.status configuration used to
88    mean "always" (even when the output is not going to a terminal).
89    This has been corrected to mean the same thing as "auto".
90
91  * HTTP proxy can be specified per remote repository using
92    remote.*.httpproxy configuration, or global http.proxy configuration
93    variable.
94
95  * Various Perforce importer updates.
96
97  * Example update and post-receive hooks have been improved.
98
99  * Any command that wants to take a commit object name can now use
100    ":/string" syntax to name a commit.
101
102  * "git reset" is now built-in and its output can be squelched with -q.
103
104  * "git send-email" can optionally talk over ssmtp and use SMTP-AUTH.
105
106  * "git rebase" learned --whitespace option.
107
108  * In "git rebase", when you decide not to replay a particular change
109    after the command stopped with a conflict, you can say "git rebase
110    --skip" without first running "git reset --hard", as the command now
111    runs it for you.
112
113  * "git rebase --interactive" mode can now work on detached HEAD.
114
115  * "git rebase" now detaches head during its operation, so after a
116    successful "git rebase" operation, the reflog entry branch@{1} for
117    the current branch points at the commit before the rebase was
118    started.
119
120  * "git rebase -i" also triggers rerere to help your repeated merges.
121
122  * "git merge" can call the "post-merge" hook.
123
124  * "git pack-objects" can optionally run deltification with multiple
125    threads.
126
127  * "git archive" can optionally substitute keywords in files marked with
128    export-subst attribute.
129
130  * "git cherry-pick" made a misguided attempt to repeat the original
131    command line in the generated log message, when told to cherry-pick a
132    commit by naming a tag that points at it.  It does not anymore.
133
134  * "git for-each-ref" learned %(xxxdate:<dateformat>) syntax to show the
135    various date fields in different formats.
136
137  * "git gc --auto" is a low-impact way to automatically run a variant of
138    "git repack" that does not lose unreferenced objects (read: safer
139    than the usual one) after the user accumulates too many loose
140    objects.
141
142  * "git clean" has been rewritten in C.
143
144  * You need to explicitly set clean.requireForce to "false" to allow
145    "git clean" without -f to do any damage (lack of the configuration
146    variable used to mean "do not require -f option to lose untracked
147    files", but we now use the safer default).
148
149  * The kinds of whitespace errors "git diff" and "git apply" notice (and
150    fix) can be controlled via 'core.whitespace' configuration variable
151    and 'whitespace' attribute in .gitattributes file.
152
153  * "git push" learned --dry-run option to show what would happen if a
154    push is run.
155
156  * "git push" does not update a tracking ref on the local side when the
157    remote refused to update the corresponding ref.
158
159  * "git push" learned --mirror option.  This is to push the local refs
160    one-to-one to the remote, and deletes refs from the remote that do
161    not exist anymore in the repository on the pushing side.
162
163  * "git push" can remove a corrupt ref at the remote site with the usual
164    ":ref" refspec.
165
166  * "git remote" knows --mirror mode.  This is to set up configuration to
167    push into a remote repository to store local branch heads to the same
168    branch on the remote side, and remove branch heads locally removed
169    from local repository at the same time.  Suitable for pushing into a
170    back-up repository.
171
172  * "git remote" learned "rm" subcommand.
173
174  * "git cvsserver" can be run via "git shell".
175
176  * "git cvsserver" acts more like receive-pack by running post-receive
177    and post-update hooks.
178
179  * "git am" and "git rebase" are far less verbose.
180
181  * "git pull" learned to pass --[no-]ff option to underlying "git
182    merge".
183
184  * "git pull --rebase" is a different way to integrate what you fetched
185    into your current branch.
186
187  * "git fast-export" produces datastream that can be fed to fast-import
188    to reproduce the history recorded in a git repository.
189
190  * "git add -i" takes pathspecs to limit the set of files to work on.
191
192  * "git add -p" is a short-hand to go directly to the selective patch
193    subcommand in the interactive command loop and to exit when done.
194
195  * "git add -i" UI has been colorized.
196
197  * "git commit --allow-empty" allows you to create a single-parent
198    commit that records the same tree as its parent, overriding the usual
199    safety valve.
200
201  * "git commit --amend" can amend a merge that does not change the tree
202    from its first parent.
203
204  * "git commit" has been rewritten in C.
205
206  * "git stash random-text" does not create a new stash anymore.  It was
207    a UI mistake.  Use "git stash save random-text", or "git stash"
208    (without extra args) for that.
209
210  * "git prune --expire <time>" can exempt young loose objects from
211    getting pruned.
212
213  * "git branch --contains <commit>" can list branches that are
214    descendants of a given commit.
215
216  * "git log" learned --early-output option to help interactive GUI
217    implementations.
218
219  * "git bisect" learned "skip" action to mark untestable commits.
220
221  * "git bisect visualize" learned a shorter synonym "git bisect view".
222
223  * "git bisect visualize" runs "git log" in a non-windowed
224    environments.  It also can be told what command to run (e.g. "git
225    bisect visualize tig").
226
227  * "git format-patch" learned "format.numbered" configuration variable
228    to automatically turn --numbered option on when more than one commits
229    are formatted.
230
231  * "git ls-files" learned "--exclude-standard" to use the canned set of
232    exclude files.
233
234  * "git tag -a -f existing" begins the editor session using the existing
235    annotation message.
236
237  * "git tag -m one -m bar" (multiple -m options) behaves similarly to
238    "git commit"; the parameters to -m options are formatted as separate
239    paragraphs.
240
241  * "git cvsexportcommit" learned -w option to specify and switch to the
242    CVS working directory.
243
244  * "git checkout" from a subdirectory learned to use "../path" to allow
245    checking out a path outside the current directory without cd'ing up.
246
247  * "git checkout" from and to detached HEAD leaves a bit more
248    information in the reflog.
249
250  * "git send-email --dry-run" shows full headers for easier diagnosis.
251
252  * "git merge-ours" is now built-in.
253
254  * "git svn" learned "info" and "show-externals" subcommands.
255
256  * "git svn" run from a subdirectory failed to read settings from the
257    .git/config.
258
259  * "git svn" learned --use-log-author option, which picks up more
260    descriptive name from From: and Signed-off-by: lines in the commit
261    message.
262
263  * "git svn" wasted way too much disk to record revision mappings
264    between svn and git; a new representation that is much more compact
265    for this information has been introduced to correct this.
266
267  * "git svn" left temporary index files it used without cleaning them
268    up; this was corrected.
269
270  * "git status" from a subdirectory now shows relative paths, which
271    makes copy-and-pasting for git-checkout/git-add/git-rm easier.  The
272    traditional behaviour to show the full path relative to the top of
273    the work tree can be had by setting status.relativepaths
274    configuration variable to true.
275
276  * "git blame" kept text for each annotated revision in core needlessly;
277    this has been corrected.
278
279  * "git shortlog" learned to default to HEAD when the standard input is
280    a terminal and the user did not give any revision parameter.
281
282  * "git shortlog" learned "-e" option to show e-mail addresses as well as
283    authors' names.
284
285  * "git help" learned "-w" option to show documentation in browsers.
286
287  * In addition there are quite a few internal clean-ups. Notably
288
289    - many fork/exec have been replaced with run-command API,
290      brought from the msysgit effort.
291
292    - introduction and more use of the option parser API.
293
294    - enhancement and more use of the strbuf API.
295
296
297 Fixes since v1.5.3
298 ------------------
299
300 All of the fixes in v1.5.3 maintenance series are included in
301 this release, unless otherwise noted.
302
303 These fixes are only in v1.5.4 and not backported to v1.5.3 maintenance
304 series.
305
306  * The way "git diff --check" behaves is much more consistent with the way
307    "git apply --whitespace=warn" works.
308
309  * "git svn" talking with the SVN over http will correctly quote branch
310    and project names.
311
312  * "git config" did not work correctly on platforms that define
313    REG_NOMATCH to an even number.
314
315 --
316 exec >/var/tmp/1
317 O=v1.5.4-rc0-35-g530e741
318 echo O=`git describe refs/heads/master`
319 git shortlog --no-merges $O..refs/heads/master ^refs/heads/maint