Revert "Merge branch 'js/notes'"
[git/dscho.git] / Documentation / RelNotes-1.6.2.txt
blobb86b684d2322475263d9939134ca857f64ed75e3
1 GIT v1.6.2 Release Notes
2 ========================
4 With the next major release, "git push" into a branch that is
5 currently checked out will be refused by default.  You can choose
6 what should happen upon such a push by setting the configuration
7 variable receive.denyCurrentBranch in the receiving repository.
9 To ease the transition plan, the receiving repository of such a
10 push running this release will issue a big warning when the
11 configuration variable is missing.  Please refer to:
13   http://thread.gmane.org/gmane.comp.version-control.git/107758/focus=108007
15 for more details on the transition plan.
18 Updates since v1.6.1
19 --------------------
21 (subsystems)
23 * git-svn updates.
25 * gitweb updates, including a new patch view and RSS/Atom feed
26   improvements.
28 * (contrib) git.el updates for better XEmacs compatibility; vc-git.el
29   is not shiped with git anymore (it is part of official Emacs)
31 (performance)
33 * pack-objects autodetects the number of CPUs available and uses threaded
34   version.
36 (usability, bells and whistles)
38 * automatic typo correction works on aliases as well
40 * @{-1} is a way to refer to the last branch you were on.  This is
41   accepted not only where an object name is expected, but anywhere
42   a branch name is expected.  E.g. "git branch --track mybranch @{-1}"
43   "git rev-parse --symbolic-full-name @{-1}".
45 * "git add -p" learned 'g'oto action to jump directly to a hunk.
47 * "git add -p" learned to find a hunk with given text with '/'.
49 * "git add -p" optionally can be told to work with just the command letter
50   without Enter.
52 * when "git am" stops upon a patch that does not apply, it shows the
53   title of the offending patch.
55 * "git am --directory=<dir>" and "git am --reject" passes these options
56   to underlying "git apply".
58 * "git am" learned --ignore-date option.
60 * "git blame" aligns author names better when they are spelled in
61   non US-ASCII encoding.
63 * "git clone" now makes its best effort when cloning from an empty
64   repository to set up configuration variables to refer to the remote
65   repository.
67 * "git checkout -" is a shorthand for "git checkout @{-1}".
69 * "git cherry" defaults to whatever the current branch is tracking (if
70   exists) when the <upstream> argument is not given.
72 * "git cvsserver" can be told not to add extra "via git-CVS emulator" to
73   the commit log message it serves via gitcvs.commitmsgannotation
74   configuration.
76 * "git cvsserver" learned to handle 'noop' command some CVS clients seem
77   to expect to work.
79 * "git diff" learned a new option --inter-hunk-context to coalesce close
80   hunks together and show context between them.
82 * The definition of what constitutes a word for "git diff --color-words"
83   can be customized via gitattributes, command line or a configuration.
85 * "git diff" learned --patience to run "patience diff" algorithm.
87 * "git filter-branch" learned --prune-empty option that discards commits
88   that do not change the contents.
90 * "git fsck" now checks loose objects in alternate object stores, instead
91   of misreporting them as missing.
93 * "git grep -w" and "git grep" for fixed strings have been optimized.
95 * "git mergetool" learned -y(--no-prompt) option to disable prompting.
97 * "git rebase -i" can transplant a history down to root to elsewhere
98   with --root option.
100 * "git reset --merge" is a new mode that works similar to the way
101   "git checkout" switches branches, taking the local changes while
102   switching to another commit.
104 * "git tag" learned --contains that works the same way as the same option
105   from "git branch".
108 Fixes since v1.6.1
109 ------------------
111 All of the fixes in v1.6.1.X maintenance series are included in this
112 release, unless otherwise noted.
114 Here are fixes that this release has, but have not been backported to
115 v1.6.1.X series.
117 * "git-add sub/file" when sub is a submodule incorrectly added the path to
118   the superproject.
120 * "git bundle" did not exclude annotated tags even when a range given
121   from the command line wanted to.
123 * "git filter-branch" unnecessarily refused to work when you had
124   checked out a different commit from what is recorded in the superproject
125   index in a submodule.
127 * "git filter-branch" incorrectly tried to update a nonexistent work tree
128   at the end when it is run in a bare repository.
130 * "git mergetool" used to ignore autocrlf and other attributes
131   based content rewriting.
133 * branch switching and merges had a silly bug that did not validate
134   the correct directory when making sure an existing subdirectory is
135   clean.
137 * "git -p cmd" when cmd is not a built-in one left the display in funny state
138   when killed in the middle.
141 exec >/var/tmp/1
142 O=v1.6.1.3-371-gc19923a
143 echo O=$(git describe master)
144 git shortlog --no-merges $O..master ^maint