2008-12-27 23:25:10 +01:00
|
|
|
GIT v1.6.2 Release Notes
|
|
|
|
========================
|
|
|
|
|
2009-02-07 20:06:34 +01:00
|
|
|
With the next major release, "git push" into a branch that is
|
|
|
|
currently checked out will be refused by default. You can choose
|
|
|
|
what should happen upon such a push by setting the configuration
|
|
|
|
variable receive.denyCurrentBranch in the receiving repository.
|
|
|
|
|
|
|
|
To ease the transition plan, the receiving repository of such a
|
|
|
|
push running this release will issue a big warning when the
|
|
|
|
configuration variable is missing. Please refer to:
|
|
|
|
|
|
|
|
http://thread.gmane.org/gmane.comp.version-control.git/107758/focus=108007
|
|
|
|
|
|
|
|
for more details on the transition plan.
|
|
|
|
|
|
|
|
|
2008-12-27 23:25:10 +01:00
|
|
|
Updates since v1.6.1
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
(subsystems)
|
|
|
|
|
2009-01-29 09:57:42 +01:00
|
|
|
* git-svn updates.
|
|
|
|
|
|
|
|
* gitweb updates, including a new patch view and RSS/Atom feed
|
|
|
|
improvements.
|
|
|
|
|
2009-02-09 14:39:30 +01:00
|
|
|
* (contrib/emacs) git.el now has commands for checking out a branch,
|
|
|
|
creating a branch, cherry-picking and reverting commits; vc-git.el
|
|
|
|
is not shipped with git anymore (it is part of official Emacs).
|
2008-12-27 23:25:10 +01:00
|
|
|
|
|
|
|
(performance)
|
|
|
|
|
2009-01-14 08:41:32 +01:00
|
|
|
* pack-objects autodetects the number of CPUs available and uses threaded
|
|
|
|
version.
|
|
|
|
|
2008-12-27 23:25:10 +01:00
|
|
|
(usability, bells and whistles)
|
|
|
|
|
2009-01-29 09:57:42 +01:00
|
|
|
* automatic typo correction works on aliases as well
|
|
|
|
|
|
|
|
* @{-1} is a way to refer to the last branch you were on. This is
|
|
|
|
accepted not only where an object name is expected, but anywhere
|
|
|
|
a branch name is expected. E.g. "git branch --track mybranch @{-1}"
|
|
|
|
"git rev-parse --symbolic-full-name @{-1}".
|
|
|
|
|
|
|
|
* "git add -p" learned 'g'oto action to jump directly to a hunk.
|
|
|
|
|
2009-02-07 20:06:34 +01:00
|
|
|
* "git add -p" learned to find a hunk with given text with '/'.
|
|
|
|
|
|
|
|
* "git add -p" optionally can be told to work with just the command letter
|
|
|
|
without Enter.
|
|
|
|
|
2009-01-29 09:57:42 +01:00
|
|
|
* when "git am" stops upon a patch that does not apply, it shows the
|
|
|
|
title of the offending patch.
|
|
|
|
|
|
|
|
* "git am --directory=<dir>" and "git am --reject" passes these options
|
|
|
|
to underlying "git apply".
|
|
|
|
|
2009-02-07 20:06:34 +01:00
|
|
|
* "git am" learned --ignore-date option.
|
|
|
|
|
|
|
|
* "git blame" aligns author names better when they are spelled in
|
|
|
|
non US-ASCII encoding.
|
|
|
|
|
2009-01-29 09:57:42 +01:00
|
|
|
* "git clone" now makes its best effort when cloning from an empty
|
|
|
|
repository to set up configuration variables to refer to the remote
|
|
|
|
repository.
|
|
|
|
|
|
|
|
* "git checkout -" is a shorthand for "git checkout @{-1}".
|
2009-01-14 08:41:32 +01:00
|
|
|
|
2009-01-29 09:57:42 +01:00
|
|
|
* "git cherry" defaults to whatever the current branch is tracking (if
|
|
|
|
exists) when the <upstream> argument is not given.
|
2009-01-14 08:41:32 +01:00
|
|
|
|
2009-01-29 09:57:42 +01:00
|
|
|
* "git cvsserver" can be told not to add extra "via git-CVS emulator" to
|
|
|
|
the commit log message it serves via gitcvs.commitmsgannotation
|
|
|
|
configuration.
|
2009-01-14 08:41:32 +01:00
|
|
|
|
2009-02-07 20:06:34 +01:00
|
|
|
* "git cvsserver" learned to handle 'noop' command some CVS clients seem
|
|
|
|
to expect to work.
|
|
|
|
|
2009-01-29 09:57:42 +01:00
|
|
|
* "git diff" learned a new option --inter-hunk-context to coalesce close
|
2009-01-14 08:41:32 +01:00
|
|
|
hunks together and show context between them.
|
|
|
|
|
2009-01-29 09:57:42 +01:00
|
|
|
* The definition of what constitutes a word for "git diff --color-words"
|
|
|
|
can be customized via gitattributes, command line or a configuration.
|
|
|
|
|
|
|
|
* "git diff" learned --patience to run "patience diff" algorithm.
|
|
|
|
|
|
|
|
* "git filter-branch" learned --prune-empty option that discards commits
|
2009-01-14 08:41:32 +01:00
|
|
|
that do not change the contents.
|
|
|
|
|
2009-02-07 20:06:34 +01:00
|
|
|
* "git fsck" now checks loose objects in alternate object stores, instead
|
|
|
|
of misreporting them as missing.
|
2009-01-29 09:57:42 +01:00
|
|
|
|
2009-02-07 20:06:34 +01:00
|
|
|
* "git grep -w" and "git grep" for fixed strings have been optimized.
|
2009-01-14 08:41:32 +01:00
|
|
|
|
2009-01-29 09:57:42 +01:00
|
|
|
* "git mergetool" learned -y(--no-prompt) option to disable prompting.
|
|
|
|
|
|
|
|
* "git rebase -i" can transplant a history down to root to elsewhere
|
|
|
|
with --root option.
|
2009-01-14 08:41:32 +01:00
|
|
|
|
2009-01-29 09:57:42 +01:00
|
|
|
* "git reset --merge" is a new mode that works similar to the way
|
2009-01-14 08:41:32 +01:00
|
|
|
"git checkout" switches branches, taking the local changes while
|
|
|
|
switching to another commit.
|
|
|
|
|
2009-02-07 20:06:34 +01:00
|
|
|
* "git tag" learned --contains that works the same way as the same option
|
|
|
|
from "git branch".
|
2008-12-27 23:25:10 +01:00
|
|
|
|
|
|
|
|
|
|
|
Fixes since v1.6.1
|
|
|
|
------------------
|
|
|
|
|
|
|
|
All of the fixes in v1.6.1.X maintenance series are included in this
|
|
|
|
release, unless otherwise noted.
|
|
|
|
|
2009-02-07 20:06:34 +01:00
|
|
|
Here are fixes that this release has, but have not been backported to
|
|
|
|
v1.6.1.X series.
|
|
|
|
|
2009-01-14 08:41:32 +01:00
|
|
|
* "git-add sub/file" when sub is a submodule incorrectly added the path to
|
|
|
|
the superproject.
|
|
|
|
|
2009-02-07 20:06:34 +01:00
|
|
|
* "git bundle" did not exclude annotated tags even when a range given
|
|
|
|
from the command line wanted to.
|
|
|
|
|
|
|
|
* "git filter-branch" unnecessarily refused to work when you had
|
|
|
|
checked out a different commit from what is recorded in the superproject
|
|
|
|
index in a submodule.
|
|
|
|
|
|
|
|
* "git filter-branch" incorrectly tried to update a nonexistent work tree
|
|
|
|
at the end when it is run in a bare repository.
|
|
|
|
|
|
|
|
* "git mergetool" used to ignore autocrlf and other attributes
|
|
|
|
based content rewriting.
|
2009-01-14 08:41:32 +01:00
|
|
|
|
|
|
|
* branch switching and merges had a silly bug that did not validate
|
|
|
|
the correct directory when making sure an existing subdirectory is
|
|
|
|
clean.
|
|
|
|
|
2009-02-07 20:06:34 +01:00
|
|
|
* "git -p cmd" when cmd is not a built-in one left the display in funny state
|
|
|
|
when killed in the middle.
|
|
|
|
|
2008-12-27 23:25:10 +01:00
|
|
|
--
|
|
|
|
exec >/var/tmp/1
|
2009-02-07 20:06:34 +01:00
|
|
|
O=v1.6.1.3-371-gc19923a
|
2008-12-27 23:25:10 +01:00
|
|
|
echo O=$(git describe master)
|
|
|
|
git shortlog --no-merges $O..master ^maint
|