1Git v1.7.2 Release Notes (draft) 2================================ 3 4Updates since v1.7.1 5-------------------- 6 7 * The whitespace rules used in "git apply --whitespace" and "git diff" 8 gained a new member in the family (tab-in-indent) to help projects with 9 policy to indent only with spaces. 10 11 * Authentication over http transport can now be made lazily, in that the 12 request can first go to a URL without username, get a 401 response and 13 then the client will ask for the username to use. 14 15 * When working from a subdirectory, by default, git does not look for its 16 metadirectory ".git" across filesystems, primarily to help people who 17 have invocations of git in their custom PS1 prompts, as being outside 18 of a git repository would look for ".git" all the way up to the root 19 directory, and NFS mounts are often slow. DISCOVERY_ACROSS_FILESYSTEM 20 environment variable can be used to tell git not to stop at a 21 filesystem boundary. 22 23 * "git" wrapper learned "-c name=value" option to override configuration 24 variable from the command line. 25 26 * After "git apply --whitespace=fix" removed trailing blank lines in an 27 patch in a patch series, it failed to apply later patches that depend 28 on the presense of such blank lines. 29 30 * "git checkout --orphan newbranch" is similar to "-b newbranch" but 31 prepares to create a root commit that is not connected to any existing 32 commit. 33 34 * "git commit --amend" on a commit with an invalid author-name line that 35 lacks the display name didn't work (fb7749e4). 36 37 * "git cvsserver" can be told to use pserver; its password file can be 38 stored outside the repository. 39 40 * "git describe" tie-breaks tags that point at the same commit better by 41 paying attention to the tagger date (newer ones are preferred). 42 43 * The output from the textconv filter used by "git diff" can be cached to 44 speed up their reuse. 45 46 * "git diff --color" did not paint extended diff headers per line 47 (i.e. the coloring escape sequence didn't end at the end of line), 48 which confused "less -R". 49 50 * "git diff --word-diff=<mode>" extends the existing "--color-words" 51 option, making it more useful in color-challenged environments. 52 53 * The regexp to detect function headers used by "git diff" for PHP has 54 been enhanced for visibility modifiers (public, protected, etc.) to 55 better support PHP5. 56 57 * "git fetch" over HTTP verifies the downloaded packfiles more robustly. 58 59 * "git for-each-ref" learned "%(objectname:short)" that gives the object 60 name abbreviated. 61 62 * Various options to "git grep" (e.g. --count, --name-only) work better 63 with binary files. 64 65 * The memory usage by "git index-pack" (run during "git fetch" and "git 66 push") got leaner. 67 68 * "git log --follow <path>" follows across copies (it used to only follow 69 renames). This may make the processing more expensive. 70 71 * "git notes prune" learned "-n" (dry-run) and "-v" options, similar to 72 what "git prune" has. 73 74 * "git patch-id" can be fed a mbox without getting confused by the 75 signature line in the format-patch output. 76 77 * "git revert" learned --strategy option to specify the merge strategy. 78 79 * "git send-email" learned --smtp-domain option to specify the domainname 80 used in the EHLO/HELO exchange. 81 82 * "git status [-s] --ignored" can be used to list ignored paths. 83 84 * Various "gitweb" enhancements and clean-ups, including syntax 85 highlighting. 86 87 88Fixes since v1.7.1 89------------------ 90 91All of the fixes in v1.7.1.X maintenance series are included in this 92release, unless otherwise noted. 93 94 * We didn't recognize timezone "Z" as a synonym for "UTC" (75b37e70). 95 96 * In 1.7.1, "git status" stopped refreshing the index by mistake 97 (e251a7b3^2). 98 99 * We used to mistakenly think "../work" is a subdirectory of the current 100 directory when we are in "../work-xyz" (490544b). 101 102 * "git checkout" and "git rebase" overwrote paths that are marked "assume 103 unchanged" (aecda37c). 104 105 * "git clone/fetch/pull" issued an incorrect error message when a ref and 106 a symref that points to the ref were updated at the same time. This 107 obviously would update them to the same value, and should not result in 108 an error condition (da3efdb). 109 110 * "git clone" did not configure remote.origin.url correctly for bare 111 clones (df61c889). 112 113 * "git diff" used to tell underlying xdiff machinery to work very hard to 114 minimize the output, but this often was spending too many extra cycles 115 for very little gain (582aa00). 116 117 * "git pull" accepted "--dry-run", gave it to underlying "git fetch" but 118 ignored the option itself, resulting in a bogus attempt to merge 119 unrelated commit (29609e68). 120 121 * "git reset --hard" started from a wrong directory and a working tree in 122 a nonstandard location is in use got confused (560fb6a1). 123 124 * "git stash" incorrectly lost paths in the working tree that were 125 previously removed from the index (7aa5d43). 126 127-- 128exec >/var/tmp/1 129O=v1.7.1-336-g0925c02 130echo O=$(git describe master) 131git shortlog --no-merges master ^maint ^$O