- 28 May, 2015 6 commits
-
-
Fill the pointers for matching refspecs
Edward Thomson committed -
Tackle remote API issues from bindings
Carlos Martín Nieto committed -
These are updates, same as the rest, we should call this callback. As we are using the callback, let's make sure to skip unnecessary updates.
Carlos Martín Nieto committed -
When we moved from acting on the instance to acting on the configuration, we dropped the validation of the passed refspec, which can lead to writing an invalid refspec to the configuration. Bring that validation back.
Carlos Martín Nieto committed -
An anonymous remote is not configured and cannot therefore have configured refspecs. Remove the parameter which adds this from the constructor.
Carlos Martín Nieto committed -
Fix ident replacement to match Git behavior
Carlos Martín Nieto committed
-
- 26 May, 2015 1 commit
-
-
Git inserts a space after the SHA1 (as of 2.1.4 at least), so do the same.
Colomban Wendling committed
-
- 22 May, 2015 7 commits
-
-
Thin packs: don't
Carlos Martín Nieto committed -
When thickening a pack, avoid loading already loaded bases and trying to insert them all over again.
Edward Thomson committed -
When creating an index, know that we do not have an index for our own packfile, preventing some unnecessary file opens and error reporting.
Edward Thomson committed -
openssl: don't try to handle WANT_READ or WANT_WRITE
Edward Thomson committed -
Carlos Martín Nieto committed
-
When we look for which remote corresponds to a remote-tracking branch, we look in the refspecs to see which ones matches. If none do, we should abort. We currently ignore the error message from this operation, so let's not do that anymore. As part of the test we're writing, let's test for the expected behaviour if we cannot find a refspec which tells us what the remote-tracking branch for a remote would look like.
Carlos Martín Nieto committed -
When we find out that we're dealing with a matching refspec, we set the flag and return immediately. This leaves the strings as NULL, which breaks the contract. Assign these pointers to a string with the correct values.
Carlos Martín Nieto committed
-
- 21 May, 2015 7 commits
-
-
Carlos Martín Nieto committed
-
Cristian Oneț committed
-
Fix error when building as C++.
Carlos Martín Nieto committed -
index_add_all: include untracked files in new subdirs
Carlos Martín Nieto committed -
No need to get reports about individual ignored files, having a single ignored directory delta is enough.
Edward Thomson committed -
ignore: clear the error when matching a pattern negation
Edward Thomson committed -
Edward Thomson committed
-
- 20 May, 2015 6 commits
-
-
Jason Haslam committed
-
When we discover that we want to keep a negative rule, make sure to clear the error variable, as it we otherwise return whatever was left by the previous loop iteration.
Carlos Martín Nieto committed -
Our doc parser really wants the types to be declared in the header it's reading.
Carlos Martín Nieto committed -
Improve server error reporting
Carlos Martín Nieto committed -
This can be used by tools to show mesages about failing to communicate with the server. The error message in this case will often contain the server's error message, as far as it managed to send anything.
Carlos Martín Nieto committed -
When we fail to read from stdout, it's typically because the URL was wrong and the server process has sent some output over its stderr output. Read that output and set the error message to whatever we read from it.
Carlos Martín Nieto committed
-
- 19 May, 2015 2 commits
-
-
Use a diff for iteration in index_update_all and index_add_all
Edward Thomson committed -
Provide error messages for git_path_direach operations
Edward Thomson committed
-
- 17 May, 2015 4 commits
-
-
We set an error if we get an error when reading, but we don't bother setting an error message for write failing. This causes a cryptic error to be shown to the user when the target filesystem is full.
Carlos Martín Nieto committed -
These were left over from the culling as it's not clear which use-cases might benefit from this. It is not clear that we want to support any use-case which depends on changing the remote's idea of the base refspecs rather than passing in different per-operation refspec list, so remove these functions.
Carlos Martín Nieto committed -
The code used to rely on the clone code calling the remote's save, which does not happen anymore, meaning that the configuration settings the remote expected were not being written to disk. The run-time configuration was still being affected, so the right branch was being cloned. The tests continued to pass as we did not check for the configuration entires. Fix this by creating the remote with the single-branch refspec we want and checking for its existence in the configuration.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
- 15 May, 2015 3 commits
-
-
Now that `git_path_direach` lets us specify an error message to report, set an appropriate error message while linking.
Carlos Martín Nieto committed -
This function deals with functions doing IO which means the amount of errors that can happen is quit large. It does not help if it always ovewrites the underlying error message with a less understandable version of "something went wrong". Instead, only use this generic message if there was no error set by the callback.
Carlos Martín Nieto committed -
Updated dlibgit link.
Carlos Martín Nieto committed
-
- 14 May, 2015 4 commits
-
-
Bring Early EOF message in line with the other two
Carlos Martín Nieto committed -
Morton Fox committed
-
Marius Ungureanu committed
-
Carlos Martín Nieto committed
-