- 16 Dec, 2014 1 commit
-
-
When turning UTF-8 paths into UCS-2 paths for Windows, always use the \\?\-prefixed paths. Because this bypasses the system's path canonicalization, handle the canonicalization functions ourselves. We must: 1. always use a backslash as a directory separator 2. only use a single backslash between directories 3. not rely on the system to translate "." and ".." in paths 4. remove trailing backslashes, except at the drive root (C:\)
Edward Thomson committed
-
- 10 Dec, 2014 19 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
Fold `git_push_unpack_ok()` into `git_push_finish()`
Edward Thomson committed -
This should make it clearer what the return value implies.
Carlos Martín Nieto committed -
The push cannot be successful if we sent a bad packfile. We should return an error in that case instead of storing it elsewhere.
Carlos Martín Nieto committed -
Introduce stackable IO streams
Edward Thomson committed -
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Minor Readme improvments
Carlos Martín Nieto committed -
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
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 committed -
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 committed -
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Win32 leaks
Carlos Martín Nieto committed -
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 committed -
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.
Carlos Martín Nieto committed
-
- 09 Dec, 2014 5 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
Update clar to e3985dd
Edward Thomson committed
-
- 08 Dec, 2014 1 commit
-
-
Fix broken tests on Windows
Edward Thomson committed
-
- 07 Dec, 2014 4 commits
-
-
Linquize committed
-
Linquize committed
-
Linquize committed
-
Fix negative ignores withing ignored dirs
Edward Thomson committed
-
- 06 Dec, 2014 6 commits
-
-
doc: add documentation to all the public structs and enums
Edward Thomson committed -
Adjust the local transport for the common refspec parser
Edward Thomson committed -
Notes API consistency fixes
Edward Thomson committed -
The iterator is the last argument. There is also no returned notes, just ids, so the comment about freeing is out of place.
Carlos Martín Nieto committed -
Make it consistent between git_note_create() and git_note_remote() by putting it after the repository.
Carlos Martín Nieto committed -
This makes them show up in the reference, even if the text itself isn't the most descriptive. These have been found with grep -Przon '\n\ntypedef struct.*?\{' -- include grep -Przon '\n\ntypedef enum.*?\{' -- include
Carlos Martín Nieto committed
-
- 05 Dec, 2014 4 commits
-
-
A rule can only negate something which was explicitly mentioned in the rules before it. Change our parsing to ignore a negative rule which does not negate something mentioned in the rules above it. While here, fix a wrong allocator usage. The memory for the match string comes from pool allocator. We must not free it with the general allocator. We can instead simply forget the string and it will be cleaned up.
Carlos Martín Nieto committed -
Given top !top/foo in an ignore file, we should not unignore top/foo. This is an implementation detail of the git code leaking, but that's the behaviour we should show. A negation rule can only negate an exact rule it has seen before.
Carlos Martín Nieto committed -
This is not our code and it adds unecessary changes from the upstream code.
Carlos Martín Nieto committed -
Spelling fixes
nulltoken committed
-