git-stash: Display help message if git-stash is run with wrong sub-commands
[git/dscho.git] / Documentation / RelNotes-1.5.4.txt
blob44f5043ce7843e96349ad2cb4f19d0246424ff87
1 GIT v1.5.4 Release Notes
2 ========================
4 Removal
5 -------
7  * "git svnimport" was removed in favor of "git svn".
10 Deprecation notices
11 -------------------
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:
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.
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.
28    - Use of dashed form with "PATH=$(git --exec-path):$PATH; export
29      PATH" early in your script is not deprecated with this change.
31   Users are strongly encouraged to adjust their habits and scripts now
32   to prepare for this.
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.
39  * "git lost-found" was deprecated in favor of "git fsck"'s --lost-found
40    option, and will be removed in the future.
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.
46 Updates since v1.5.3
47 --------------------
49  * Comes with much improved gitk.
51  * Comes with "git gui" 0.9.0 with i18n.
53  * progress display from many commands are a lot nicer to the eye.
54    Transfer commands show throughput data.
56  * many commands that pay attention to per-directory .gitignore now do
57    so lazily, which makes the usual case go much faster.
59  * Output processing for '--pretty=format:<user format>' has been
60    optimized.
62  * Rename detection of diff family, while detecting exact matches, has
63    been greatly optimized.
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.
69  * "git reset" is now built-in and its output can be squelched with -q.
71  * "git send-email" can optionally talk over ssmtp and use SMTP-AUTH.
73  * "git rebase" learned --whitespace option.
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.
80  * "git merge" can call the "post-merge" hook.
82  * "git pack-objects" can optionally run deltification with multiple
83    threads.
85  * "git archive" can optionally substitute keywords in files marked with
86    export-subst attribute.
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.
92  * "git for-each-ref" learned %(xxxdate:<dateformat>) syntax to show the
93    various date fields in different formats.
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.
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).
105  * "git clean" has been rewritten in C.
107  * "git push" learned --dry-run option to show what would happen if a
108    push is run.
110  * "git push" does not update a tracking ref on the local side when the
111    remote refused to update the corresponding ref.
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.
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.
123  * "git remote" learned "rm" subcommand.
125  * "git rebase --interactive" mode can now work on detached HEAD.
127  * "git cvsserver" can be run via "git shell".
129  * "git am" and "git rebase" are far less verbose.
131  * "git pull" learned to pass --[no-]ff option to underlying "git
132    merge".
134  * Various Perforce importer updates.
136  * "git log" learned --early-output option to help interactive GUI
137    implementations.
139  * "git bisect" learned "skip" action to mark untestable commits.
141  * "git format-patch" learned "format.numbered" configuration variable
142    to automatically turn --numbered option on when more than one commits
143    are formatted.
145  * "git ls-files" learned "--exclude-standard" to use the canned set of
146    exclude files.
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.
153  * "git tag -a -f existing" begins the editor session using the existing
154    annotation message.
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.
160  * "git cvsexportcommit" learned -w option to specify and switch to the
161    CVS working directory.
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.
166  * "git send-email --dry-run" shows full headers for easier diagnosis.
168  * "git merge-ours" is now built-in.
170  * "git svn" learned "info" and "show-externals" subcommands.
172  * "git svn" run from a subdirectory failed to read settings from the
173    .git/config.
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.
179  * "git status" from a subdirectory now shows relative paths which makes
180    copy-and-pasting for git-checkout/git-add/git-rm easier.
182  * "git checkout" from and to detached HEAD leaves a bit more
183    information in the reflog.
185  * "git branch" learned --contains option, to show only branches that
186    can reach a given commit.
188  * Example update and post-receive hooks have been improved.
190  * "git push" can remove a corrupt ref at the remote site with the usual
191    ":ref" refspec.
193  * In addition there are quite a few internal clean-ups. Notably
195    - many fork/exec have been replaced with run-command API,
196      brought from the msysgit effort.
198    - introduction and more use of the option parser API.
200    - enhancement and more use of the strbuf API.
203 Fixes since v1.5.3
204 ------------------
206 All of the fixes in v1.5.3 maintenance series are included in
207 this release, unless otherwise noted.
209 These fixes are only in v1.5.4 and not backported to v1.5.3 maintenance
210 series.
212  * "git svn" talking with the SVN over http will correctly quote branch
213    and project names.
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