Reduce cost of deletion in levenstein distance (4 -> 3)
[git.git] / Documentation / RelNotes / 1.7.11.txt
blob7931f7707659b5184f97e80cbaac84c198389d46
1 Git v1.7.11 Release Notes
2 =========================
4 Updates since v1.7.10
5 ---------------------
7 UI, Workflows & Features
9  * A new mode for push, "simple", which is a cross between "current"
10    and "upstream", has been introduced. "git push" without any refspec
11    will push the current branch out to the same name at the remote
12    repository only when it is set to track the branch with the same
13    name over there.  The plan is to make this mode the new default
14    value when push.default is not configured.
16  * A couple of commands learned the "--column" option to produce
17    columnar output.
19  * A third-party tool "git subtree" is distributed in contrib/
21  * Error messages given when @{u} is used for a branch without its
22    upstream configured have been clatified.
24  * Even with "-q"uiet option, "checkout" used to report setting up
25    tracking.  Also "branch" learned the "-q"uiet option to squelch
26    informational message.
28  * Your build platform may support hardlinks but you may prefer not to
29    use them, e.g. when installing to DESTDIR to make a tarball and
30    untarring on a filesystem that has poor support for hardlinks.
31    There is a Makefile option NO_INSTALL_HARDLINKS for you.
33  * The smart-http backend used to always override GIT_COMMITTER_*
34    variables with REMOTE_USER and REMOTE_ADDR, but these variables are
35    now preserved when set.
37  * "git am" learned the "--include" option, which is an opposite of
38    existing the "--exclude" option.
40  * When "git am -3" needs to fall back to an application to a
41    synthesized preimage followed by a 3-way merge, the paths that
42    needed such treatment are now reported to the end user, so that the
43    result in them can be eyeballed with extra care.
45  * The output from "diff/log --stat" used to always allocate 4 columns
46    to show the number of modified lines, but not anymore.
48  * "git difftool" learned the "--dir-diff" option to spawn external
49    diff tools that can compare two directory hierarchies at a time
50    after populating two temporary directories, instead of running an
51    instance of the external tool once per a file pair.
53  * The "fmt-merge-msg" command learns to list the primary contributors
54    involved in the side topic you are merging.
56  * "git rebase" learned to optionally keep commits that do not
57    introduce any change in the original history.
59  * "git push --recurse-submodules" learned to optionally look into the
60    histories of submodules bound to the superproject and push them
61    out.
63  * A 'snapshot' request to "gitweb" honors If-Modified-Since: header,
64    based on the commit date.
66  * "gitweb" learned to highlight the patch it outputs even more.
68 Foreign Interface
70  * "git svn" used to die with unwanted SIGPIPE when talking with HTTP
71    server that uses keep-alive.
73  * "git svn" learned to use platform specific authentication
74    providers, e.g. gnome-keyring, kwallet, etc.
76  * "git p4" has been moved out of contrib/ area and has seen more work
77    on importing labels as tags from (and exporting tags as labels to)
78    p4.
80 Performance and Internal Implementation (please report possible regressions)
82  * Bash completion script (in contrib/) have been cleaned up to make
83    future work on it simpler.
85  * An experimental "version 4" format of the index file has been
86    introduced to reduce on-disk footprint and I/O overhead.
88  * "git archive" learned to produce its output without reading the
89    blob object it writes out in memory in its entirety.
91  * "git index-pack" that runs when fetching or pushing objects to
92    complete the packfile on the receiving end learned to use multiple
93    threads to do its job when available.
95  * The code to compute hash values for lines used by the internal diff
96    engine was optimized on little-endian machines, using the same
97    trick the kernel folks came up with.
99  * "git apply" had some memory leaks plugged.
101  * Setting up a revision traversal with many starting points was
102    inefficient as these were placed in a date-order priority queue
103    one-by-one.  Now they are collected in the queue unordered first,
104    and sorted immediately before getting used.
106  * More lower-level commands learned to use the streaming API to read
107    from the object store without keeping everything in core.
109  * Because "sh" on the user's PATH may be utterly broken on some
110    systems, run-command API now uses SHELL_PATH, not /bin/sh, when
111    spawning an external command (not applicable to Windows port).
113  * The API to iterate over refs/ hierarchy has been tweaked to allow
114    walking only a subset of it more efficiently.
116 Also contains minor documentation updates and code clean-ups.
119 Fixes since v1.7.10
120 -------------------
122 Unless otherwise noted, all the fixes since v1.7.10 in the maintenance
123 releases are contained in this release (see release notes to them for
124 details).
126  * The progress indicator for a large "git checkout" was sent to
127    stderr even if it is not a terminal.
128    (merge e9fc64c ap/checkout-no-progress-for-non-tty later to maint).
130  * A name taken from mailmap was copied into an internal buffer
131    incorrectly and could overun the buffer if it is too long.
132    (merge c9b4e9e jk/format-person-part-buffer-limit later to maint).
134  * A malformed commit object that has a header line chomped in the
135    middle could kill git with a NULL pointer dereference.
136    (merge a9c7a8a jk/pretty-commit-header-incomplete-line later to maint).
138  * An author/committer name that is a single character was mishandled
139    as an invalid name by mistake.
140    (merge d9955fd jk/ident-split-fix later to maint).
142  * "git grep -e '$pattern'", unlike the case where the patterns are
143    read from a file, did not treat individual lines in the given
144    pattern argument as separate regular expressions as it should.
145    (merge ec83061 rs/maint-grep-F later to maint).
147  * "git diff --stat" used to fully count a binary file with modified
148    execution bits whose contents is unmodified, which was not quite
149    right.