Use cl_assert_equal_s() instead of strcmp().

Replaced all cl_assert(!strcmp()) or semantically equivalent forms
by cl_assert_equal_s().
Improve valgrind suppressions
Merge pull request #1281 from phkelley/valgrind

Improve valgrind suppressions
Merge pull request #1278 from sba1/cl-assert-equal-s

Use cl_assert_equal_s() instead of strcmp().
Expand valgrind suppressions even more for libssl, libcrypto
Fix a mutex leak in pack.c
Fix fail clone local repository because can't found object

avoid use object which is already free

Signed-off-by: Frank Li <lznuaa@gmail.com>
Fix fail clone local repo which head detatched

Set head detach if can't found branch after download

Signed-off-by: Frank Li <lznuaa@gmail.com>
Vector improvements and their fallout
Merge pull request #1283 from lznuaa/master

Fix local repository clone failure
Fix 2 bugs in online::push tests.

- Fix stack corruption introduced in 9bccf33c due to passing pointer to
local variable _cred_acquire_called.
- Fix strcmp in do_verify_push_status when expected or actual push_status
  is NULL
Added git_treebuilder_entrycount

Conflicts:
	src/tree.c
Merge pull request #1289 from jwiegley/development

Added git_treebuilder_entrycount
Fix p_realpath on OpenBSD

OpenBSD's realpath(3) doesn't require the last part of the path to
exist. Override p_realpath in this OS to bring it in line with the
library's assumptions.
Test buf join with NULL behavior explicitly
Implement config key validation rules

This is a new implementation of core git's config key checking
rules that prevents non-alphanumeric characters (and '-') for
the top-level section and key names inside of config files.

This also validates the target section name when renaming
sections.
Test config name validation

This is @nulltoken's work to test various invalid config section
and key names and make sure we are validating properly.
Now with no multiply
Merge pull request #1285 from phkelley/vector

Vector improvements and their fallout
Merge pull request #1295 from carlosmn/obsd

Fix p_realpath on OpenBSD