- 12 Jan, 2013 1 commit
-
-
Philip Kelley committed
-
- 11 Jan, 2013 1 commit
-
-
This adds a git_buf_text_is_binary check to blobs before applying filters when the blob data is being written to disk.
Russell Belfer committed
-
- 09 Jan, 2013 3 commits
-
-
Philip Kelley committed
-
Resolve crash with diff against empty file
Vicent Martí committed -
It is not legal inside our `p_mmap` function to mmap a zero length file. This adds a test that exercises that case inside diff and fixes the code path where we would try to do that. The fix turns out not to be a lot of code since our default file content is already initialized to "" which works in this case. Fixes #1210
Russell Belfer committed
-
- 08 Jan, 2013 7 commits
-
-
update copyrights
Vicent Martí committed -
Edward Thomson committed
-
remove ppc sha1 asm
Vicent Martí committed -
Edward Thomson committed
-
keep comments at < 80 chars
Vicent Martí committed -
Edward Thomson committed
-
Have diff blob to buffer share code (and add tests)
Vicent Martí committed
-
- 07 Jan, 2013 8 commits
-
-
This moves the implementation of these two APIs into common code that will be shared between the two. Also, this adds tests for the `git_diff_blob_to_buffer` API. Lastly, this adds some extra `const` to a few places that can use it.
Russell Belfer committed -
Ignacio Casal Quinteiro committed
-
Revert changes from git/git diff-delta.c by dak@gnu.org, proski@gnu.org
Vicent Martí committed -
Add Florian Forster to hall of fame
Philip Kelley committed -
Philip Kelley committed
-
Permission recieved from Florian Forster on Jan 07 2013 to include any changes of his from core Git into LibGit2.
Martin Woodward committed -
merge cleanup should actually cleanup and the test should actually test
Vicent Martí committed -
Edward Thomson committed
-
- 06 Jan, 2013 14 commits
-
-
Kevin Sawicki committed
-
This reverts commit 47fbcbb5.
Kevin Sawicki committed -
Kevin Sawicki committed
-
travis: Only run Valgrind when all tests pass
Vicent Martí committed -
nulltoken committed
-
Allow to clone repositories that don't have a `master` branch
Vicent Martí committed -
travis: Include the online suite when running against Travis
Vicent Martí committed -
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
Before this, we error out from `reference_matches_remote_head` if the reference we're searching for does not exist. Since we explicitly check if master is existing in `update_head_to_remote` and error out if it doesn't, a repository without master branch could not be cloned. In fact this was later clobbered by what is fixed in #1194. However, this patch introduces a `found` member in `head_info` and sets it accordingly. That also saves us from checking the string length of `branchname` a few times.
Sascha Cunz committed -
git_mwindow_file_deregister() shouldn't return errors
Vicent Martí committed -
As a function that appears to only be called on error paths, I don't think it makes sense for it to return an error, or clobber the global giterr. Note that no existing callsites actually check the return code. In my own application, there are errors where the real error ends up being hidden, as git_mwindow_file_deregister() clobbers the global giterr. I'm not sure this error is even relevant?
Scott J. Goldman committed
-
- 05 Jan, 2013 6 commits
-
-
Fix an issue with ahead-behind for lopsided traversal
Vicent Martí committed -
Handle packed refs with no trailing newline
Vicent Martí committed -
I saw a repo in the wild today which had a master branch ref which was packed, but had no trailing newline. Git handled it fine, but libgit2 choked on it. Fix seems simple enough. If we don't see a newline, assume the end of the buffer is the end of the ref line.
Scott J. Goldman committed -
Fix win32 checkout test
Vicent Martí committed -
It turns out that using REMOVE_UNTRACKED with checkout for this particular test was causing the .gitattributes file to be removed and so we do have to allow for the CRs in the created file...
Russell Belfer committed -
Move some checkout utility functions into a shared file and fix some crlf filtering issues when verifying file contents.
Russell Belfer committed
-