1 Git v1.7.11 Release Notes
2 =========================
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
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
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.
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)
80 Performance and Internal Implementation (please report possible regressions)
82 * An experimental "version 4" format of the index file has been
83 introduced to reduce on-disk footprint and I/O overhead.
85 * "git archive" learned to produce its output without reading the
86 blob object it writes out in memory in its entirety.
88 * "git index-pack" that runs when fetching or pushing objects to
89 complete the packfile on the receiving end learned to use multiple
90 threads to do its job when available.
92 * The code to compute hash values for lines used by the internal diff
93 engine was optimized on little-endian machines, using the same
94 trick the kernel folks came up with.
96 * "git apply" had some memory leaks plugged.
98 * Setting up a revision traversal with many starting points was
99 inefficient as these were placed in a date-order priority queue
100 one-by-one. Now they are collected in the queue unordered first,
101 and sorted immediately before getting used.
103 * More lower-level commands learned to use the streaming API to read
104 from the object store without keeping everything in core.
106 * Because "sh" on the user's PATH may be utterly broken on some
107 systems, run-command API now uses SHELL_PATH, not /bin/sh, when
108 spawning an external command (not applicable to Windows port).
110 * The API to iterate over refs/ hierarchy has been tweaked to allow
111 walking only a subset of it more efficiently.
113 Also contains minor documentation updates and code clean-ups.
119 Unless otherwise noted, all the fixes since v1.7.10 in the maintenance
120 releases are contained in this release (see release notes to them for
123 * When a submodule repository uses alternate object store mechanism,
124 some commands that were started from the superproject did not
125 notice it and failed with "No such object" errors. The subcommands
126 of "git submodule" command that properly recursed into the
127 submodule in a separate process were OK; only the ones that cheated
128 and peeked directly into the submodule's repository from the
129 primary process were affected.
130 (merge 5e73633 hv/submodule-alt-odb later to maint).
132 * The directory path used in "git diff --no-index", when it recurses
133 down, was broken with a recent update after v1.7.10.1 release.
134 (merge 176a335 bp/diff-no-index-strbuf-fix later to maint).
136 * "git status --porcelain" ignored "--branch" option by mistake. The
137 output for "git status --branch -z" was also incorrect and did not
138 terminate the record for the current branch name with NUL as asked.
139 (merge d4a6bf1 jk/maint-status-porcelain-z-b later to maint).
141 * "git diff --stat" used to fully count a binary file with modified
142 execution bits whose contents is unmodified, which was not quite