- 21 Jan, 2013 3 commits
-
-
Russell Belfer committed
-
Parse commit time as uint64_t to avoid overflow
Vicent Martí committed -
The commit time is already stored as a git_time_t, but we were parsing is as a uint32_t. This just switches the parser to use uint64_t which will handle dates further in the future (and adds some tests of those future dates).
Russell Belfer committed
-
- 20 Jan, 2013 2 commits
-
-
When the encoding header changed to be treated as an additional header, the EOL pointer started to point to the byte after the LF, making the git__strndup call copy the LF into the value. Increase the EOL pointer value after copying the data to keep the rest of the semantics but avoid copying LF.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
- 18 Jan, 2013 8 commits
-
-
Fix really bad error handling in git_smart__negotiate_fetch
Philip Kelley committed -
Philip Kelley committed
-
Fix linking error caused by ddcb28a4.
Vicent Martí committed -
Zhao Cheng committed
-
add an index_remove_bypath that removes conflicts
Vicent Martí committed -
Move all non-ascii test data to raw hex
Vicent Martí committed -
add a git config, don't run crlf tests on non-win32
Vicent Martí committed -
Edward Thomson committed
-
- 17 Jan, 2013 9 commits
-
-
This takes all of the characters in core::env and makes them use hex sequences instead of keeping tricky character data inline in the test.
Russell Belfer committed -
A comparison of eviction algorithms for the delta base cache
Vicent Martí committed -
Don't segfault if transport doesn't support push.
Ben Straub committed -
Add skipping of unknown commit headers
Vicent Martí committed -
cache should contain on-disk (filtered) file size
Vicent Martí committed -
Sebastian Bauer committed
-
This moves the check for the "encoding" header into a loop which is just scanning for non-required headers at the end of a commit header. That loop will skip unrecognized lines (including header continuation lines) until a terminating completely blank line is found, and only then does it move to reading the commit message.
Russell Belfer committed -
Edward Thomson committed
-
Instead, set an more informative error message.
Sebastian Bauer committed
-
- 16 Jan, 2013 6 commits
-
-
Fix case insensitivity issues in git_status_file
Vicent Martí committed -
Some doc improvements in transport.h
Vicent Martí committed -
Introduce git_branch_tracking_name()
Vicent Martí committed -
nulltoken committed
-
nulltoken committed
-
Sebastian Bauer committed
-
- 15 Jan, 2013 12 commits
-
-
Russell Belfer committed
-
This makes tree iterators directly support case insensitivity by using a secondary index that can be sorted by icase. Also, this fixes the ambiguity check in the git_status_file API to also be case insensitive. Lastly, this adds new test cases for case insensitive range boundary checking for all types of iterators. With this change, it should be possible to deprecate the spool and sort iterator, but I haven't done that yet.
Russell Belfer committed -
This adds a new external API git_tree_entry_cmp and a new internal API git_tree_entry_icmp for sorting tree entries. The case insensitive one is internal only because general users should never be seeing case-insensitively sorted trees.
Russell Belfer committed -
This adds git_path_icmp to complement git_path_cmp.
Russell Belfer committed -
git__bsearch and git__tsort did not pass a payload through to the comparison function. This makes it impossible to implement sorted lists where the sort order depends on external data (e.g. building a secondary sort order for the entries in a tree). This commit adds git__bsearch_r and git__tsort_r versions that pass a third parameter to the cmp function of a user payload.
Russell Belfer committed -
This adds a test that confirms that the working directory iterator can actually correctly process ranges of files case insensitively with proper sorting and proper boundaries.
Russell Belfer committed -
This changes the iterator API so that flags can be passed in to the constructor functions to control the ignore_case behavior. At this point, the flags are not supported on tree iterators (i.e. there is no functional change over the old API), but the API changes are all made to accomodate this. By the way, I went with a flags parameter because in the future I have a couple of other ideas for iterator flags that will make it easier to fix some diff/status/checkout bugs.
Russell Belfer committed -
Returning GIT_EAMBIGUOUS from inside the status callback gets overridden with GIT_EUSER. `git_status_file` accounted for this via the callback payload, but was allowing the error message to be cleared. Move the `giterr_set` call outside the callback to where the EUSER case was being dealt with.
Russell Belfer committed -
In preparation for further iterator changes, this cleans up a few small things in the iterator API: * removed the git_iterator_for_repo_index_range API * made git_iterator_free not be inlined * minor param name and test function name tweaks
Russell Belfer committed -
Russell Belfer committed
-
nulltoken committed
-
checkout: Teach checkout to cope with orphaned Head
Russell Belfer committed
-