1Git v1.7.11 Release Notes 2========================= 3 4Updates since v1.7.10 5--------------------- 6 7UI, Workflows & Features 8 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. 15 16 * A couple of commands learned the "--column" option to produce 17 columnar output. 18 19 * A third-party tool "git subtree" is distributed in contrib/ 20 21 * A remote helper that acts as a proxy and caches ssl session for the 22 https:// transport is added to the contrib/ area. 23 24 * Error messages given when @{u} is used for a branch without its 25 upstream configured have been clarified. 26 27 * Even with the "-q"uiet option, "checkout" used to report setting up 28 tracking. Also "branch" learned the "-q"uiet option to squelch 29 informational message. 30 31 * Your build platform may support hardlinks but you may prefer not to 32 use them, e.g. when installing to DESTDIR to make a tarball and 33 untarring on a filesystem that has poor support for hardlinks. 34 There is a Makefile option NO_INSTALL_HARDLINKS for you. 35 36 * The smart-http backend used to always override GIT_COMMITTER_* 37 variables with REMOTE_USER and REMOTE_ADDR, but these variables are 38 now preserved when set. 39 40 * "git am" learned the "--include" option, which is an opposite of 41 existing the "--exclude" option. 42 43 * When "git am -3" needs to fall back to an application of the patch 44 to a synthesized preimage followed by a 3-way merge, the paths that 45 needed such treatment are now reported to the end user, so that the 46 result in them can be eyeballed with extra care. 47 48 * The output from "diff/log --stat" used to always allocate 4 columns 49 to show the number of modified lines, but not anymore. 50 51 * "git difftool" learned the "--dir-diff" option to spawn external 52 diff tools that can compare two directory hierarchies at a time 53 after populating two temporary directories, instead of running an 54 instance of the external tool once per a file pair. 55 56 * The "fmt-merge-msg" command learned to list the primary contributors 57 involved in the side topic you are merging in a comment in the merge 58 commit template. 59 60 * "git rebase" learned to optionally keep commits that do not 61 introduce any change in the original history. 62 63 * "git push --recurse-submodules" learned to optionally look into the 64 histories of submodules bound to the superproject and push them 65 out. 66 67 * A 'snapshot' request to "gitweb" honors If-Modified-Since: header, 68 based on the commit date. 69 70 * "gitweb" learned to highlight the patch it outputs even more. 71 72Foreign Interface 73 74 * "git svn" used to die with unwanted SIGPIPE when talking with an HTTP 75 server that uses keep-alive. 76 77 * "git svn" learned to use platform specific authentication 78 providers, e.g. gnome-keyring, kwallet, etc. 79 80 * "git p4" has been moved out of the contrib/ area and has seen more 81 work on importing labels as tags from (and exporting tags as labels 82 to) p4. 83 84Performance and Internal Implementation (please report possible regressions) 85 86 * Bash completion script (in contrib/) have been cleaned up to make 87 future work on it simpler. 88 89 * An experimental "version 4" format of the index file has been 90 introduced to reduce on-disk footprint and I/O overhead. 91 92 * "git archive" learned to produce its output without reading the 93 blob object it writes out in memory in its entirety. 94 95 * "git index-pack" that runs when fetching or pushing objects to 96 complete the packfile on the receiving end learned to use multiple 97 threads to do its job when available. 98 99 * The code to compute hash values for lines used by the internal diff 100 engine was optimized on little-endian machines, using the same 101 trick the kernel folks came up with. 102 103 * "git apply" had some memory leaks plugged. 104 105 * Setting up a revision traversal with many starting points was 106 inefficient as these were placed in a date-order priority queue 107 one-by-one. Now they are collected in the queue unordered first, 108 and sorted immediately before getting used. 109 110 * More lower-level commands learned to use the streaming API to read 111 from the object store without keeping everything in core. 112 113 * The weighting parameters to suggestion command name typo have been 114 tweaked, so that "git tags" will suggest "tag?" and not "stage?". 115 116 * Because "sh" on the user's PATH may be utterly broken on some 117 systems, run-command API now uses SHELL_PATH, not /bin/sh, when 118 spawning an external command (not applicable to Windows port). 119 120 * The API to iterate over the refs/ hierarchy has been tweaked to 121 allow walking only a subset of it more efficiently. 122 123Also contains minor documentation updates and code clean-ups. 124 125 126Fixes since v1.7.10 127------------------- 128 129Unless otherwise noted, all the fixes since v1.7.10 in the maintenance 130releases are contained in this release (see release notes to them for 131details). 132 133 * "git fast-export" did not give a readable error message when the 134 same mark erroneously appeared twice in the --import-marks input. 135 (merge 43bc230 js/maint-fast-export-mark-error later to maint). 136 137 * "git rebase -p" used to pay attention to rebase.autosquash which 138 was wrong. "git rebase -p -i" should, but "git rebase -p" by 139 itself should not. 140 (cherry-pick 8a6dae1 vr/rebase-autosquash-does-not-imply-i later to maint). 141 142 * "git submodule init" used to report "registered for path ..." 143 even for submodules that were registered earlier. 144 (cherry-pick c1c259e jl/submodule-report-new-path-once later to maint). 145 146 * "git diff --stat" used to fully count a binary file with modified 147 execution bits whose contents is unmodified, which was not quite 148 right.