git-fsck-all: run fsck with --no-dangling
This commit is contained in:
		
							parent
							
								
									51584914e5
								
							
						
					
					
						commit
						9dd752c9e5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -32,7 +32,7 @@ def working_directory(directory): | |||
| for git_directory in git_directories('.'): | ||||
|     with working_directory(git_directory): | ||||
|         print('\n{}:'.format(os.getcwd())) | ||||
|         ret = subprocess.call(['git', 'fsck']) | ||||
|         ret = subprocess.call(['git', 'fsck', '--no-dangling']) | ||||
|         if ret != 0: | ||||
|             print((Fore.RED + 'git fsck is unhappy with {}' + Fore.RESET) | ||||
|                   .format(git_directory)) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue