- 02 Jul, 2014 5 commits
-
-
Provide a callback to customize the repository on clone
Vicent Marti committed -
ssh: libssh2_channel_write() behaves like send()
Vicent Marti committed -
When the stream writing function was written, it assume that libssh2_channel_write() would always write all of the data to the wire. This is only true for the first 32k of data, which it tries to fit into one ssh packet. Since it can perform short writes, call it in a loop like we do for send(), advancing the buffer offset.
Carlos Martín Nieto committed -
As git_clone now has callbacks to configure the details of the repository and remote, remove the lower-level functions from the public API, as they lack some of the logic from git_clone proper.
Carlos Martín Nieto committed -
Analogously to the remote creation callback, provide a way for the user of git_clone() to create the repository with whichever options they desire via callback.
Carlos Martín Nieto committed
-
- 01 Jul, 2014 1 commit
-
-
Round up pool alloc sizes for alignment
Vicent Marti committed
-
- 30 Jun, 2014 2 commits
-
-
To make sure that items returned from pool allocations are aligned on nice boundaries, this rounds up all pool allocation sizes to a multiple of 8. This adds a small amount of overhead to each item. The rounding up could be made optional with an extra parameter to the pool initialization that turned on rounding only for pools where item alignment actually matters, but I think for the extra code and complexity that would be involved, that it makes sense just to burn a little bit of extra memory and enable this all the time.
Russell Belfer committed -
Improvements to git_transport extensibility
Vicent Marti committed
-
- 27 Jun, 2014 3 commits
-
-
Fix assert when receiving uncommon sideband packet
Vicent Marti committed -
Philip Kelley committed
-
git_remote_set_transport now takes a transport factory rather than a transport git_clone_options now allows the caller to specify a remote creation callback
Philip Kelley committed
-
- 26 Jun, 2014 4 commits
-
-
checkout::conflict tests: only test owner mode
Vicent Marti committed -
The checkout::conflict type conflict tests were failing because they were overly assertive about the resultant mode, testing group & other bits, which failed miserably for people who had a umask less restrictive than 022. Only test the resultant owner bits.
Edward Thomson committed -
Fixes #2443 Zero size arrays are an extension
Philip Kelley committed -
Philip Kelley committed
-
- 25 Jun, 2014 8 commits
-
-
Fix a couple of leaks
Vicent Marti committed -
Set a message when we fail to lock. Also make the put function void, since it's called from free, which cannot report errors. The only errors we can experience here are internal state corruption, so we assert that we are trying to put a pack which we have previously got.
Carlos Martín Nieto committed -
As reported by coverity, we would leak some memory in error conditions.
Carlos Martín Nieto committed -
If we fail to insert the packfile in the map, make sure to free it. This makes the free function only attempt to remove its mwindows from the global list if we have opened the packfile to avoid accessing the list unlocked.
Carlos Martín Nieto committed -
We need to tell Travis to build the master branch or it won't build it or the pull requests.
Carlos Martín Nieto committed -
Update text=auto / core.autocrlf=false behavior
Vicent Marti committed -
Export git_revert_commit
Vicent Marti committed -
Edward Thomson committed
-
- 24 Jun, 2014 8 commits
-
-
Git for Windows 1.9.4 changed the behavior when the text=auto attribute is specified and core.autocrlf=false. Previous observed behavior would *not* filter files when going into the working directory, the new behavior *does* filter. Update our behavior to match.
Edward Thomson committed -
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Update CONTRIBUTING and PROJECTS
Vicent Marti committed
-
- 23 Jun, 2014 4 commits
-
-
When checking out files, we're performing conversion into the user's native line endings, but we only want to do it for files which have consistent line endings. Refuse to perform the conversion for mixed-EOL files. The CRLF->LF filter is left as-is, as that conversion is considered to be normalization by git and should force a conversion of the line endings.
Carlos Martín Nieto committed -
Opening the same repository multiple times will currently open the same file multiple times, as well as map the same region of the file multiple times. This is not necessary, as the packfile data is immutable. Instead of opening and closing packfiles directly, introduce an indirection and allocate packfiles globally. This does mean locking on each packfile open, but we already use this lock for the global mwindow list so it doesn't introduce a new contention point.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
- 20 Jun, 2014 3 commits
-
-
Russell Belfer committed
-
This updates CONTRIBUTING to reflect the changes to use the master branch and make explicit recommendations about updating CHANGELOG.md and providing test coverage. Also, this includes some old updates to PROJECTS.md that I wrote to expand the list of projects, pulling in things from old feature requests.
Russell Belfer committed -
Vicent Marti committed
-
- 16 Jun, 2014 1 commit
-
-
Don't use read-write accounts for the tests
Vicent Marti committed
-
- 14 Jun, 2014 1 commit
-
-
netops: init OpenSSL once under lock
Vicent Marti committed
-