- 31 Aug, 2015 1 commit
-
-
Some nicer refactoring for index iteration walks. The index iterator doesn't binary search through the pathlist space, since it lacks directory entries, and would have to binary search each index entry and all its parents (eg, when presented with an index entry of `foo/bar/file.c`, you would have to look in the pathlist for `foo/bar/file.c`, `foo/bar` and `foo`). Since the index entries and the pathlist are both nicely sorted, we walk the index entries in lockstep with the pathlist like we do for other iteration/diff/merge walks.
Edward Thomson committed
-
- 30 Aug, 2015 5 commits
-
-
Now that non-pathspec matching diffs are implemented at the iterator level, drop `FILELIST_MATCH`ing.
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
When using literal pathspecs in diff with `GIT_DIFF_DISABLE_PATHSPEC_MATCH` turn on the faster iterator pathlist handling. Updates iterator pathspecs to include directory prefixes (eg, `foo/`) for compatibility with `GIT_DIFF_DISABLE_PATHSPEC_MATCH`.
Edward Thomson committed
-
- 29 Aug, 2015 1 commit
-
-
Document that `GIT_DIFF_PATHSPEC_DISABLE` is not necessarily about explicit path matching, but also includes matching of directory names. Enforce this in a test.
Edward Thomson committed
-
- 28 Aug, 2015 4 commits
-
-
When given a pathlist, don't assume that directories sort before files. Walk through any list of entries sorting before us to make sure that we've exhausted all entries that *aren't* directories. Eg, if we're searching for 'foo/bar', and we have a 'foo.c', keep advancing the pathlist to keep looking for an entry prefixed with 'foo/'.
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
- 26 Aug, 2015 2 commits
-
-
Fix a typo [ci skip]
Edward Thomson committed -
Arthur Schreiber committed
-
- 25 Aug, 2015 2 commits
-
-
COPYING: include winhttp definition copyright
Carlos Martín Nieto committed -
Include the copyright notice from the deps/winhttp/ sources. Move the LGPL to the bottom of the file (since multiple dependencies are LGPL licensed) and include the actual copyright notices from the regex sources.
Edward Thomson committed
-
- 24 Aug, 2015 1 commit
-
-
Include the 4 characters not recognised as hex-number in parse_len
Carlos Martín Nieto committed
-
- 20 Aug, 2015 2 commits
-
-
transport: provide a way to get the callbacks
Carlos Martín Nieto committed -
CMake: fall back to OpenSSL on older OS X
Carlos Martín Nieto committed
-
- 19 Aug, 2015 3 commits
-
-
Starting at OS X 10.8, the Security framework offers some functions which are unified across OS X and iOS. These are the functions that we use. Older versions of OS X do not have these functions and we fail to compile. In these situations, fall back to using OpenSSL for our TLS stream instead.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
libgit2 implementations of smart subtransports can simply reach through the structure, but external implementors cannot. Add these two functions as a way for the smart subtransports to get the callbacks as set by the user.
Carlos Martín Nieto committed
-
- 18 Aug, 2015 1 commit
-
-
Fix build warning: implicit declaration of function ‘git_transaction_config_new’
Carlos Martín Nieto committed
-
- 17 Aug, 2015 2 commits
-
-
Leo Yang committed
-
Anders Borum committed
-
- 15 Aug, 2015 5 commits
-
-
Fix bug in git_smart__push: push_transfer_progress cb is only called at end
Edward Thomson committed -
diff: don't error out on an invalid regex
Edward Thomson committed -
http: propagate the credentials callback's error code
Edward Thomson committed -
When parsing user-provided regex patterns for functions, we must not fail to provide a diff just because a pattern is not well formed. Ignore it instead.
Carlos Martín Nieto committed -
When we ask for credentials, the user may choose to return EUSER to indicate that an error has happened on its end and it wants to be given back control. We must therefore pass that back to the user instead of mentioning that it was on_headers_complete() that returned an error code. Since we can, we return the exact error code from the user (other than PASSTHROUGH) since it doesn't cost anything, though using other error codes aren't recommended.
Carlos Martín Nieto committed
-
- 14 Aug, 2015 2 commits
-
-
curl: use the most secure auth method for the proxy
Carlos Martín Nieto committed -
The conditional checked cbs->transfer_progress then used the value in cbs->push_transfer_progress. In both cases it should be push_transfer_progress
Dan Leehr committed
-
- 13 Aug, 2015 1 commit
-
-
Locking and transactional/atomic updates for config
Edward Thomson committed
-
- 12 Aug, 2015 6 commits
-
-
remote: don't confuse tag auto-follow rules with refspec matching
Edward Thomson committed -
This makes the API for commiting or discarding changes the same as for references.
Carlos Martín Nieto committed -
This lock/unlock pair allows for the cller to lock a configuration file to avoid concurrent operations. It also allows for a transactional approach to updating a configuration file. If multiple updates must be made atomically, they can be done while the config is locked.
Carlos Martín Nieto committed -
When a configuration file is locked, any updates made to it will be done to the in-memory copy of the file. This allows for multiple updates to happen while we hold the lock, preventing races during complex config-file manipulation.
Carlos Martín Nieto committed -
Instead of writing into the filebuf directly, make the functions to write the modified config file write into a buffer which can then be dumped into the lockfile for committing. This allows us to re-use the same code for modifying a locked configuration, as we can simply skip the last step of dumping the data to disk.
Carlos Martín Nieto committed -
Forcing libssh2 lib location in CMake
Carlos Martín Nieto committed
-
- 11 Aug, 2015 2 commits
-
-
When we're looking to update a tag, we can't stop if the tag auto-follow rules don't say to update it. The tag might still match the refspec we were given.
Carlos Martín Nieto committed -
While we download the remote's remote-tracking branches, we don't download the tag. This points to the tag auto-follow rules interfering with the refspec.
Carlos Martín Nieto committed
-