diff --git a/src/Models/DiffOption.cs b/src/Models/DiffOption.cs
index 69f93980..c545bfae 100644
--- a/src/Models/DiffOption.cs
+++ b/src/Models/DiffOption.cs
@@ -99,6 +99,18 @@ namespace SourceGit.Models
_orgPath = change.OriginalPath;
}
+ ///
+ /// Used to show differences between two files.
+ ///
+ ///
+ ///
+ public DiffOption(string path_lhs, string path_rhs)
+ {
+ _extra = "--no-index";
+ _orgPath = path_lhs;
+ _path = path_rhs;
+ }
+
///
/// Converts to diff command arguments.
///