-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes issue #19: Add support for options so that the Patience optimiz…
…ation can be disabled for merges
- Loading branch information
1 parent
c7b7dd6
commit f216281
Showing
8 changed files
with
216 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
|
||
using JetBrains.Annotations; | ||
|
||
namespace DiffLib | ||
{ | ||
/// <summary> | ||
/// This class is used to specify options to the diff algorithm. | ||
/// </summary> | ||
[PublicAPI] | ||
public class DiffOptions | ||
{ | ||
/// <summary> | ||
/// Gets or sets a value indicating whether the patience optimization is enabled. Default is <c>true</c>. | ||
/// </summary> | ||
/// <remarks> | ||
/// For more information about the patience optimization, see this question on Stack Overflow: | ||
/// https://stackoverflow.com/questions/4045017/what-is-git-diff-patience-for | ||
/// </remarks> | ||
public bool EnablePatienceOptimization { get; set; } = true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.