]> git.ipfire.org Git - thirdparty/git.git/blob - Documentation/RelNotes-1.5.4.txt
git-help: add -w|--web option to display html man page in a browser.
[thirdparty/git.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".
8
9
10 Deprecation notices
11 -------------------
12
13 * Next feature release of git (this change is scheduled for v1.5.5 but
14 it could slip) will by default install dashed form of commands
15 (e.g. "git-commit") outside of users' normal $PATH, and will install
16 only selected commands ("git" itself, and "gitk") in $PATH. This
17 implies:
18
19 - Using dashed form of git commands (e.g. "git-commit") from the
20 command line has been informally deprecated since early 2006, but
21 now it officially is, and will be removed in the future. Use
22 dashless form (e.g. "git commit") instead.
23
24 - Using dashed from from your scripts, without first prepending the
25 return value from "git --exec-path" to the scripts' PATH, has been
26 informally deprecated since early 2006, but now it officially is.
27
28 - Use of dashed form with "PATH=$(git --exec-path):$PATH; export
29 PATH" early in your script is not deprecated with this change.
30
31 Users are strongly encouraged to adjust their habits and scripts now
32 to prepare for this.
33
34 * The post-receive hook was introduced in March 2007 to supersede
35 post-update hook, primarily to overcome the command line length
36 limitation of the latter. Use of post-update hook will be deprecated
37 in future versions of git, perhaps in v1.5.5.
38
39 * "git lost-found" was deprecated in favor of "git fsck"'s --lost-found
40 option, and will be removed in the future.
41
42 * "git peek-remote" is deprecated, as "git ls-remote" was written in C
43 and works for all transports, and will be removed in the future.
44
45
46 Updates since v1.5.3
47 --------------------
48
49 * Comes with much improved gitk.
50
51 * Comes with "git gui" 0.9.0 with i18n.
52
53 * progress display from many commands are a lot nicer to the eye.
54 Transfer commands show throughput data.
55
56 * many commands that pay attention to per-directory .gitignore now do
57 so lazily, which makes the usual case go much faster.
58
59 * Output processing for '--pretty=format:<user format>' has been
60 optimized.
61
62 * Rename detection of diff family, while detecting exact matches, has
63 been greatly optimized.
64
65 * Rename detection of diff family tries to make more naturally looking
66 pairing. Earlier if more than one identical rename sources were
67 found in the preimage, they were picked pretty much at random.
68
69 * "git reset" is now built-in and its output can be squelched with -q.
70
71 * "git send-email" can optionally talk over ssmtp and use SMTP-AUTH.
72
73 * "git rebase" learned --whitespace option.
74
75 * In "git rebase", when you decide not to replay a particular change
76 after the command stopped with a conflict, you can say "git rebase
77 --skip" without first running "git reset --hard", as the command now
78 runs it for you.
79
80 * "git merge" can call the "post-merge" hook.
81
82 * "git pack-objects" can optionally run deltification with multiple
83 threads.
84
85 * "git archive" can optionally substitute keywords in files marked with
86 export-subst attribute.
87
88 * "git cherry-pick" made a misguided attempt to repeat the original
89 command line in the generated log message, when told to cherry-pick a
90 commit by naming a tag that points at it. It does not anymore.
91
92 * "git for-each-ref" learned %(xxxdate:<dateformat>) syntax to show the
93 various date fields in different formats.
94
95 * "git gc --auto" is a low-impact way to automatically run a variant of
96 "git repack" that does not lose unreferenced objects (read: safer
97 than the usual one) after the user accumulates too many loose
98 objects.
99
100 * You need to explicitly set clean.requireForce to "false" to allow
101 "git clean" without -f to do any damage (lack of the configuration
102 variable used to mean "do not require -f option to lose untracked
103 files", but we now use the safer default).
104
105 * "git clean" has been rewritten in C.
106
107 * "git push" learned --dry-run option to show what would happen if a
108 push is run.
109
110 * "git push" does not update a tracking ref on the local side when the
111 remote refused to update the corresponding ref.
112
113 * "git push" learned --mirror option. This is to push the local refs
114 one-to-one to the remote, and deletes refs from the remote that do
115 not exist anymore in the repository on the pushing side.
116
117 * "git remote" knows --mirror mode. This is to set up configuration to
118 push into a remote repository to store local branch heads to the same
119 branch on the remote side, and remove branch heads locally removed
120 from local repository at the same time. Suitable for pushing into a
121 back-up repository.
122
123 * "git remote" learned "rm" subcommand.
124
125 * "git rebase --interactive" mode can now work on detached HEAD.
126
127 * "git cvsserver" can be run via "git shell".
128
129 * "git am" and "git rebase" are far less verbose.
130
131 * "git pull" learned to pass --[no-]ff option to underlying "git
132 merge".
133
134 * Various Perforce importer updates.
135
136 * "git log" learned --early-output option to help interactive GUI
137 implementations.
138
139 * "git bisect" learned "skip" action to mark untestable commits.
140
141 * "git format-patch" learned "format.numbered" configuration variable
142 to automatically turn --numbered option on when more than one commits
143 are formatted.
144
145 * "git ls-files" learned "--exclude-standard" to use the canned set of
146 exclude files.
147
148 * "git rebase" now detaches head during its operation, so after a
149 successful "git rebase" operation, the reflog entry branch@{1} for
150 the current branch points at the commit before the rebase was
151 started.
152
153 * "git tag -a -f existing" begins the editor session using the existing
154 annotation message.
155
156 * "git tag -m one -m bar" (multiple -m options) behaves similarly to
157 "git commit"; the parameters to -m options are formatted as separate
158 paragraphs.
159
160 * "git cvsexportcommit" learned -w option to specify and switch to the
161 CVS working directory.
162
163 * "git checkout" from a subdirectory learned to use "../path" to allow
164 checking out a path outside the current directory without cd'ing up.
165
166 * "git send-email --dry-run" shows full headers for easier diagnosis.
167
168 * "git merge-ours" is now built-in.
169
170 * "git svn" learned "info" and "show-externals" subcommands.
171
172 * "git svn" run from a subdirectory failed to read settings from the
173 .git/config.
174
175 * "git svn" learned --use-log-author option, which picks up more
176 descriptive name from From: and Signed-off-by: lines in the commit
177 message.
178
179 * "git status" from a subdirectory now shows relative paths which makes
180 copy-and-pasting for git-checkout/git-add/git-rm easier.
181
182 * "git checkout" from and to detached HEAD leaves a bit more
183 information in the reflog.
184
185 * "git branch" learned --contains option, to show only branches that
186 can reach a given commit.
187
188 * Example update and post-receive hooks have been improved.
189
190 * "git push" can remove a corrupt ref at the remote site with the usual
191 ":ref" refspec.
192
193 * In addition there are quite a few internal clean-ups. Notably
194
195 - many fork/exec have been replaced with run-command API,
196 brought from the msysgit effort.
197
198 - introduction and more use of the option parser API.
199
200 - enhancement and more use of the strbuf API.
201
202
203 Fixes since v1.5.3
204 ------------------
205
206 All of the fixes in v1.5.3 maintenance series are included in
207 this release, unless otherwise noted.
208
209 These fixes are only in v1.5.4 and not backported to v1.5.3 maintenance
210 series.
211
212 * "git svn" talking with the SVN over http will correctly quote branch
213 and project names.
214
215 --
216 exec >/var/tmp/1
217 O=v1.5.3.7-966-g6bda21b
218 echo O=`git describe refs/heads/master`
219 git shortlog --no-merges $O..refs/heads/master ^refs/heads/maint