- 20 May, 2015 2 commits
-
-
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 1 commit
-
-
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
-
- 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 13 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
-
Carlos Martín Nieto committed
-
Without this option, we would not be able to catch exec bit changes.
Carlos Martín Nieto committed -
Instead of going through each entry we have and re-adding, which may not even be correct for certain crlf options and has bad performance, use the function which performs a diff against the worktree and try to add and remove files from that list.
Carlos Martín Nieto committed -
Refactor so we look like the code we're replacing, which should also allow us to more easily inplement add-all.
Carlos Martín Nieto committed -
We currently iterate over all the entries and re-add them to the index. While this provides correctness, it is wasteful as we try to re-insert files which have not changed. Instead, take a diff between the index and the worktree and only re-add those which we already know have changed.
Carlos Martín Nieto committed -
Add tests for and fix push negotiation notification
Edward Thomson committed -
There was a copypasta error and the source and destination IDs were reversed.
Carlos Martín Nieto committed -
The functionality was meged without including tests, so let's add them now.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
- 13 May, 2015 19 commits
-
-
Attributes: don't match files for folders
Carlos Martín Nieto committed -
Use the packbuilder in local push
Edward Thomson committed -
Show progress during packing for the local transport
Edward Thomson committed -
odb: make the writestream's size a git_off_t
Edward Thomson committed -
Edward Thomson committed
-
The interesting one is the notification macro, which was returning directly on a soft-abort instead of going through the cleanup.
Carlos Martín Nieto committed -
This is useful to send to the client while we're performing the work. The reporting function has a force parameter which makes sure that we do send out the message of 100% completed, even if this comes before the next udpate window.
Carlos Martín Nieto committed -
Set a callback for the packbuilder so we can send the sideband messages to the caller, formatting them as git would.
Carlos Martín Nieto committed -
This lets us see what the server (or libgit2 locally) is doing, rather than having to stare at a non-moving screen.
Carlos Martín Nieto committed -
index: make the entries have more accurate sizes
Edward Thomson committed -
Get rid of libssh2 embedding
Edward Thomson committed -
submodule: add test initialising and cloning a repo
Edward Thomson committed -
odb: reverse the default backend priorities
Edward Thomson committed -
A couple of tests use the wrong remote to push to. We did not notice up to now because the local push would copy individual objects, and those already existed, so it became a no-op. Once we made local push create the packfile, it became noticeable that there was a new packfile where it didn't belong.
Carlos Martín Nieto committed -
Instead of copying each object individually, as we'd been doing, use the packbuilder which should be faster and give us some feedback. While performing this change, we can hook up the packbuilder's writing to the push progress so the caller knows how far along we are.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Remove the configuration state we keep in the remote
Carlos Martín Nieto committed -
We currently first look in the loose object dir and then in the packs for objects. When performing operations on recent history this has a higher likelihood of hitting, but when we deal with operations which look further back into the past, we start spending a large amount of time getting ENOTENT from `access`. Reversing the priorities means that long-running operations can get to their objects faster, as we can look at the index data we have in memory (or rather mapped) to figure out whether we have an object, which is faster than going out to the filesystem. The packed backend already implements an optimistic read algorithm by first looking at the packs we know about and only going out to disk to referesh if the object is not found which means that in the case where we do have the object (which will be in the majority for anything that traverses the graph) we can avoid going to to disk entirely to determine whether an object exists. Operations which look at recent history may take a slight impact, but these would be operations which look a lot less at object and thus take less time regardless.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-