diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-28 19:45:57 +0300 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-28 19:45:57 +0300 |
commit | ff8d635adbf1208927c7319178d29b0ed973a107 (patch) | |
tree | 329dd098bfefdadf9115c4fa4cff4beddd67c696 /CHANGELOG.md | |
parent | fb92b48d541edde845e8cde176152f13592db71b (diff) | |
parent | 9b3e41f72bd9ab62e8d129713755c3a3a71359bc (diff) |
Merge pull request #3139 from ethomson/diff_conflicts
Include conflicts when diffing
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 19463420e..99e375902 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,6 +49,13 @@ support for HTTPS connections insead of OpenSSL. the error message, which allows you to get the "repository not found" messages. +* `git_index_conflict_add()` will remove staged entries that exist for + conflicted paths. + +* The flags for a `git_diff_file` will now have the `GIT_DIFF_FLAG_EXISTS` + bit set when a file exists on that side of the diff. This is useful + for understanding whether a side of the diff exists in the presence of + a conflict. ### API additions @@ -98,6 +105,18 @@ support for HTTPS connections insead of OpenSSL. configuration of the server, and tools can use this to show messages about failing to communicate with the server. +* `git_diff_index_to_workdir()` and `git_diff_tree_to_index()` will now + produce deltas of type `GIT_DELTA_CONFLICTED` to indicate that the index + side of the delta is a conflict. + +* The `git_status` family of functions will now produce status of type + `GIT_STATUS_CONFLICTED` to indicate that a conflict exists for that file + in the index. + +* `git_index_entry_is_conflict()` is a utility function to determine if + a given index entry has a non-zero stage entry, indicating that it is + one side of a conflict. + ### API removals * `git_remote_save()` and `git_remote_clear_refspecs()` have been |