File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Assets/Plugins/CandyCoded.GitStatus/Scripts/CustomEditor Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright (c) Scott Doxey. All Rights Reserved. Licensed under the MIT License. See LICENSE in the project root for license information.
2
2
3
3
#if UNITY_EDITOR
4
- using System ;
5
4
using System . Collections . Generic ;
6
5
using System . Diagnostics ;
7
- using System . Linq ;
8
6
using Debug = UnityEngine . Debug ;
9
7
10
8
namespace CandyCoded . GitStatus
@@ -77,26 +75,6 @@ public static void CheckoutBranch(string branch)
77
75
78
76
}
79
77
80
- public static string [ ] AllChanges ( )
81
- {
82
-
83
- var process = Process . Start ( new ProcessStartInfo
84
- {
85
- FileName = GitPath ,
86
- Arguments = "status --short --untracked-files --porcelain" ,
87
- UseShellExecute = false ,
88
- RedirectStandardOutput = true ,
89
- RedirectStandardError = true ,
90
- CreateNoWindow = true
91
- } ) ;
92
-
93
- return process ? . StandardOutput
94
- . ReadToEnd ( )
95
- . Split ( new [ ] { Environment . NewLine } , StringSplitOptions . RemoveEmptyEntries )
96
- . ToArray ( ) ;
97
-
98
- }
99
-
100
78
public static string [ ] ChangedFiles ( )
101
79
{
102
80
You can’t perform that action at this time.
0 commit comments