- 15 Aug, 2013 3 commits
-
-
Carlos Martín Nieto committed
-
Hash the data as it's coming into the stream and tell the backend what its name is when finalizing the write. This makes it consistent with the way a plain git_odb_write() performs the write.
Carlos Martín Nieto committed -
This is in preparation for moving the hashing to the frontend, which requires us to handle the incoming data before passing it to the backend's stream.
Carlos Martín Nieto committed
-
- 13 Aug, 2013 12 commits
-
-
Speed up build under MSVC
Ben Straub committed -
Bigger buffer for utf-8 parsing in win32
Vicent Martí committed -
Russell Belfer committed
-
This is just a bunch of small fixes that I noticed while looking at the UTF8 and UTF16 path stuff. It fixes a slowdown in looking for an empty directory (not exiting loop asap), makes the dir name in the git__DIR structure be a GIT_FLEX_ARRAY to save an allocation, and fixes some slightly odd assumptions in the cl_getenv helper.
Russell Belfer committed -
Russell Belfer committed
-
Russell Belfer committed
-
Ben Straub committed
-
Ben Straub committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
- 12 Aug, 2013 6 commits
-
-
SSH username fixes
Ben Straub committed -
Ben Straub committed
-
With the current code, running 'cmake .' in an already-configured directory causes the removal of ssh flags passed to the compiler, making it impossible to build with ssh support but by removing CMake's cache. Remove the check for LIBSSH2_LIBRARY and let CMake do the right thing wrt finding the library.
Carlos Martín Nieto committed -
Key-based authentication also needs an username, so include it in each one. Also stop assuming a default username of "git" in the ssh transport which has no business making such a decision.
Carlos Martín Nieto committed -
By the time we recognise this as an ambiguous id, the object's data has been loaded into memory. Free it when returning EABMIGUOUS.
Carlos Martín Nieto committed -
Fix issue 1766 - bugs in managing ignore file lists
Ben Straub committed
-
- 10 Aug, 2013 2 commits
-
-
Ben Straub committed
-
Ben Straub committed
-
- 09 Aug, 2013 8 commits
-
-
Fixes to safely reading the index
Vicent Martí committed -
This just cleans up the improved logic for popping ignore dirs and documents why the complex behavior is needed.
Russell Belfer committed -
The routines to push and pop ignore files while traversing a directory had some issues. In particular, setting up the initial list would sometimes push an ignore file before it ought to be applied if the starting path was a directory containing an ignore file. Also, the pop function was not always matching the right part of the path and would fail to pop ignores from the list in some cases. This adds some tests that exercise a particular problematic case and then fixes the problems that I could find related to this. At some point, I'd like to isolate this ignore rule management code and rewrite it, but that's a larger project and right now, I'll opt to just try to fix the broken behaviors.
Russell Belfer committed -
Revert PR #1462 and provide alternative fix
Russell Belfer committed -
Russell Belfer committed
-
This rolls back the changes to fnmatch parsing from commit 2e40a60e except for the tests that were added. Instead this adds couple of new flags that can be passed in when attempting to parse an fnmatch pattern. Also, this changes the pathspec match logic to special case matching a filename with a '!' prefix against a negative pattern. This fixes the build.
Russell Belfer committed -
Add rename from rewrites to status
Russell Belfer committed -
status: fix handling of filenames with special prefixes
Russell Belfer committed
-
- 08 Aug, 2013 9 commits
-
-
config: allow setting empty string as value
Russell Belfer committed -
`git_config_set_string(config, "config.section", "")` fails when escaping the value. The buffer in `escape_value` is allocated without NULL-termination. And in case of empty string 0 is passed for buffer size in `git_buf_grow`. `git_buf_detach` returns NULL when the allocated size is 0 and that leads to an error return in `GITERR_CHECK_ALLOC` called after `escape_value` The change in `config_file.c` was suggested by Russell Belfer <rb@github.com>
Nikolai Vladimirov committed -
Edward Thomson committed
-
Avoid wrapping around extension size when reading, avoid walking off the end of the buffer when reading names.
Edward Thomson committed -
Add API for getting at git_diff_patch->content_size
Ben Straub committed -
Rename detection slow
Ben Straub committed -
Ben Straub committed
-
odb_pack: handle duplicate objects from different packs
Russell Belfer committed -
This is based on 24634c6f. This also corrects an issue with error codes being mixed up with the number of found objects.
Brodie Rao committed
-