- 15 Jan, 2013 5 commits
-
-
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
-
- 14 Jan, 2013 1 commit
-
-
Some fixes for external template support
Russell Belfer committed
-
- 13 Jan, 2013 5 commits
-
-
Before, it was identical to the default template making it difficult to check, if the proper template was copied an external template test.
Sebastian Bauer committed -
been properly copied. This is a minimal effort to test whether the template really has been used when creating an repo with external templates.
Sebastian Bauer committed -
This is an intermin solution. While this essentially disables the --shared flag feature, previously external templates did not work at all. This change fixes the previously corrected, and since then failing, repo_init__extended_with_template() test. The problem is now documented in the source code comments.
Sebastian Bauer committed -
nulltoken committed
-
Fix #1236
nulltoken committed
-
- 12 Jan, 2013 11 commits
-
-
Sebastian Bauer committed
-
The offset should be git_off_t, and we should check the return value of the mutex lock function.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
The indexer needs to call the packfile's free function so it takes care of freeing the caches. We still need to close the mwf descriptor manually so we can rename the packfile into its final name on Windows.
Carlos Martín Nieto committed -
Otherwise the template functionallity is not tested (as a TODO we also shall test that the specified template really got copied).
Sebastian Bauer committed -
Switch to specified branch during clone
Vicent Martí committed -
Sascha Cunz committed
-
Vicent Marti committed
-
Fixes #1232
Ben Straub committed -
Add a failing test for CRLF filters
Philip Kelley committed -
Philip Kelley committed
-
- 11 Jan, 2013 18 commits
-
-
Sascha Cunz committed
-
Sascha Cunz committed
-
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 -
Match binary file check of core git in diff
Vicent Martí committed -
Fix diff patch line number calculation
Vicent Martí committed -
Core git just looks for NUL bytes in files when deciding about is-binary inside diff (although it uses a better algorithm in checkout, when deciding if CRLF conversion should be done). Libgit2 was using the better algorithm in both places, but that is causing some confusion. For now, this makes diff just look for NUL bytes to decide if a file is binary by content in diff.
Russell Belfer committed -
This was just wrong. Added a test that verifying patch line numbers even for hunks further into a file and then fixed the algorithm. I needed to add a little extra state into the patch so that I could track old and new file numbers independently, but it should be okay.
Russell Belfer committed -
This reverts commit f289f886, which makes the tests fail on Windows. Revert until we can figure out a solution.
Carlos Martín Nieto committed -
Introduce EMERGECONFLICT
Vicent Martí committed -
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Introduce a delta base cache
Vicent Martí committed -
Some regex warning fixes
Vicent Martí committed
-