git_branch_delete() only frees the handle upon success.
When given a size and no path, we know that we do not need to buffer the content or apply any filters, so we can create an write-stream into the object database and put in our content directly, avoiding the temporary file and callbacks altogether.
ObjectDatabase.CreateBlob() accepts a number of bytes to read. It currently however treats this as a max, rather than a hard size, which seems ripe for introducing bugs. Assert that we should throw when asked to read too much from a Stream.
libgit2/libgit2@06d772d...58eea5e Configuration: Use snapshot for Get/Find calls. Thanks @carlosmn. Merge: Keep track of new MergePreference. StatusFixture: change expectations for star-ignore When passing bin/* newer libgit2 considers that as ignoreing the bin/ directory and thus won't give us its contents unless we pass in the RecurseIgnoredDirs option. Done by @carlosmn.
Expose this option to have the status go into ignored directories.
As travis-ci/travis-ci#2205 is fixed, we don't need the $TRAVIS_OS_UNAME variable any longer.
Add CanListRemoteReferencesWithCredentials() test.
Checkout methods now use CheckoutOptions Merge now takes several options: - Option to specify what is checked out for file conflicts. - Report CheckoutProgress and CheckoutNotify - Option to specify MergeFileFavor Updates for code review feedback
in RepositoryFixture Updated Repository.Version documentation Updated Repository.Version test regex now checks each group. Fixes #696
Deprecated ReferenceCollection.IsValidName(string) . Updated Test . Fixes #680 Fixed typo in [Obsolete] tag. Rebase into current vNext.
Introduced NativeMethods.Capabilities . Added CanCreateValidVersionString() test . Displaced NativeMethods CompiledFeatures to Proxy Remove irrelevant region on Proxy Make Proxy.get_compiled_features match get_libgit2_features . Add mising [Flags] tag on GitBuiltInFeatures . Remote trailling whitespace in Proxy Resolves #676
Deprecate RemoteCollection.IsValidName(string). Update test CanTellIfARemoteNameIsValid(string, bool). Fixes #679
Doing a simple copy of the byte array is a lot faster than using Marshal.PtrToStructure.