File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
src/bootstrap/src/core/config Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -2885,20 +2885,6 @@ impl Config {
2885
2885
2886
2886
Some ( commit. to_string ( ) )
2887
2887
}
2888
-
2889
- /// Check for changes in specified directories since a given commit.
2890
- /// Returns true if changes exist, false if no changes
2891
- pub fn check_for_changes ( & self , dirs : & [ PathBuf ] , commit : & str ) -> bool {
2892
- let mut git = helpers:: git ( Some ( & self . src ) ) ;
2893
- git. args ( [ "diff-index" , "--quiet" , commit] ) ;
2894
- if !dirs. is_empty ( ) {
2895
- git. arg ( "--" ) ;
2896
- for dir in dirs {
2897
- git. arg ( dir) ;
2898
- }
2899
- }
2900
- !t ! ( git. as_command_mut( ) . status( ) ) . success ( )
2901
- }
2902
2888
}
2903
2889
2904
2890
/// Compares the current `Llvm` options against those in the CI LLVM builder and detects any incompatible options.
You can’t perform that action at this time.
0 commit comments