Update remote tips on push
Merge pull request #1250 from jamill/push_update_tips

Update remote tips on push
Leak cleanup in push tests
index: Speed up loading a tree into the index

The index is empty; repeated tree entries cannot collide.

cc github/gitrpc#83
Added git_branch_name().

This is a convenience function to get the branch name of a given
ref. The returned branch name is compatible with the name that can
be supplied e.g. to git_branch_lookup(). That is, the prefixes
"refs/heads" or "refs/remotes" are omitted.

Also added a new test for testing the new function.
Merge pull request #1277 from sba1/branch-name

Add git_branch_name()
Use cl_assert_equal_s() instead of strcmp().

Replaced all cl_assert(!strcmp()) or semantically equivalent forms
by cl_assert_equal_s().
clone: Prevent segfault upon faulted remote creation
tests-clar: ifdef GIT_WIN32 win helper functions
config: support trailing backslashes

Check whether the backslash at the end of the line is being escaped or
not so as not to consider it a continuation marker when it's e.g. a
Windows-style path.
Merge pull request #1280 from nulltoken/fix/clone-segfault

clone: Prevent segfault upon faulted remote creation
Merge pull request #1279 from carlosmn/config-trailing-backslash

config: support trailing backslashes
Fix 3 memory leaks
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>