1 Git v1.7.12 Release Notes
2 =========================
7 UI, Workflows & Features
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.
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.
18 * Per-user $HOME/.gitconfig file can optionally be stored in
19 $HOME/.config/git/config instead, which is in line with XDG.
21 * The value of core.attributesfile and core.excludesfile default to
22 $HOME/.config/attributes and $HOME/.config/ignore respectively when
25 * Scripted Porcelain writers now have access to the credential API via
26 the "git credential" plumbing command.
28 * "git help" used to always default to "man" format even on platforms
29 where "man" viewer is not widely available.
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://
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
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.
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.
54 * "git rebase -i" learned "-x <cmd>" to insert "exec <cmd>" after
55 each commit in the resulting history.
57 * "git status" gives finer classification to various states of paths
58 in conflicted state and offer advice messages in its output.
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.
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.
71 * "mediawiki" remote helper (in contrib/) learned to handle file
74 * vcs-svn has been updated to clean-up compilation, lift 32-bit
78 Performance, Internal Implementation, etc. (please report possible regressions)
80 * Some tests showed false failures caused by a bug in ecryptofs.
82 * We no longer use AsciiDoc7 syntax in our documentation and favor a
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
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.
94 * Code to match paths with exclude patterns learned to avoid calling
95 fnmatch() by comparing fixed leading substring literally when
99 Also contains minor documentation updates and code clean-ups.
105 Unless otherwise noted, all the fixes since v1.7.11 in the maintenance
106 releases are contained in this release (see release notes to them for
109 * "git show"'s auto-walking behaviour was an unreliable and
110 unpredictable hack; it now behaves just like "git log" does when it
112 (merge c5941f1 tr/maint-show-walk later to maint).
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).
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).
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).
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).
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).