1
Git 1.7.12.1 Release Notes
2
==========================
7
* "git apply -p0" did not parse pathnames on "diff --git" line
8
correctly. This caused patches that had pathnames in no other
9
places to be mistakenly rejected (most notably, binary patch that
10
does not rename nor change mode). Textual patches, renames or mode
11
changes have preimage and postimage pathnames in different places
12
in a form that can be parsed unambiguously and did not suffer from
15
* "git cherry-pick A C B" used to replay changes in A and then B and
16
then C if these three commits had committer timestamps in that
17
order, which is not what the user who said "A C B" naturally
20
* "git commit --amend" let the user edit the log message and then
21
died when the human-readable committer name was given
22
insufficiently by getpwent(3).
24
* Some capabilities were asked by fetch-pack even when upload-pack
25
did not advertise that they are available. fetch-pack has been
28
* "git diff" had a confusion between taking data from a path in the
29
working tree and taking data from an object that happens to have
30
name 0{40} recorded in a tree.
32
* "git for-each-ref" did not correctly support more than one --sort
35
* "git log .." errored out saying it is both rev range and a path
36
when there is no disambiguating "--" is on the command line.
37
Update the command line parser to interpret ".." as a path in such
40
* The "--topo-order", "--date-order" (and the lack of either means
41
the default order) options to "rev-list" and "log" family of
42
commands were poorly described in the documentation.
44
* "git prune" without "-v" used to warn about leftover temporary
45
files (which is an indication of an earlier aborted operation).
47
* Pushing to smart HTTP server with recent Git fails without having
48
the username in the URL to force authentication, if the server is
49
configured to allow GET anonymously, while requiring authentication
52
* The reflog entries left by "git rebase" and "git rebase -i" were
53
inconsistent (the interactive one gave an abbreviated object name).
55
* When "git push" triggered the automatic gc on the receiving end, a
56
message from "git prune" that said it was removing cruft leaked to
57
the standard output, breaking the communication protocol.
59
* "git show --quiet" ought to be a synonym for "git show -s", but
62
* "git show --format='%ci'" did not give timestamp correctly for
63
commits created without human readable name on "committer" line.
65
* "git send-email" did not unquote encoded words that appear on the
66
header correctly, and lost "_" from strings.
68
* The interactive prompt "git send-email" gives was error prone. It
69
asked "What e-mail address do you want to use?" with the address it
70
guessed (correctly) the user would want to use in its prompt,
71
tempting the user to say "y". But the response was taken as "No,
72
please use 'y' as the e-mail address instead", which is most
73
certainly not what the user meant.
75
* "gitweb" when used with PATH_INFO failed to notice directories with
76
SP (and other characters that need URL-style quoting) in them.
78
* When the user gives an argument that can be taken as both a
79
revision name and a pathname without disambiguating with "--", we
80
used to give a help message "Use '--' to separate". The message
81
has been clarified to show where that '--' goes on the command
84
* When the user exports a non-default IFS without HT, scripts that
85
rely on being able to parse "ls-files -s | while read a b c..."
86
started to fail. Protect them from such a misconfiguration.
88
* The attribute system may be asked for a path that itself or its
89
leading directories no longer exists in the working tree, and it is
90
fine if we cannot open .gitattribute file in such a case. Failure
91
to open per-directory .gitattributes with error status other than
92
ENOENT and ENOTDIR should be diagnosed, but it wasn't.
94
* After "gitk" showed the contents of a tag, neither "Reread
95
references" nor "Reload" did not update what is shown as the
96
contents of it, when the user overwrote the tag with "git tag -f".
98
* "ciabot" script (in contrib/) has been updated with extensive
101
* "git-jump" script (in contrib/) did not work well when
102
diff.noprefix or diff.mnemonicprefix is in effect.
104
* Older parts of the documentation described as if having a regular
105
file in .git/refs/ hierarchy were the only way to have branches and
106
tags, which is not true for quite some time.
108
* A utility shell function test_seq has been added as a replacement
109
for the 'seq' utility found on some platforms.
111
* Compatibility wrapper to learn the maximum number of file
112
descriptors we can open around sysconf(_SC_OPEN_MAX) and
113
getrlimit(RLIMIT_NO_FILE) has been introduced for portability.
115
* We used curl_easy_strerror() without checking version of cURL,
116
breaking the build for versions before curl 7.12.0.
118
* Code to work around MacOS X UTF-8 gotcha has been cleaned up.
120
* Fallback 'getpass' implementation made unportable use of stdio API.
122
* The "--rebase" option to "git pull" can be abbreviated to "-r",
123
but we didn't document it.
125
* It was generally understood that "--long-option"s to many of our
126
subcommands can be abbreviated to the unique prefix, but it was not
127
easy to find it described for new readers of the documentation set.
129
* The synopsis said "checkout [-B branch]" to make it clear the
130
branch name is a parameter to the option, but the heading for the
131
option description was "-B::", not "-B branch::", making the
132
documentation misleading.
134
Also contains numerous documentation updates.