1Git v1.7.12 Release Notes 2========================= 3 4Updates since v1.7.11 5--------------------- 6 7UI, Workflows & Features 8 9 * Git can be told to normalize pathnames it read from readdir(3) and 10 all arguments it got from the command line into precomposed UTF-8 11 (assuming that they come as decomposed UTF-8), in order to work 12 around issues on Mac OS. 13 14 I think there still are other places that need conversion 15 (e.g. paths that are read from stdin for some commands), but this 16 should be a good first step in the right direction. 17 18 * Per-user $HOME/.gitconfig file can optionally be stored in 19 $HOME/.config/git/config instead, which is in line with XDG. 20 21 * The value of core.attributesfile and core.excludesfile default to 22 $HOME/.config/attributes and $HOME/.config/ignore respectively when 23 these files exist. 24 25 * Scripted Porcelain writers now have access to the credential API via 26 the "git credential" plumbing command. 27 28 * "git help" used to always default to "man" format even on platforms 29 where "man" viewer is not widely available. 30 31 * "git clone --local $path" started its life as an experiment to 32 optionally use link/copy when cloning a repository on the disk, but 33 we didn't deprecate it after we made the option a no-op to always 34 use the optimization. The command learned "--no-local" option to 35 turn this off, as a more explicit alternative over use of file:// 36 URL. 37 38 * "git fetch" and friends used to say "remote side hung up 39 unexpectedly" when they failed to get response they expect from the 40 other side, but one common reason why they don't get expected 41 response is that the remote repository does not exist or cannot be 42 read. The error message in this case was updated to give better 43 hints to the user. 44 45 * git native protocol agents learned to show software version over 46 the wire, so that the server log can be examined to see the vintage 47 distribution of clients. 48 49 * "git help -w $cmd" can show HTML version of documentation for 50 "git-$cmd" by setting help.htmlpath to somewhere other than the 51 default location where the build procedure installs them locally; 52 the variable can even point at a http:// URL. 53 54 * "git rebase -i" learned "-x <cmd>" to insert "exec <cmd>" after 55 each commit in the resulting history. 56 57 * "git status" gives finer classification to various states of paths 58 in conflicted state and offer advice messages in its output. 59 60 * "git submodule" learned to deal with nested submodule structure 61 where a module is contained within a module whose origin is 62 specified as a relative URL to its superproject's origin. 63 64 * A rather heavy-ish "git completion" script has been split to create 65 a separate "git prompting" script, to help lazy-autoloading of the 66 completion part while making prompting part always available. 67 68 69Foreign Interface 70 71 * "mediawiki" remote helper (in contrib/) learned to handle file 72 attachments. 73 74 * vcs-svn has been updated to clean-up compilation, lift 32-bit 75 limitations, etc. 76 77 78Performance, Internal Implementation, etc. (please report possible regressions) 79 80 * Some tests showed false failures caused by a bug in ecryptofs. 81 82 * We no longer use AsciiDoc7 syntax in our documentation and favor a 83 more modern style. 84 85 * "git am --rebasing" codepath was taught to grab authorship, log 86 message and the patch text directly out of existing commits. This 87 will help rebasing commits that have confusing "diff" output in 88 their log messages. 89 90 * "git index-pack" and "git pack-objects" use streaming API to read 91 from the object store to avoid having to hold a large blob object 92 in-core while they are doing their thing. 93 94 * Code to match paths with exclude patterns learned to avoid calling 95 fnmatch() by comparing fixed leading substring literally when 96 possible. 97 98 99Also contains minor documentation updates and code clean-ups. 100 101 102Fixes since v1.7.11 103------------------- 104 105Unless otherwise noted, all the fixes since v1.7.11 in the maintenance 106releases are contained in this release (see release notes to them for 107details). 108 109 * "git show"'s auto-walking behaviour was an unreliable and 110 unpredictable hack; it now behaves just like "git log" does when it 111 walks. 112 (merge c5941f1 tr/maint-show-walk later to maint). 113 114 * "git diff", "git status" and anything that internally uses the 115 comparison machinery was utterly broken when the difference 116 involved a file with "-" as its name. This was due to the way "git 117 diff --no-index" was incorrectly bolted on to the system, making 118 any comparison that involves a file "-" at the root level 119 incorrectly read from the standard input. 120 (merge 4682d85 jc/refactor-diff-stdin later to maint). 121 122 * We did not have test to make sure "git rebase" without extra options 123 filters out an empty commit in the original history. 124 (merge 2b5ba7b mz/empty-rebase-test later to maint). 125 126 * "git fast-export" produced an input stream for fast-import without 127 properly quoting pathnames when they contain SPs in them. 128 (merge ff59f6d js/fast-export-paths-with-spaces later to maint). 129 130 * "git checkout --detach", when you are still on an unborn branch, 131 should be forbidden, but it wasn't. 132 (merge 8ced1aa cw/no-detaching-an-unborn later to maint). 133 134 * Some implementations of Perl terminates "lines" with CRLF even when 135 the script is operating on just a sequence of bytes. Make sure to 136 use "$PERL_PATH", the version of Perl the user told Git to use, in 137 our tests to avoid unnecessary breakages in tests. 138 (merge ad78585 vr/use-our-perl-in-tests later to maint).