Skip to content

Commit

Permalink
Git 2.4.2
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
gitster committed May 26, 2015
1 parent df08eb3 commit 9eabf5b
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 3 deletions.
45 changes: 45 additions & 0 deletions Documentation/RelNotes/2.4.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
Git v2.4.2 Release Notes
========================

Fixes since v2.4.1
------------------

* "git rev-list --objects $old --not --all" to see if everything that
is reachable from $old is already connected to the existing refs
was very inefficient.

* "hash-object --literally" introduced in v2.2 was not prepared to
take a really long object type name.

* "git rebase --quiet" was not quite quiet when there is nothing to
do.

* The completion for "log --decorate=" parameter value was incorrect.

* "filter-branch" corrupted commit log message that ends with an
incomplete line on platforms with some "sed" implementations that
munge such a line. Work it around by avoiding to use "sed".

* "git daemon" fails to build from the source under NO_IPV6
configuration (regression in 2.4).

* "git stash pop/apply" forgot to make sure that not just the working
tree is clean but also the index is clean. The latter is important
as a stash application can conflict and the index will be used for
conflict resolution.

* We have prepended $GIT_EXEC_PATH and the path "git" is installed in
(typically "/usr/bin") to $PATH when invoking subprograms and hooks
for almost eternity, but the original use case the latter tried to
support was semi-bogus (i.e. install git to /opt/foo/git and run it
without having /opt/foo on $PATH), and more importantly it has
become less and less relevant as Git grew more mainstream (i.e. the
users would _want_ to have it on their $PATH). Stop prepending the
path in which "git" is installed to users' $PATH, as that would
interfere the command search order people depend on (e.g. they may
not like versions of programs that are unrelated to Git in /usr/bin
and want to override them by having different ones in /usr/local/bin
and have the latter directory earlier in their $PATH).

Also contains typofixes, documentation updates and trivial code
clean-ups.
3 changes: 2 additions & 1 deletion Documentation/git.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ unreleased) version of Git, that is available from the 'master'
branch of the `git.git` repository.
Documentation for older releases are available here:

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

* release notes for
link:RelNotes/2.4.2.txt[2.4.2],
link:RelNotes/2.4.1.txt[2.4.1],
link:RelNotes/2.4.0.txt[2.4].

Expand Down
2 changes: 1 addition & 1 deletion GIT-VERSION-GEN
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

GVF=GIT-VERSION-FILE
DEF_VER=v2.4.1
DEF_VER=v2.4.2

LF='
'
Expand Down
2 changes: 1 addition & 1 deletion RelNotes

0 comments on commit 9eabf5b

Please sign in to comment.