- 20 Feb, 2013 13 commits
-
-
This makes the text similarity metric treat \r as equivalent to \n and makes it skip whitespace immediately following a line terminator, so line indentation will have less effect on the difference measurement (and so \r\n will be treated as just a single line terminator). This also separates the text and binary hash calculators into two separate functions instead of have more if statements inside the loop. This should make it easier to have more differentiated heuristics in the future if we so wish.
Russell Belfer committed -
This adds a new `git_buf_text_hashsig` type and functions to generate these hash signatures and compare them to give a similarity score. This can be plugged into diff similarity scoring.
Russell Belfer committed -
Add more treebuilder tests
Vicent Martí committed -
The recent changes with git_treebuilder_entrycount point out that the test coverage for git_treebuilder_remove and git_treebuilder_entrycount is completely absent. This adds tests.
Russell Belfer committed -
Add explicit entrycount to tree builder
Vicent Martí committed -
This replaces most of the explicit vector iteration with calls to git_vector_foreach, adds in some git__free and giterr_clear calls to clean up during some error paths, and a couple of other code simplifications.
Russell Belfer committed -
The treebuilder entries vector flags removed items which means we can't rely on the entries vector length to accurately get the number of entries. This adds an entrycount value and maintains it while updating the treebuilder entries.
Russell Belfer committed -
Simplify signature parsing
Russell Belfer committed -
Disable caching in Clar
Vicent Martí committed -
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
- 17 Feb, 2013 1 commit
-
-
Fix static analyzer issues
Vicent Martí committed
-
- 16 Feb, 2013 2 commits
-
-
The cppcheck static analyzer generates warnings for a bunch of places in the libgit2 code base. All the ones fixed in this commit are actually false positives, but I've reorganized the code to hopefully make it easier for static analysis tools to correctly understand the structure. I wouldn't do this if I felt like it was making the code harder to read or worse for humans, but in this case, these fixes don't seem too bad and will hopefully make it easier for better analysis tools to get at any real issues.
Russell Belfer committed -
If gethostbyname() fails on platforms with NO_ADDRINFO, the code leaks the struct addrinfo that was allocated. This fixes that (and a number of code formatting issues in that area of code in src/posix.c).
Russell Belfer committed
-
- 15 Feb, 2013 3 commits
-
-
There were a number of functions assigning their return value to `error` without much explanation. I added in some rudimentary error checking to help flesh out the example. Also, I reformatted all of the comments down to 80 cols (and in some cases, slightly updated the wording).
Russell Belfer committed -
push: fix typo in git_push_finish() doc
Vicent Martí committed -
Alessandro Ghedini committed
-
- 14 Feb, 2013 6 commits
-
-
Topic/diff tree coverage
Vicent Martí committed -
push: improve docs on success / failure of git_push_finish
Vicent Martí committed -
Michael Schubert committed
-
Ben Straub committed
-
Philip Kelley committed
-
Improve MSVC compiler, linker flags
Vicent Martí committed
-
- 13 Feb, 2013 2 commits
-
-
Philip Kelley committed
-
Philip Kelley committed
-
- 12 Feb, 2013 3 commits
-
-
Add git_push_options, to set packbuilder parallelism
Ben Straub committed -
Add FORCE_TEXT check into git_diff_blobs code path
Russell Belfer committed -
Allow network operations to cancel
Russell Belfer committed
-
- 11 Feb, 2013 10 commits
-
-
Russell Belfer committed
-
Russell Belfer committed
-
`git_diff_blobs` and `git_diff_blob_to_buffer` skip the step where we check file attributes because they don't have a filename associated with the data. Unfortunately, this meant they were also skipping the check for the GIT_DIFF_FORCE_TEXT option and so you could not force a diff of an apparent binary file. This adds the force text check into their code path.
Russell Belfer committed -
Topic/remote isvalidname
Russell Belfer committed -
Fix libgit2/libgit2sharp#318
nulltoken committed -
nulltoken committed
-
nulltoken committed
-
reset: Allow the selective reset of pathspecs
Russell Belfer committed -
Resolve a remote branch's remote
Philip Kelley committed -
Jameson Miller committed
-