1Git v1.7.12 Release Notes 2========================= 3 4Updates since v1.7.11 5--------------------- 6 7UI, Workflows & Features 8 9 * Per-user $HOME/.gitconfig file can optionally be stored in 10 $HOME/.config/git/config instead, which is in line with XDG. 11 12 * The value of core.attributesfile and core.excludesfile default to 13 $HOME/.config/attributes and $HOME/.config/ignore respectively when 14 these files exist. 15 16 * Scripted Porcelain writers now have access to the credential API via 17 the "git credential" plumbing command. 18 19 * "git help" used to always default to "man" format even on platforms 20 where "man" viewer is not widely available. 21 22 * "git clone --local $path" started its life as an experiment to 23 optionally use link/copy when cloning a repository on the disk, but 24 we didn't deprecate it after we made the option a no-op to always 25 use the optimization. The command learned "--no-local" option to 26 turn this off, as a more explicit alternative over use of file:// 27 URL. 28 29 * "git fetch" and friends used to say "remote side hung up 30 unexpectedly" when they failed to get response they expect from the 31 other side, but one common reason why they don't get expected 32 response is that the remote repository does not exist or cannot be 33 read. The error message in this case was updated to give better 34 hints to the user. 35 36 * git native protocol agents learned to show software version over 37 the wire, so that the server log can be examined to see the vintage 38 distribution of clients. 39 40 * "git help -w $cmd" can show HTML version of documentation for 41 "git-$cmd" by setting help.htmlpath to somewhere other than the 42 default location where the build procedure installs them locally; 43 the variable can even point at a http:// URL. 44 45 * "git rebase -i" learned "-x <cmd>" to insert "exec <cmd>" after 46 each commit in the resulting history. 47 48 * "git status" gives finer classification to various states of paths 49 in conflicted state and offer advice messages in its output. 50 51 * "git submodule" learned to deal with nested submodule structure 52 where a module is contained within a module whose origin is 53 specified as a relative URL to its superproject's origin. 54 55 * A rather heavy-ish "git completion" script has been split to create 56 a separate "git prompting" script, to help lazy-autoloading of the 57 completion part while making prompting part always available. 58 59 60Foreign Interface 61 62 63Performance, Internal Implementation, etc. (please report possible regressions) 64 65 * Some tests showed false failures caused by a bug in ecryptofs. 66 67 * We no longer use AsciiDoc7 syntax in our documentation and favor a 68 more modern style. 69 70 * "git index-pack" and "git pack-objects" use streaming API to read 71 from the object store to avoid having to hold a large blob object 72 in-core while they are doing their thing. 73 74 * Code to match paths with exclude patterns learned to avoid calling 75 fnmatch() by comparing fixed leading substring literally when 76 possible. 77 78 79Also contains minor documentation updates and code clean-ups. 80 81 82Fixes since v1.7.11 83------------------- 84 85Unless otherwise noted, all the fixes since v1.7.11 in the maintenance 86releases are contained in this release (see release notes to them for 87details). 88 89 * We did not have test to make sure "git rebase" without extra options 90 filters out an empty commit in the original history. 91 (merge 2b5ba7b mz/empty-rebase-test later to maint). 92 93 * "git fast-export" produced an input stream for fast-import without 94 properly quoting pathnames when they contain SPs in them. 95 (merge ff59f6d js/fast-export-paths-with-spaces later to maint). 96 97 * "git checkout --detach", when you are still on an unborn branch, 98 should be forbidden, but it wasn't. 99 (merge 8ced1aa cw/no-detaching-an-unborn later to maint). 100 101 * Some implementations of Perl terminates "lines" with CRLF even when 102 the script is operating on just a sequence of bytes. Make sure to 103 use "$PERL_PATH", the version of Perl the user told Git to use, in 104 our tests to avoid unnecessary breakages in tests. 105 (merge ad78585 vr/use-our-perl-in-tests later to maint).