2012-01-30 01:46:18 +04:00
|
|
|
Git v1.7.10 Release Notes
|
|
|
|
=========================
|
|
|
|
|
2012-03-08 00:51:55 +04:00
|
|
|
Compatibility Notes
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* From this release on, the "git merge" command in an interactive
|
|
|
|
session will start an editor when it automatically resolves the
|
|
|
|
merge for the user to explain the resulting commit, just like the
|
|
|
|
"git commit" command does when it wasn't given a commit message.
|
|
|
|
|
|
|
|
If you have a script that runs "git merge" and keeps its standard
|
|
|
|
input and output attached to the user's terminal, and if you do not
|
|
|
|
want the user to explain the resulting merge commits, you can
|
|
|
|
export GIT_MERGE_AUTOEDIT environment variable set to "no", like
|
|
|
|
this:
|
|
|
|
|
|
|
|
#!/bin/sh
|
|
|
|
GIT_MERGE_AUTOEDIT=no
|
|
|
|
export GIT_MERGE_AUTOEDIT
|
|
|
|
|
|
|
|
to disable this behaviour (if you want your users to explain their
|
|
|
|
merge commits, you do not have to do anything). Alternatively, you
|
|
|
|
can give the "--no-edit" option to individual invocations of the
|
|
|
|
"git merge" command if you know everybody who uses your script has
|
|
|
|
Git v1.7.8 or newer.
|
|
|
|
|
|
|
|
|
2012-01-30 01:46:18 +04:00
|
|
|
Updates since v1.7.9
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
UI, Workflows & Features
|
|
|
|
|
2012-03-02 08:59:31 +04:00
|
|
|
* Teams for localizing the messages from the Porcelain layer of
|
|
|
|
commands are starting to form, thanks to Jiang Xin who volunteered
|
|
|
|
to be the localization coordinator. An initial set of translated
|
|
|
|
messages for simplified chinese is available.
|
|
|
|
|
2012-02-24 01:38:50 +04:00
|
|
|
* The configuration mechanism learned an "include" facility; an
|
|
|
|
assignment to the include.path pseudo-variable causes the named
|
|
|
|
file to be included in-place when Git looks up configuration
|
|
|
|
variables.
|
|
|
|
|
2012-02-29 01:31:05 +04:00
|
|
|
* A content filter (clean/smudge) used to be just a way to make the
|
|
|
|
recorded contents "more useful", and allowed to fail; a filter can
|
|
|
|
new optionally be marked as "required".
|
|
|
|
|
2012-03-02 09:08:07 +04:00
|
|
|
* Options whose names begin with "--no-" (e.g. the "--no-verify"
|
|
|
|
option of the "git commit" command) can be negated by omitting
|
|
|
|
"no-" from its name, e.g. "git commit --verify".
|
|
|
|
|
2012-01-30 01:46:18 +04:00
|
|
|
* "git am" learned to pass "-b" option to underlying "git mailinfo", so
|
|
|
|
that bracketed string other than "PATCH" at the beginning can be kept.
|
|
|
|
|
|
|
|
* "git clone" learned "--single-branch" option to limit cloning to a
|
|
|
|
single branch (surprise!).
|
|
|
|
|
2012-02-01 10:31:35 +04:00
|
|
|
* "git clone" learned to detach the HEAD in the resulting repository
|
|
|
|
when the source repository's HEAD does not point to a branch.
|
|
|
|
|
2012-01-30 01:46:18 +04:00
|
|
|
* When showing a patch while ignoring whitespace changes, the context
|
|
|
|
lines are taken from the postimage, in order to make it easier to
|
|
|
|
view the output.
|
|
|
|
|
2012-03-08 00:51:55 +04:00
|
|
|
* "git diff --stat" learned to adjust the width of the output on
|
|
|
|
wider terminals, and give more columns to pathnames as needed.
|
|
|
|
|
2012-02-22 03:29:29 +04:00
|
|
|
* "diff-highlight" filter (in contrib/) was updated to produce more
|
|
|
|
aesthetically pleasing output.
|
2012-02-20 12:29:40 +04:00
|
|
|
|
2012-03-02 09:08:07 +04:00
|
|
|
* "fsck" learned "--no-dangling" option to omit dangling object
|
|
|
|
information.
|
|
|
|
|
2012-03-08 00:51:55 +04:00
|
|
|
* "git log -G" learned to pay attention to the "-i" option and can
|
|
|
|
find patch hunks that introduce or remove a string that matches the
|
|
|
|
given pattern ignoring the case.
|
|
|
|
|
2012-02-01 10:31:35 +04:00
|
|
|
* "git merge" in an interactive session learned to spawn the editor
|
|
|
|
by default to let the user edit the auto-generated merge message,
|
|
|
|
to encourage people to explain their merges better. Legacy scripts
|
2012-02-27 11:11:10 +04:00
|
|
|
can export GIT_MERGE_AUTOEDIT=no to retain the historical behavior.
|
2012-02-20 12:29:40 +04:00
|
|
|
Both "git merge" and "git pull" can be given --no-edit from the
|
|
|
|
command line to accept the auto-generated merge message.
|
2012-02-01 10:31:35 +04:00
|
|
|
|
2012-03-08 00:51:55 +04:00
|
|
|
* The advise message given when the user didn't give enough clue on
|
|
|
|
what to merge to "git pull" and "git merge" has been updated to
|
|
|
|
be more concise and easier to understand.
|
|
|
|
|
2012-02-27 11:11:10 +04:00
|
|
|
* "git push" learned the "--prune" option, similar to "git fetch".
|
|
|
|
|
2012-03-05 11:38:02 +04:00
|
|
|
* "git symbolic-ref" learned the "--short" option to abbreviate the
|
|
|
|
refname it shows unambiguously.
|
|
|
|
|
2012-02-27 11:11:10 +04:00
|
|
|
* "git tag --list" can be given "--points-at <object>" to limit its
|
|
|
|
output to those that point at the given object.
|
|
|
|
|
2012-02-08 01:01:56 +04:00
|
|
|
* "gitweb" allows intermediate entries in the directory hierarchy
|
|
|
|
that leads to a projects to be clicked, which in turn shows the
|
|
|
|
list of projects inside that directory.
|
|
|
|
|
2012-02-27 11:11:10 +04:00
|
|
|
* "gitweb" learned to read various pieces of information for the
|
|
|
|
repositories lazily, instead of reading everything that could be
|
|
|
|
needed (including the ones that are not necessary for a specific
|
|
|
|
task).
|
|
|
|
|
2012-03-05 11:38:02 +04:00
|
|
|
* Project search in "gitweb" shows the substring that matched in the
|
|
|
|
project name and description highlighted.
|
|
|
|
|
2012-03-02 09:08:07 +04:00
|
|
|
Foreign Interface
|
|
|
|
|
2012-03-08 00:51:55 +04:00
|
|
|
* Improved handling of views, labels and branches in "git-p4" (in contrib).
|
2012-03-02 09:08:07 +04:00
|
|
|
|
|
|
|
* "git-p4" (in contrib) suffered from unnecessary merge conflicts when
|
|
|
|
p4 expanded the embedded $RCS$-like keywords; it can be now told to
|
|
|
|
unexpand them.
|
|
|
|
|
|
|
|
* Some "git-svn" updates.
|
|
|
|
|
|
|
|
* "vcs-svn"/"svn-fe" learned to read dumps with svn-deltas and
|
|
|
|
support incremental imports.
|
|
|
|
|
2012-03-08 00:51:55 +04:00
|
|
|
* "git difftool/mergetool" learned to drive DeltaWalker.
|
|
|
|
|
2012-01-30 01:46:18 +04:00
|
|
|
Performance
|
|
|
|
|
2012-03-08 00:51:55 +04:00
|
|
|
* Unnecessary calls to parse_object() "git upload-pack" makes in
|
|
|
|
response to "git fetch", have been eliminated, to help performance
|
|
|
|
in repositories with excessive number of refs.
|
2012-01-30 01:46:18 +04:00
|
|
|
|
2012-02-20 12:29:40 +04:00
|
|
|
Internal Implementation (please report possible regressions)
|
2012-01-30 01:46:18 +04:00
|
|
|
|
|
|
|
* Recursive call chains in "git index-pack" to deal with long delta
|
|
|
|
chains have been flattened, to reduce the stack footprint.
|
|
|
|
|
2012-02-20 12:29:40 +04:00
|
|
|
* Use of add_extra_ref() API is now gone, to make it possible to
|
|
|
|
cleanly restructure the overall refs API.
|
|
|
|
|
|
|
|
* The command line parser of "git pack-objects" now uses parse-options
|
|
|
|
API.
|
2012-01-30 01:46:18 +04:00
|
|
|
|
|
|
|
* The test suite supports the new "test_pause" helper function.
|
|
|
|
|
2012-02-24 01:38:50 +04:00
|
|
|
* Parallel to the test suite, there is a beginning of performance
|
|
|
|
benchmarking framework.
|
|
|
|
|
2012-02-01 10:31:35 +04:00
|
|
|
* t/Makefile is adjusted to prevent newer versions of GNU make from
|
|
|
|
running tests in seemingly random order.
|
|
|
|
|
2012-03-08 00:51:55 +04:00
|
|
|
* The code to check if a path points at a file beyond a symbolic link
|
|
|
|
has been restructured to be thread-safe.
|
|
|
|
|
2012-01-30 01:46:18 +04:00
|
|
|
Also contains minor documentation updates and code clean-ups.
|
|
|
|
|
|
|
|
|
|
|
|
Fixes since v1.7.9
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Unless otherwise noted, all the fixes since v1.7.9 in the maintenance
|
|
|
|
releases are contained in this release (see release notes to them for
|
|
|
|
details).
|
|
|
|
|
2012-03-08 00:51:55 +04:00
|
|
|
* "git bundle" did not record boundary commits correctly when there
|
|
|
|
are many of them.
|
|
|
|
(merge efe4be1 tr/maint-bundle-boundary later to maint).
|
|
|
|
|
|
|
|
* "git diff-index" and its friends at the plumbing level showed the
|
|
|
|
"diff --git" header and nothing else for a path whose cached stat
|
|
|
|
info is dirty without actual difference when asked to produce a
|
|
|
|
patch. This was a longstanding bug that we could have fixed long
|
|
|
|
time ago.
|
|
|
|
(merge b3f01ff jc/maint-diff-patch-header later to maint).
|
|
|
|
|
2012-03-05 11:38:02 +04:00
|
|
|
* The code to synthesize the fake ancestor tree used by 3-way merge
|
|
|
|
fallback in "git am" was not prepared to read a patch created with
|
|
|
|
a non-standard -p<num> value.
|
|
|
|
(merge a61ba26 jc/am-3-nonstandard-popt later to maint).
|
2012-02-27 11:11:10 +04:00
|
|
|
|
2012-02-22 03:29:29 +04:00
|
|
|
* "gitweb" used to drop warnings in the log file when "heads" view is
|
|
|
|
accessed in a repository whose HEAD does not point at a valid
|
|
|
|
branch.
|
2012-02-11 02:15:38 +04:00
|
|
|
|
2012-01-30 01:46:18 +04:00
|
|
|
---
|
|
|
|
exec >/var/tmp/1
|
2012-03-08 00:51:55 +04:00
|
|
|
O=v1.7.9.3-366-g1e4d087
|
2012-01-30 01:46:18 +04:00
|
|
|
echo O=$(git describe)
|
|
|
|
git log --first-parent --oneline ^maint $O..
|
|
|
|
echo
|
|
|
|
git shortlog --no-merges ^maint $O..
|