- 03 Feb, 2013 2 commits
- 01 Feb, 2013 1 commit
-
-
Signed-off-by: Frank Li <lznuaa@gmail.com> Signed-off-by: nulltoken <emeric.fermas@gmail.com>
Frank Li committed
-
- 31 Jan, 2013 6 commits
-
-
Ben Straub committed
-
Ben Straub committed
-
Ben Straub committed
-
A leading slash confuses the name normalization code when the flags include ALLOW_ONELEVEL. Catch this case in particular to avoid triggering an assertion in the uppercase check which expects us not to pass it an empty string. The existing tests don't catch this as they simply use the NORMAL flag. This fixes #1300.
Carlos Martín Nieto committed -
Ben Straub committed
-
Ben Straub committed
-
- 30 Jan, 2013 2 commits
-
-
Russell Belfer committed
-
This adds a `git_diff_patch_line_stats()` API that gets the total number of adds, deletes, and context lines in a patch. This will make it a little easier to emulate `git diff --stat` and the like. Right now, this relies on generating the `git_diff_patch` object, which is a pretty heavyweight way to get stat information. At some future point, it would probably be nice to be able to get this information without allocating the entire `git_diff_patch`, but that's a much larger project.
Russell Belfer committed
-
- 29 Jan, 2013 2 commits
-
-
This is @nulltoken's work to test various invalid config section and key names and make sure we are validating properly.
Russell Belfer committed -
Russell Belfer committed
-
- 28 Jan, 2013 1 commit
-
-
- Fix stack corruption introduced in 9bccf33c due to passing pointer to local variable _cred_acquire_called. - Fix strcmp in do_verify_push_status when expected or actual push_status is NULL
Congyi Wu committed
-
- 27 Jan, 2013 1 commit
-
-
Philip Kelley committed
-
- 26 Jan, 2013 1 commit
-
-
Philip Kelley committed
-
- 25 Jan, 2013 4 commits
-
-
Check whether the backslash at the end of the line is being escaped or not so as not to consider it a continuation marker when it's e.g. a Windows-style path.
Carlos Martín Nieto committed -
Michael Schubert committed
-
Replaced all cl_assert(!strcmp()) or semantically equivalent forms by cl_assert_equal_s().
Sebastian Bauer committed -
This is a convenience function to get the branch name of a given ref. The returned branch name is compatible with the name that can be supplied e.g. to git_branch_lookup(). That is, the prefixes "refs/heads" or "refs/remotes" are omitted. Also added a new test for testing the new function.
Sebastian Bauer committed
-
- 24 Jan, 2013 1 commit
-
-
Philip Kelley committed
-
- 23 Jan, 2013 2 commits
-
-
Vicent Marti committed
-
as per @vmg's request
Scott J. Goldman committed
-
- 22 Jan, 2013 3 commits
-
-
Also ammends one of the tag tests to make sure it's working.
Scott J. Goldman committed -
With the new code to make tree iterators support ignore_case, there is a bug in setting the start entry for range bounded iterators where memcmp was being used instead of strncasecmp. This fixes that and expands the tree iterator test to cover the cases that were broken.
Russell Belfer committed -
Jameson Miller committed
-
- 21 Jan, 2013 2 commits
-
-
Russell Belfer 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
-
- 18 Jan, 2013 2 commits
-
-
Zhao Cheng committed
-
Edward Thomson committed
-
- 17 Jan, 2013 4 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 -
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
-
- 16 Jan, 2013 1 commit
-
-
nulltoken committed
-
- 15 Jan, 2013 5 commits
-
-
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 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 -
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 -
nulltoken committed
-