[ANNOUNCE] Git v2.6.5

From: Junio C Hamano
Date: Mon Jan 04 2016 - 18:43:58 EST

The latest maintenance release Git v2.6.5 is now available at
the usual places.

The tarballs are found at:


The following public repositories all have a copy of the 'v2.6.5'
tag and the 'maint' branch that the tag points at:

url = https://kernel.googlesource.com/pub/scm/git/git
url = git://repo.or.cz/alt-git.git
url = git://git.sourceforge.jp/gitroot/git-core/git.git
url = git://git-core.git.sourceforge.net/gitroot/git-core/git-core
url = https://github.com/gitster/git


Git v2.6.5 Release Notes

Fixes since v2.6.4

* Because "test_when_finished" in our test framework queues the
clean-up tasks to be done in a shell variable, it should not be
used inside a subshell. Add a mechanism to allow 'bash' to catch
such uses, and fix the ones that were found.

* Update "git subtree" (in contrib/) so that it can take whitespaces
in the pathnames, not only in the in-tree pathname but the name of
the directory that the repository is in.

* Cosmetic improvement to lock-file error messages.

* mark_tree_uninteresting() has code to handle the case where it gets
passed a NULL pointer in its 'tree' parameter, but the function had
'object = &tree->object' assignment before checking if tree is
NULL. This gives a compiler an excuse to declare that tree will
never be NULL and apply a wrong optimization. Avoid it.

* The helper used to iterate over loose object directories to prune
stale objects did not closedir() immediately when it is done with a
directory--a callback such as the one used for "git prune" may want
to do rmdir(), but it would fail on open directory on platforms
such as WinXP.

* "git p4" used to import Perforce CLs that touch only paths outside
the client spec as empty commits. It has been corrected to ignore
them instead, with a new configuration git-p4.keepEmptyCommits as a
backward compatibility knob.

* The exit code of git-fsck did not reflect some types of errors
found in packed objects, which has been corrected.

* The completion script (in contrib/) used to list "git column"
(which is not an end-user facing command) as one of the choices

* Improve error reporting when SMTP TLS fails.

* When getpwuid() on the system returned NULL (e.g. the user is not
in the /etc/passwd file or other uid-to-name mappings), the
codepath to find who the user is to record it in the reflog barfed
and died. Loosen the check in this codepath, which already accepts
questionable ident string (e.g. host part of the e-mail address is
obviously bogus), and in general when we operate fmt_ident() function
in non-strict mode.

* "git symbolic-ref" forgot to report a failure with its exit status.

* History traversal with "git log --source" that starts with an
annotated tag failed to report the tag as "source", due to an
old regression in the command line parser back in v2.2 days.

Also contains typofixes, documentation updates and trivial code


Changes since v2.6.4 are as follows:

Alexey Shumkin (2):
t7900-subtree: test the "space in a subdirectory name" case
contrib/subtree: respect spaces in a repository path

Charles Bailey (1):
t3404: fix quoting of redirect for some versions of bash

Christian Couder (1):
Documentation/git-update-index: add missing opts to synopsis

David Turner (1):
verify_pack: do not ignore return value of verification function

Elia Pinto (1):
ident.c: add support for IPv6

Jeff King (7):
ident: make xgetpwuid_self() a static local helper
ident: keep a flag for bogus default_email
ident: loosen getpwuid error in non-strict mode
ident: fix undefined variable when NO_IPV6 is set
revision.c: propagate tag names from pending array
symbolic-ref: propagate error code from create_symref()
t1401: test reflog creation for git-symbolic-ref

Johannes Sixt (1):
prune: close directory earlier during loose-object directory traversal

John Keeping (6):
t7610: don't use test_config in a subshell
t5801: don't use test_when_finished in a subshell
test-lib-functions: support "test_config -C <dir> ..."
t7800: don't use test_config in a subshell
test-lib-functions: detect test_when_finished in subshell
send-email: enable SSL level 1 debug output

Junio C Hamano (3):
Prepare for 2.6.5
Update draft release notes to 2.6.5
Git 2.6.5

Lars Schneider (1):
git-p4: add option to keep empty commits

Nguyán ThÃi Ngác Duy (1):
git-check-ref-format.txt: typo, s/avoids/avoid/

Renà Scharfe (2):
use pop_commit() for consuming the first entry of a struct commit_list
show-branch: use argv_array for default arguments

SZEDER GÃbor (3):
Make error message after failing commit_lock_file() less confusing
completion: remove 'git column' from porcelain commands
credential-store: don't pass strerror to die_errno()

Stefan Beller (1):
document submodule sync --recursive

Stefan Naewe (1):
revision.c: fix possible null pointer arithmetic

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/