- 08 May, 2012 1 commit
-
-
nulltoken committed
-
- 07 May, 2012 8 commits
-
-
More mingw32 compilation fixes.
Vicent Martí committed -
The fix to support attrs on bare repos went a little too far in trying to avoid using the working directory and ended up not processing the input path quite correctly.
Russell Belfer committed -
compat: make p_open able to accept optional mode when passing the O_CREAT flag
Russell Belfer committed -
Carlos Martín Nieto committed
-
It can cause segfaults if the call didn't set an error
Carlos Martín Nieto committed -
Previously, it was defined in netops.c, but it's also needed in one of the clar tests, so I figured we might as well just make it global for the whole project. Without it, the mingw32 linker won't resolve GetProcessId() (called from the core/errors.c clar test) because of some conditionals in windows.h.
Scott J. Goldman committed -
Fixes the mingw32 build issues.
Scott J. Goldman committed
-
- 06 May, 2012 2 commits
-
-
Carlos Martín Nieto committed
-
Vicent Martí committed
-
- 05 May, 2012 9 commits
-
-
Conflicts: src/netops.c src/netops.h src/transports/http.c tests-clar/clar
Vicent Martí committed -
New-error-handling
Vicent Martí committed -
Support git attrs from index (and bare repo)
Vicent Martí committed -
Vicent Martí committed
-
Honor core.notesRef config option
Vicent Martí committed -
Scott J. Goldman committed
-
Scott J. Goldman committed
-
gitno_connect() can return an error or socket, which is fine on most platforms where sockets are file descriptors (signed int), but on Windows, SOCKET is an unsigned type, which is problematic when we are trying to test if the socket was actually a negative error code. This fix seperates the error code and socket in gitno_connect(), and fixes the error handling in do_connect() functions to compensate. It appears that git_connect() and the git-transport do_connect() functions had bugs in the non-windows cases too (leaking sockets, and not properly reporting connection error, respectively) so I went ahead and fixed those too.
Scott J. Goldman committed -
MINGW32 does not define _mktemp_s, so we can just use _mktemp instead. See the non-compressed/non-base64-encoded version of the patch here: http://gist.github.com/2605249
Scott J. Goldman committed
-
- 04 May, 2012 5 commits
-
-
There are three changes here: - correctly propogate error code from failed object lookups - make zlib inflate use our allocators - add OID to notfound error in ODB lookups
Russell Belfer committed -
Vicent Martí committed
-
Russell Belfer committed
-
Vicent Martí committed
-
Russell Belfer committed
-
- 03 May, 2012 7 commits
-
-
Depending on the operation, we need to consider gitattributes in both the work dir and the index. This adds a parameter to all of the gitattributes related functions that allows user control of attribute reading behavior (i.e. prefer workdir, prefer index, only use index). This fix also covers allowing us to check attributes (and hence do diff and status) on bare repositories. This was a somewhat larger change that I hoped because it had to change the cache key used for gitattributes files.
Russell Belfer committed -
Add git_note_default_ref to allow easy retrieval of the currently set default notes reference.
Michael Schubert committed -
Setting core.notesRef allows to change the default notes reference used by Git. Check if set before using GIT_NOTES_DEFAULT_REF. Fixes #649.
Michael Schubert committed -
Vicent Martí committed
-
Vicent Martí committed
-
Vicent Martí committed
-
Vicent Martí committed
-
- 02 May, 2012 8 commits
-
-
Vicent Martí committed
-
Russell Belfer committed
-
Vicent Martí committed
-
Vicent Martí committed
-
Vicent Martí committed
-
Conflicts: .travis.yml include/git2/diff.h src/config_file.c src/diff.c src/diff_output.c src/mwindow.c src/path.c tests-clar/clar_helpers.c tests-clar/object/tree/frompath.c tests/t00-core.c tests/t03-objwrite.c tests/t08-tag.c tests/t10-refs.c tests/t12-repo.c tests/t18-status.c tests/test_helpers.c tests/test_main.c
Vicent Martí committed -
Since strnlen is not supported on all platforms and since we now have the shiny new git_text_is_binary in the filtering code, let's convert diff binary detection to use the new stuff.
Russell Belfer committed -
To make this code more resilient to future changes, we'll explicitly translate the libgit2 structure to the libxdiff structure.
Russell Belfer committed
-