Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge::workdir::dirty: tick idx to defeat racy-git | Edward Thomson | 2015-06-16 | 1 | -0/+12 |
| | |||||
* | introduce `git_index_entry_is_conflict` | Edward Thomson | 2015-05-28 | 2 | -2/+2 |
| | | | | | | | | | It's not always obvious the mapping between stage level and conflict-ness. More importantly, this can lead otherwise sane people to write constructs like `if (!git_index_entry_stage(entry))`, which (while technically correct) is unreadable. Provide a nice method to help avoid such messy thinking. | ||||
* | merge: merge iterators | Edward Thomson | 2015-05-11 | 1 | -1/+13 |
| | |||||
* | Collapse whitespace flags into git_merge_file_flags_t | Jacques Germishuys | 2015-03-16 | 2 | -4/+4 |
| | |||||
* | Renamed git_merge_options 'flags' to 'tree_flags' | Jacques Germishuys | 2015-03-16 | 2 | -4/+4 |
| | |||||
* | Added tests to merge files and branches with whitespace problems and fixes | Jacques Germishuys | 2015-03-16 | 2 | -0/+158 |
| | |||||
* | reset: remove reflog message override | Carlos Martín Nieto | 2015-03-03 | 3 | -8/+8 |
| | | | | | This function is meant to simulate what git does in the reset command, so we should include the reflog message in that. | ||||
* | Remove the signature from ref-modifying functions | Carlos Martín Nieto | 2015-03-03 | 5 | -11/+11 |
| | | | | | | | | | | The signature for the reflog is not something which changes dynamically. Almost all uses will be NULL, since we want for the repository's default identity to be used, making it noise. In order to allow for changing the identity, we instead provide git_repository_set_ident() and git_repository_ident() which allow a user to override the choice of signature. | ||||
* | merge: lock the index at the start of the merge | Edward Thomson | 2015-02-14 | 1 | -0/+49 |
| | | | | | | | | | | Always lock the index when we begin the merge, before we write any of the metdata files. This prevents a race where another client may run a commit after we have written the MERGE_HEAD but before we have updated the index, which will produce a merge commit that is treesame to one parent. The merge will finish and update the index and the resultant commit would not be a merge at all. | ||||
* | merge test: test an actual failure, not conflict | Edward Thomson | 2015-02-13 | 1 | -6/+5 |
| | | | | | | Correct the merge failed cleanup test. Merge data should not be cleaned up on conflicts, only on actual failure. And ORIG_HEAD should not be removed at all. | ||||
* | Fix broken merge tests due to autocrlf was not false | Linquize | 2014-12-07 | 1 | -0/+8 |
| | |||||
* | s/git_merge_head/git_annotated_commit | Edward Thomson | 2014-10-26 | 7 | -280/+282 |
| | | | | | Rename git_merge_head to git_annotated_commit, as it becomes used in more operations than just merge. | ||||
* | Merge pull request #2499 from csware/hard-reset-checkout-callbacks | Carlos Martín Nieto | 2014-10-10 | 3 | -8/+8 |
|\ | | | | | Allow to propagate checkout callbacks to git HARD reset | ||||
| * | Allow to propagate checkout callbacks to git HARD reset | Sven Strickroth | 2014-08-03 | 3 | -8/+8 |
| | | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de> | ||||
* | | hashsig: Export as a `sys` headervmg/hashsig | Vicent Marti | 2014-10-01 | 1 | -1/+1 |
| | | |||||
* | | Fixed merge REUC test for big-endian 64-bit | Jakub Čajka | 2014-09-26 | 1 | -1/+1 |
| | | |||||
* | | Factor 40 and 41 constants from source. | Ciro Santilli | 2014-09-16 | 1 | -4/+4 |
|/ | |||||
* | Merge pull request #2455 from ethomson/equal_oid | Vicent Marti | 2014-07-02 | 1 | -1/+1 |
|\ | | | | | Introduce `cl_assert_equal_oid` | ||||
| * | Introduce cl_assert_equal_oid | Edward Thomson | 2014-07-01 | 1 | -1/+1 |
| | | |||||
* | | git_checkout_index: checkout other indexes | Edward Thomson | 2014-07-01 | 1 | -1/+1 |
|/ | | | | | | | | git_checkout_index can now check out other git_index's (that are not necessarily the repository index). This allows checkout_index to use the repository's index for stat cache information instead of the index data being checked out. git_merge and friends now check out their indexes directly instead of trying to blend it into the running index. | ||||
* | Modify GIT_MERGE_CONFIG -> GIT_MERGE_PREFERENCE | Edward Thomson | 2014-05-27 | 1 | -18/+18 |
| | |||||
* | Move GIT_MERGE_CONFIG_* to its own enum | Edward Thomson | 2014-05-27 | 1 | -31/+38 |
| | |||||
* | Introduce GIT_MERGE_CONFIG_* for merge.ff settings | Edward Thomson | 2014-05-27 | 1 | -0/+26 |
| | | | | | | git_merge_analysis will now return GIT_MERGE_CONFIG_NO_FASTFORWARD when merge.ff=false and GIT_MERGE_CONFIG_FASTFORWARD_ONLY when merge.ff=true | ||||
* | merge: checkout default shouldn't clobber given | Edward Thomson | 2014-04-23 | 2 | -10/+11 |
| | |||||
* | merge: default checkout strategy for should be SAFE | Edward Thomson | 2014-04-23 | 1 | -0/+17 |
| | |||||
* | Capture conflict information in MERGE_MSG for revert and merge | Jacques Germishuys | 2014-04-14 | 1 | -1/+9 |
| | |||||
* | Introduce git_merge_head_id | Edward Thomson | 2014-03-31 | 1 | -0/+27 |
| | |||||
* | UNBORN implies FAST_FORWARD | Edward Thomson | 2014-03-20 | 1 | -1/+2 |
| | |||||
* | Introduce GIT_MERGE_ANALYSIS_UNBORN | Edward Thomson | 2014-03-20 | 1 | -4/+20 |
| | |||||
* | git_merge_status -> git_merge_analysis | Edward Thomson | 2014-03-20 | 1 | -22/+23 |
| | |||||
* | Remove `git_merge_result` as it's now unnecessary | Edward Thomson | 2014-03-20 | 8 | -122/+34 |
| | |||||
* | Update git_merge_tree_opts to git_merge_options | Edward Thomson | 2014-03-20 | 10 | -25/+25 |
| | |||||
* | Change signature of `git_merge` to take merge and checkout opts | Edward Thomson | 2014-03-20 | 8 | -45/+45 |
| | |||||
* | Remove fastforward / uptodate from `git_merge` | Edward Thomson | 2014-03-20 | 1 | -77/+47 |
| | |||||
* | Add `git_merge_status` to provide info about an upcoming merge | Edward Thomson | 2014-03-20 | 2 | -148/+89 |
| | |||||
* | Introduce git_merge_file for consumers | Edward Thomson | 2014-03-20 | 5 | -74/+218 |
| | |||||
* | git_checkout_opts -> git_checkout_options | Ben Straub | 2014-03-06 | 2 | -2/+2 |
| | |||||
* | Prevent user's merge.conflictstyle from breaking tests | Ben Straub | 2014-02-05 | 2 | -0/+14 |
| | |||||
* | Fix a few references to changed function signatures | Ben Straub | 2014-02-05 | 1 | -3/+3 |
| | |||||
* | Merge remote-tracking branch 'libgit2/development' into bs/more-reflog-stuff | Ben Straub | 2014-02-05 | 1 | -0/+322 |
|\ | |||||
| * | Test that emulates a strange filter implementation | Edward Thomson | 2014-02-03 | 1 | -0/+70 |
| | | |||||
| * | Tests merging staged files identical to result | Edward Thomson | 2014-02-03 | 1 | -0/+70 |
| | | |||||
| * | Tests merge when changes exist in workdir/index | Edward Thomson | 2014-02-03 | 1 | -0/+182 |
| | | |||||
* | | Add reflog parameters to git_reset | Ben Straub | 2014-02-03 | 2 | -4/+4 |
|/ | |||||
* | merge: rename _oid() -> id() | Carlos Martín Nieto | 2014-01-25 | 3 | -49/+49 |
| | | | | Following the rest of the series, use 'id' when refering to the value. | ||||
* | index: rename an entry's id to 'id' | Carlos Martín Nieto | 2014-01-25 | 6 | -9/+9 |
| | | | | This was not converted when we converted the rest, so do it now. | ||||
* | Merge submodules | Edward Thomson | 2014-01-20 | 1 | -0/+101 |
| | |||||
* | Support union merges | Edward Thomson | 2014-01-20 | 1 | -0/+43 |
| | |||||
* | Remove the "merge none" flag | Edward Thomson | 2014-01-20 | 2 | -195/+28 |
| | | | | | | | The "merge none" (don't automerge) flag was only to aide in merge trivial tests. We can easily determine whether merge trivial resulted in a trivial merge or an automerge by examining the REUC after automerge has completed. | ||||
* | Load merge.conflictstyle setting from config | Edward Thomson | 2014-01-20 | 1 | -0/+86 |
| |