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 * When working from a subdirectory, by default, git does not look for its 12 metadirectory ".git" across filesystems, primarily to help people who 13 have invocations of git in their custom PS1 prompts, as being outside 14 of a git repository would look for ".git" all the way up to the root 15 directory, and NFS mounts are often slow. DISCOVERY_ACROSS_FILESYSTEM 16 environment variable can be used to tell git not to stop at a 17 filesystem boundary. 18 19 * "git" wrapper learned "-c name=value" option to override configuration 20 variable from the command line. 21 22 * After "git apply --whitespace=fix" removed trailing blank lines in an 23 patch in a patch series, it failed to apply later patches that depend 24 on the presense of such blank lines. 25 26 * "git checkout --orphan newbranch" is similar to "-b newbranch" but 27 prepares to create a root commit that is not connected to any existing 28 commit. 29 30 * "git commit --amend" on a commit with an invalid author-name line that 31 lacks the display name didn't work (fb7749e4). 32 33 * "git cvsserver" can be told to use pserver; its password file can be 34 stored outside the repository. 35 36 * The output from the textconv filter used by "git diff" can be cached to 37 speed up their reuse. 38 39 * "git diff --color" did not paint extended diff headers per line 40 (i.e. the coloring escape sequence didn't end at the end of line), 41 which confused "less -R". 42 43 * "git diff --word-diff=<mode>" extends the existing "--color-words" 44 option, making it more useful in color-challenged environments. 45 46 * The regexp to detect function headers used by "git diff" for PHP has 47 been enhanced for visibility modifiers (public, protected, etc.) to 48 better support PHP5. 49 50 * "git for-each-ref" learned "%(objectname:short)" that gives the object 51 name abbreviated. 52 53 * Various options to "git grep" (e.g. --count, --name-only) work better 54 with binary files. 55 56 * "git log --follow <path>" follows across copies (it used to only follow 57 renames). This may make the processing more expensive. 58 59 * "git notes prune" learned "-n" (dry-run) and "-v" options, similar to 60 what "git prune" has. 61 62 * "git patch-id" can be fed a mbox without getting confused by the 63 signature line in the format-patch output. 64 65 * "git revert" learned --strategy option to specify the merge strategy. 66 67 * "git status [-s] --ignored" can be used to list ignored paths. 68 69 * Various "gitweb" enhancements and clean-ups, including syntax 70 highlighting. 71 72 73Fixes since v1.7.1 74------------------ 75 76All of the fixes in v1.7.1.X maintenance series are included in this 77release, unless otherwise noted. 78 79 * We didn't recognize timezone "Z" as a synonym for "UTC" (75b37e70). 80 81 * "git checkout" and "git rebase" overwrote paths that are marked "assume 82 unchanged" (aecda37c). 83 84 * "git clone/fetch/pull" issued an incorrect error message when a ref and 85 a symref that points to the ref were updated at the same time. This 86 obviously would update them to the same value, and should not result in 87 an error condition (7223dcaf). 88 89 * "git clone" did not configure remote.origin.url correctly for bare 90 clones (df61c889). 91 92 * "git diff" used to tell underlying xdiff machinery to work very hard to 93 minimize the output, but this often was spending too many extra cycles 94 for very little gain (582aa00). 95 96 * "git pull" accepted "--dry-run", gave it to underlying "git fetch" but 97 ignored the option itself, resulting in a bogus attempt to merge 98 unrelated commit (29609e68). 99 100 * "git reset --hard" started from a wrong directory and a working tree in 101 a nonstandard location is in use got confused (560fb6a1). 102 103-- 104exec >/var/tmp/1 105O=v1.7.1-336-g0925c02 106echo O=$(git describe master) 107git shortlog --no-merges master ^maint ^$O