File tree Expand file tree Collapse file tree 2 files changed +0
-91
lines changed
src/main/java/com/bazel_diff Expand file tree Collapse file tree 2 files changed +0
-91
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -115,7 +115,6 @@ public Integer call() throws IOException {
115115 System .out .println ("outputPath was not provided! Exiting" );
116116 return ExitCode .USAGE ;
117117 }
118- GitClient gitClient = new GitClientImpl (workspacePath );
119118 BazelClient bazelClient = new BazelClientImpl (
120119 workspacePath ,
121120 bazelPath ,
@@ -125,15 +124,6 @@ public Integer call() throws IOException {
125124 keepGoing
126125 );
127126 TargetHashingClient hashingClient = new TargetHashingClientImpl (bazelClient , new FilesClientImp ());
128- try {
129- gitClient .ensureAllChangesAreCommitted ();
130- } catch (IOException | InterruptedException e ) {
131- e .printStackTrace ();
132- return ExitCode .SOFTWARE ;
133- } catch (GitClientException e ) {
134- System .out .println (String .format ("There are active changes in '%s', please commit these changes before running bazel-diffs" , workspacePath ));
135- return ExitCode .USAGE ;
136- }
137127 Gson gson = new Gson ();
138128 FileReader startingFileReader ;
139129 FileReader finalFileReader ;
You can’t perform that action at this time.
0 commit comments