public static bool TakeDiff(string path, Commit start, Commit end)
 {
     if (!GitManager.Settings.ExternalsType.HasFlag(GitSettings.ExternalsTypeEnum.Diff) || SelectedAdatapter == null)
     {
         return(false);
     }
     return(SelectedAdatapter.Diff(path, start, end));
 }
Example #2
0
 public bool TakeDiff(string path, Commit end)
 {
     if (!gitManager.Settings.ExternalsType.IsFlagSet(GitSettingsJson.ExternalsTypeEnum.Diff) || SelectedAdatapter == null)
     {
         return(false);
     }
     return(SelectedAdatapter.Diff(path, end));
 }
        public static void ShowDiff(string leftTitle, string leftPath, string rightTitle, string rightPath, [CanBeNull] Type assetType)
        {
            if (SelectedAdatapter == null)
            {
                Debug.LogWarning("No selected external program.");
                return;
            }

            SelectedAdatapter.Diff(leftTitle, leftPath, rightTitle, rightPath, assetType);
        }
Example #4
0
        public static void ShowDiff(string path, Commit start, Commit end)
        {
            if (SelectedAdatapter == null)
            {
                Debug.LogWarning("No selected external program.");
                return;
            }

            SelectedAdatapter.Diff(path, start, end);
        }