- 23 May, 2014 1 commit
-
-
We go through the different backends in order, so it's not an error if at least one of the backends has the data we want.
Carlos Martín Nieto committed
-
- 22 May, 2014 6 commits
-
-
Carlos Martín Nieto committed
-
We have too many places where we repeat free code, so when adding the new free to the generic code, it didn't take for the local transport. While there, fix a C99-ism that sneaked through.
Carlos Martín Nieto committed -
Add support for the symref extension
Vicent Marti committed -
Make core.safecrlf not generate an error on LF-ending platforms
Vicent Marti committed -
Include windows.h on win32 for Sleep
Vicent Marti committed -
Edward Thomson committed
-
- 21 May, 2014 8 commits
-
-
smart: send a flush when we disconnect
Vicent Marti committed -
Since we no longer need to push data to callbacks, there's no need for this truct.
Carlos Martín Nieto committed -
Let's use the remote's default branch guessing instead of reinventing one ourselves with callbacks.
Carlos Martín Nieto committed -
If the remote supports the symref protocol extension, then we return that, otherwise we guess with git's rules.
Carlos Martín Nieto committed -
When using the local transport, we always have the symbolic information available, so fill it.
Carlos Martín Nieto committed -
Add a symref_target field to git_remote_head to expose the symref mappings to the user.
Carlos Martín Nieto committed -
The protocol has a capability which allows the server to tell us which refs are symrefs, so we can e.g. know which is the default branch. This capability is different from the ones we already support, as it's not setting a flag to true, but requires us to store a list of refspec-formatted mappings. This commit does not yet expose the information in the reference listing.
Carlos Martín Nieto committed -
Minor fix for cmn/clone-into-mirror.
Carlos Martín Nieto committed
-
- 20 May, 2014 3 commits
-
-
A recently added check might skip initialization of old_fetchhead and go directly to cleanup. So, destruct in the opposite order of construction.
Albert Meltzer committed -
Carlos Martín Nieto committed
-
The git server wants to hear a flush from us when we disconnect, particularly when we want to perform a fetch but are up to date.
Carlos Martín Nieto committed
-
- 19 May, 2014 10 commits
-
-
Russell Belfer committed
-
If you enabled core.safecrlf on an LF-ending platform, we would error even for files with all LFs. We should only be warning on irreversible mappings, I think.
Russell Belfer committed -
Restore attributions for fnmatch
Vicent Marti committed -
Martin Woodward committed
-
Allow mirror-clone via `git_clone_into()`
Vicent Marti committed -
We set up the current branch after we fetch from the remote. This means that the user's refspec may have already created this reference. It is therefore not an error if we cannot create the branch because it already exists. This allows for the user to replicate git-clone's --mirror option.
Carlos Martín Nieto committed -
Instead of changing the user-provided remote, duplicate it so we can add the extra refspec without having to worry about unsetting it before returning.
Carlos Martín Nieto committed -
Show a failure to perform a mirror-clone from a repository, both local and remote.
Carlos Martín Nieto committed -
message: don't assume the comment char
Vicent Marti committed -
WIP: Windows fixes
Vicent Marti committed
-
- 18 May, 2014 3 commits
-
-
Fix warning on uninitialized variable.
Philip Kelley committed -
Albert Meltzer committed
-
The comment char is configurable and we need to provide a way for the user to specify which comment char they chose for their message.
Carlos Martín Nieto committed
-
- 17 May, 2014 5 commits
-
-
Philip Kelley committed
-
Philip Kelley committed
-
Philip Kelley committed
-
Philip Kelley committed
-
Test and fix Git diff binary detection compatibility
Vicent Marti committed
-
- 16 May, 2014 4 commits
-
-
Windows has its own ftruncate() called _chsize_s(). p_mkstemp() is changed to use p_open() so we can make sure we open for writing; the addition of exclusive create is a good thing to do regardless, as we want a temporary path for ourselves. Lastly, MSVC doesn't quite know how to add two numbers if one of them is a void pointer, so let's alias it to unsigned char.C
Carlos Martín Nieto committed -
Some OSs cannot keep their ideas about file content straight when mixing standard IO with file mapping. As we use mmap for reading from the packfile, let's make writing to the pack file use mmap.
Carlos Martín Nieto committed -
A variety of data patterns for diffs verified to match the behavior of binary detection with Git on the command line.
Russell Belfer committed -
Russell Belfer committed
-