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 * "git rebase" learned to optionally keep commits that do not 57 introduce any change in the original history. 58 59 * "git push --recurse-submodules" learned to optionally look into the 60 histories of submodules bound to the superproject and push them 61 out. 62 63 * A 'snapshot' request to "gitweb" honors If-Modified-Since: header, 64 based on the commit date. 65 66 * "gitweb" learned to highlight the patch it outputs even more. 67 68Foreign Interface 69 70 * "git svn" used to die with unwanted SIGPIPE when talking with HTTP 71 server that uses keep-alive. 72 73 * "git svn" learned to use platform specific authentication 74 providers, e.g. gnome-keyring, kwallet, etc. 75 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. 79 80Performance and Internal Implementation (please report possible regressions) 81 82 * Bash completion script (in contrib/) have been cleaned up to make 83 future work on it simpler. 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 * "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. 94 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. 98 99 * "git apply" had some memory leaks plugged. 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 * More lower-level commands learned to use the streaming API to read 107 from the object store without keeping everything in core. 108 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). 112 113 * The API to iterate over refs/ hierarchy has been tweaked to allow 114 walking only a subset of it more efficiently. 115 116Also contains minor documentation updates and code clean-ups. 117 118 119Fixes since v1.7.10 120------------------- 121 122Unless otherwise noted, all the fixes since v1.7.10 in the maintenance 123releases are contained in this release (see release notes to them for 124details). 125 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). 129 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). 133 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). 137 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). 141 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). 146 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.