Skip to content

Commit fae46aa

Browse files
committed
Sync with 2.4.2
2 parents 4ebdeb6 + 9eabf5b commit fae46aa

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

Documentation/RelNotes/2.4.2.txt

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
Git v2.4.2 Release Notes
2+
========================
3+
4+
Fixes since v2.4.1
5+
------------------
6+
7+
* "git rev-list --objects $old --not --all" to see if everything that
8+
is reachable from $old is already connected to the existing refs
9+
was very inefficient.
10+
11+
* "hash-object --literally" introduced in v2.2 was not prepared to
12+
take a really long object type name.
13+
14+
* "git rebase --quiet" was not quite quiet when there is nothing to
15+
do.
16+
17+
* The completion for "log --decorate=" parameter value was incorrect.
18+
19+
* "filter-branch" corrupted commit log message that ends with an
20+
incomplete line on platforms with some "sed" implementations that
21+
munge such a line. Work it around by avoiding to use "sed".
22+
23+
* "git daemon" fails to build from the source under NO_IPV6
24+
configuration (regression in 2.4).
25+
26+
* "git stash pop/apply" forgot to make sure that not just the working
27+
tree is clean but also the index is clean. The latter is important
28+
as a stash application can conflict and the index will be used for
29+
conflict resolution.
30+
31+
* We have prepended $GIT_EXEC_PATH and the path "git" is installed in
32+
(typically "/usr/bin") to $PATH when invoking subprograms and hooks
33+
for almost eternity, but the original use case the latter tried to
34+
support was semi-bogus (i.e. install git to /opt/foo/git and run it
35+
without having /opt/foo on $PATH), and more importantly it has
36+
become less and less relevant as Git grew more mainstream (i.e. the
37+
users would _want_ to have it on their $PATH). Stop prepending the
38+
path in which "git" is installed to users' $PATH, as that would
39+
interfere the command search order people depend on (e.g. they may
40+
not like versions of programs that are unrelated to Git in /usr/bin
41+
and want to override them by having different ones in /usr/local/bin
42+
and have the latter directory earlier in their $PATH).
43+
44+
Also contains typofixes, documentation updates and trivial code
45+
clean-ups.

Documentation/git.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ unreleased) version of Git, that is available from the 'master'
4343
branch of the `git.git` repository.
4444
Documentation for older releases are available here:
4545

46-
* link:v2.4.1/git.html[documentation for release 2.4.1]
46+
* link:v2.4.2/git.html[documentation for release 2.4.2]
4747

4848
* release notes for
49+
link:RelNotes/2.4.2.txt[2.4.2],
4950
link:RelNotes/2.4.1.txt[2.4.1],
5051
link:RelNotes/2.4.0.txt[2.4].
5152

0 commit comments

Comments
 (0)