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 * Error messages given when @{u} is used for a branch without its 22 upstream configured have been clatified. 23 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. 27 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. 32 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. 36 37 * "git am" learned the "--include" option, which is an opposite of 38 existing the "--exclude" option. 39 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. 44 45 * The output from "diff/log --stat" used to always allocate 4 columns 46 to show the number of modified lines, but not anymore. 47 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. 52 53 * The "fmt-merge-msg" command learns to list the primary contributors 54 involved in the side topic you are merging. 55 56 * The cases "git push" fails due to non-ff can be broken into three 57 categories; each case is given a separate advise message. 58 59 * "git rebase" learned to optionally keep commits that do not 60 introduce any change in the original history. 61 62 * "git push --recurse-submodules" learned to optionally look into the 63 histories of submodules bound to the superproject and push them 64 out. 65 66 * A 'snapshot' request to "gitweb" honors If-Modified-Since: header, 67 based on the commit date. 68 69 * "gitweb" learned to highlight the patch it outputs even more. 70 71Foreign Interface 72 73 * "git svn" used to die with unwanted SIGPIPE when talking with HTTP 74 server that uses keep-alive. 75 76 * "git svn" learned to use platform specific authentication 77 providers, e.g. gnome-keyring, kwallet, etc. 78 79 * "git p4" has been moved out of contrib/ area and has seen more work 80 on importing labels as tags from (and exporting tags as labels to) 81 p4. 82 83Performance and Internal Implementation (please report possible regressions) 84 85 * An experimental "version 4" format of the index file has been 86 introduced to reduce on-disk footprint and I/O overhead. 87 88 * "git archive" learned to produce its output without reading the 89 blob object it writes out in memory in its entirety. 90 91 * The code to compute hash values for lines used by the internal diff 92 engine was optimized on little-endian machines, using the same 93 trick the kernel folks came up with. 94 95 * "git apply" had some memory leaks plugged. 96 97 * "git repack" used to write out unreachable objects as loose objects 98 when repacking, even if such loose objects will immediately pruned 99 due to its age. 100 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. 105 106 * "git rev-parse --show-prefix" used to emit nothing when run at the 107 top-level of the working tree, but now it gives a blank line. 108 109 * Minor memory leak during unpack_trees (hence "merge" and "checkout" 110 to check out another branch) has been plugged. 111 112 * More lower-level commands learned to use the streaming API to read 113 from the object store without keeping everything in core. 114 115 * Because "sh" on the user's PATH may be utterly broken on some 116 systems, run-command API now uses SHELL_PATH, not /bin/sh, when 117 spawning an external command (not applicable to Windows port). 118 119 * The API to iterate over refs/ hierarchy has been tweaked to allow 120 walking only a subset of it more efficiently. 121 122Also contains minor documentation updates and code clean-ups. 123 124 125Fixes since v1.7.10 126------------------- 127 128Unless otherwise noted, all the fixes since v1.7.10 in the maintenance 129releases are contained in this release (see release notes to them for 130details). 131 132 * When checking out another commit from an already detached state, we 133 used to report all commits that are not reachable from any of the 134 refs as lossage, but some of them might be reachable from the new 135 HEAD, and there is no need to warn about them. 136 (merge 5d88639 js/checkout-detach-count later to maint). 137 138 * Some time ago, "git clone" lost the progress output for its 139 "checkout" phase; when run without any "--quiet" option, it should 140 give progress to the lengthy operation. 141 (merge 8f63da1 ef/maint-clone-progress-fix later to maint). 142 143 * "git status --porcelain" ignored "--branch" option by mistake. The 144 output for "git status --branch -z" was also incorrect and did not 145 terminate the record for the current branch name with NUL as asked. 146 (merge d4a6bf1 jk/maint-status-porcelain-z-b later to maint). 147 148 * "git diff --stat" used to fully count a binary file with modified 149 execution bits whose contents is unmodified, which was not quite 150 right. 151 152 * "log -z --pretty=tformat:..." did not terminate each record with 153 NUL. The fix is not entirely correct when the output also asks for 154 --patch and/or --stat, though. 155 (merge fafd382 jk/maint-tformat-with-z later to maint).