- Dec 31, 2014
-
-
Carlos Martín Nieto authored
-
- Dec 15, 2014
-
-
Carlos Martín Nieto authored
-
Carlos Martín Nieto authored
This option does not get persisted to disk, which makes it different from the rest of the setters. Remove it until we go all the way. We still respect the configuration option, and it's still possible to perform a one-time prune by calling the function.
-
Carlos Martín Nieto authored
-
Carlos Martín Nieto authored
For each remote-tracking branch we want to remove, we need to consider it against every other refspec in case we have overlapping refspecs, such as with refs/heads/*:refs/remotes/origin/* refs/pull/*/head:refs/remotes/origin/pr/* as we'd otherwise remove too many refspecs. Create a list of condidates, which are the references matching the rhs of any active refspec and then filter that list by removing those entries for which we find a remove reference with any active refspec. Those which are left after this are removed.
-
Carlos Martín Nieto authored
This makes a fetch+prune more similar to a connect+prune and makes it more likely that we see errors in the decision to prune a reference.
-
Carlos Martín Nieto authored
This is hiding a bug in the prune code, whereby we prune references we shouldn't but don't notice it in the code afterwards because update_tips() recreates them. This means that we do perform changes to the references (and get rid of the reflogs) when we shouldn't.
-
Carlos Martín Nieto authored
We load the remote again, so we need to ask the new remote to prune the refs, or we're not exercising the code in our tests.
-
David Calavera authored
-
David Calavera authored
-
David Calavera authored
-
David Calavera authored
-
David Calavera authored
-
David Calavera authored
-
Linquize authored
-
Linquize authored
-
- Dec 11, 2014
-
-
Edward Thomson authored
Fold `git_push_unpack_ok()` into `git_push_finish()`
-
Carlos Martín Nieto authored
This should make it clearer what the return value implies.
-
Carlos Martín Nieto authored
The push cannot be successful if we sent a bad packfile. We should return an error in that case instead of storing it elsewhere.
-
Edward Thomson authored
Introduce stackable IO streams
-
- Dec 10, 2014
-
-
Carlos Martín Nieto authored
-
Carlos Martín Nieto authored
-
Carlos Martín Nieto authored
Minor Readme improvments
-
nulltoken authored
-
nulltoken authored
-
nulltoken authored
-
Carlos Martín Nieto authored
Most of the network-facing facilities have been copied to the socket and openssl streams. No code now uses these functions directly anymore, so we can now remove them.
-
Carlos Martín Nieto authored
Having an ssh stream would require extra work for stream capabilities we don't need anywhere else (oob auth and command execution) so for now let's move away from the gitno connection to use socket_stream. We can introduce an ssh stream interface if and as we need it.
-
Carlos Martín Nieto authored
-
Carlos Martín Nieto authored
-
Carlos Martín Nieto authored
Win32 leaks
-
Carlos Martín Nieto authored
This unfortunately isn't as stackable as could be possible, as it hard-codes the socket stream. This is because the method of using a custom openssl BIO is not clear, and we do not need this for now. We can still bring this in if and as we need it.
-
Carlos Martín Nieto authored
We currently have gitno for talking over TCP, but this needs to know about both plaintext and OpenSSL connections and the code has gotten somewhat messy with ifdefs determining which version of the function should be called. In order to clean this up and abstract away the details of sending over the different types of streams, we can instead use an interface and stack stream implementations. We may not be able to use the stackability with all streams, but we are definitely be able to use the abstraction which is currently spread between different bits of gitno.
-
Edward Thomson authored
-
Edward Thomson authored
-
Edward Thomson authored
-
Edward Thomson authored
-
- Dec 09, 2014
-
-
Edward Thomson authored
Update clar to e3985dd
-
Edward Thomson authored
Fix broken tests on Windows
-
- Dec 07, 2014
-
-
Linquize authored
-