mirror of
https://github.com/git/git.git
synced 2024-11-07 01:32:58 +01:00
00f27feb6a
Signed-off-by: Junio C Hamano <gitster@pobox.com>
92 lines
3.8 KiB
Text
92 lines
3.8 KiB
Text
Git v2.9.3 Release Notes
|
|
========================
|
|
|
|
Fixes since v2.9.2
|
|
------------------
|
|
|
|
* A helper function that takes the contents of a commit object and
|
|
finds its subject line did not ignore leading blank lines, as is
|
|
commonly done by other codepaths. Make it ignore leading blank
|
|
lines to match.
|
|
|
|
* Git does not know what the contents in the index should be for a
|
|
path added with "git add -N" yet, so "git grep --cached" should not
|
|
show hits (or show lack of hits, with -L) in such a path, but that
|
|
logic does not apply to "git grep", i.e. searching in the working
|
|
tree files. But we did so by mistake, which has been corrected.
|
|
|
|
* "git rebase -i --autostash" did not restore the auto-stashed change
|
|
when the operation was aborted.
|
|
|
|
* "git commit --amend --allow-empty-message -S" for a commit without
|
|
any message body could have misidentified where the header of the
|
|
commit object ends.
|
|
|
|
* More mark-up updates to typeset strings that are expected to
|
|
literally typed by the end user in fixed-width font.
|
|
|
|
* For a long time, we carried an in-code comment that said our
|
|
colored output would work only when we use fprintf/fputs on
|
|
Windows, which no longer is the case for the past few years.
|
|
|
|
* "gc.autoPackLimit" when set to 1 should not trigger a repacking
|
|
when there is only one pack, but the code counted poorly and did
|
|
so.
|
|
|
|
* One part of "git am" had an oddball helper function that called
|
|
stuff from outside "his" as opposed to calling what we have "ours",
|
|
which was not gender-neutral and also inconsistent with the rest of
|
|
the system where outside stuff is usuall called "theirs" in
|
|
contrast to "ours".
|
|
|
|
* The test framework learned a new helper test_match_signal to
|
|
check an exit code from getting killed by an expected signal.
|
|
|
|
* "git blame -M" missed a single line that was moved within the file.
|
|
|
|
* Fix recently introduced codepaths that are involved in parallel
|
|
submodule operations, which gave up on reading too early, and
|
|
could have wasted CPU while attempting to write under a corner
|
|
case condition.
|
|
|
|
* "git grep -i" has been taught to fold case in non-ascii locales
|
|
correctly.
|
|
|
|
* A test that unconditionally used "mktemp" learned that the command
|
|
is not necessarily available everywhere.
|
|
|
|
* "git blame file" allowed the lineage of lines in the uncommitted,
|
|
unadded contents of "file" to be inspected, but it refused when
|
|
"file" did not appear in the current commit. When "file" was
|
|
created by renaming an existing file (but the change has not been
|
|
committed), this restriction was unnecessarily tight.
|
|
|
|
* "git add -N dir/file && git write-tree" produced an incorrect tree
|
|
when there are other paths in the same directory that sorts after
|
|
"file".
|
|
|
|
* "git fetch http://user:pass@host/repo..." scrubbed the userinfo
|
|
part, but "git push" didn't.
|
|
|
|
* An age old bug that caused "git diff --ignore-space-at-eol"
|
|
misbehave has been fixed.
|
|
|
|
* "git notes merge" had a code to see if a path exists (and fails if
|
|
it does) and then open the path for writing (when it doesn't).
|
|
Replace it with open with O_EXCL.
|
|
|
|
* "git pack-objects" and "git index-pack" mostly operate with off_t
|
|
when talking about the offset of objects in a packfile, but there
|
|
were a handful of places that used "unsigned long" to hold that
|
|
value, leading to an unintended truncation.
|
|
|
|
* Recent update to "git daemon" tries to enable the socket-level
|
|
KEEPALIVE, but when it is spawned via inetd, the standard input
|
|
file descriptor may not necessarily be connected to a socket.
|
|
Suppress an ENOTSOCK error from setsockopt().
|
|
|
|
* Recent FreeBSD stopped making perl available at /usr/bin/perl;
|
|
switch the default the built-in path to /usr/local/bin/perl on not
|
|
too ancient FreeBSD releases.
|
|
|
|
Also contains minor documentation updates and code clean-ups.
|