- 28 Aug, 2013 1 commit
-
-
Edward Thomson committed
-
- 26 Aug, 2013 2 commits
-
-
refs: add git_reference_is_tag
Vicent Martí committed -
Nikolai Vladimirov committed
-
- 25 Aug, 2013 2 commits
-
-
push: small documentation fix
Vicent Martí committed -
Fraser Tweedale committed
-
- 24 Aug, 2013 2 commits
-
-
fix tests on FreeBSD
Vicent Martí committed -
238b7614 introduced a test for posix behaviour, but on FreeBSD some of the structs and constants used aren't defined in <arpa/inet.h>. Include the appropriate headers to get the tests working again on FreeBSD.
Fraser Tweedale committed
-
- 21 Aug, 2013 1 commit
-
-
Skip UTF-8 BOM in binary detection
Russell Belfer committed
-
- 19 Aug, 2013 17 commits
-
-
When a git_buf contains a UTF-8 BOM, the three bytes comprising that BOM are treated as unprintable characters. For a small git_buf, the three BOM characters overwhelm the printable characters. This is problematic when trying to check out a small file as the CR/LF filtering will not apply.
Edward Thomson committed -
Quiet down some warnings
Russell Belfer committed -
Edward Thomson committed
-
Fix p_inet_pton on windows
Ben Straub committed -
p_inet_pton on Windows should set errno properly for callers. Rewrite p_inet_pton to handle error cases correctly and add test cases to exercise this function.
Edward Thomson committed -
Use time(2) to get the time
Ben Straub committed -
We didn't use the added precision in gettimeofday, so remove it. This prevents us from having an unnecessary reimplementation on win32.
Edward Thomson committed -
Don't expose git_hash_ctx since it's internal
Ben Straub committed -
Carlos Martín Nieto committed
-
And doing so makes the mingw build choke.
Edward Thomson committed -
Carlos Martín Nieto committed
-
odb: move hashing to the frontend for streaming
Vicent Martí committed -
odb: Straighten oid prefix handling
Vicent Martí committed -
index: report when it's locked
Vicent Martí committed -
When implementing the ssh testing, the move to the script made it so the first test suite's exit code was ignored. Check whether the main tests fail and exit with an error in that case.
Carlos Martín Nieto committed -
Report the index being locked with its own error code in order to be able to differentiate, as a locked index is typically the result of a crashed process or concurrent access, both of which often require user intervention to fix.
Carlos Martín Nieto committed -
Bring Valgrind back!
Ben Straub committed
-
- 18 Aug, 2013 2 commits
- 17 Aug, 2013 2 commits
-
-
If none of the backends support direct writes and we must stream the whole file, we already know what the object's id should be; so use the stream's functions directly, bypassing the frontend's hashing and overwriting of our existing id.
Carlos Martín Nieto committed -
Clarify the role of each function and in particular mention that there is no need for the backend or stream to worry about the object's id, as it will be given when `finalize_write` is called.
Carlos Martín Nieto committed
-
- 16 Aug, 2013 9 commits
-
-
The frontend is in charge of calculating the id of the objects. Thus the backends should treat it as a read-only value. The positioning in the function signature made it seem as though it was an output parameter. Make the id const and move it from the front to behind the subject (backend or stream).
Carlos Martín Nieto committed -
push: handle tag chains correctly
Vicent Martí committed -
Add "git init"-like example
Vicent Martí committed -
Russell Belfer committed
-
Russell Belfer committed
-
Russell Belfer committed
-
This adds a new API for creating a signature that uses the config to look up "user.name" and "user.email".
Russell Belfer committed -
Give credit to PHP for the p_readlink function in posix_w32.c
Ben Straub committed -
Martin Woodward committed
-
- 15 Aug, 2013 2 commits
-
-
When dealing with a chain of tags, we need to enqueue each of them individually, which means we can't use `git_tag_peel` as that jumps over the intermediate tags. Do the peeling manually so we can look at each object and take the appropriate action.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-