This commit is contained in:
Junio C Hamano 2015-08-28 12:32:45 -07:00
Родитель e6837c8b43 c415fb791b
Коммит aecce6d0ef
3 изменённых файлов: 19 добавлений и 2 удалений

Просмотреть файл

@ -45,5 +45,21 @@ Fixes since v2.5
stable, which was a no-no. Apply a workaround to force a
particular date format.
* "git clone $URL" in recent releases of Git contains a regression in
the code that invents a new repository name incorrectly based on
the $URL. This has been corrected.
(merge db2e220 jk/guess-repo-name-regression-fix later to maint).
* Running tests with the "-x" option to make them verbose had some
unpleasant interactions with other features of the test suite.
(merge 9b5fe78 jk/test-with-x later to maint).
* "git pull" in recent releases of Git has a regression in the code
that allows custom path to the --upload-pack=<program>. This has
been corrected.
* pipe() emulation used in Git for Windows looked at a wrong variable
when checking for an error from an _open_osfhandle() call.
Also contains typofixes, documentation updates and trivial code
clean-ups.

Просмотреть файл

@ -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.5.0/git.html[documentation for release 2.5]
* link:v2.5.1/git.html[documentation for release 2.5.1]
* release notes for
link:RelNotes/2.5.1.txt[2.5.1],
link:RelNotes/2.5.0.txt[2.5].
* link:v2.4.8/git.html[documentation for release 2.4.8]

Просмотреть файл

@ -681,7 +681,7 @@ int pipe(int filedes[2])
return -1;
}
filedes[1] = _open_osfhandle((int)h[1], O_NOINHERIT);
if (filedes[0] < 0) {
if (filedes[1] < 0) {
close(filedes[0]);
CloseHandle(h[1]);
return -1;