mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 06:00:54 +01:00 
			
		
		
		
	unposted: Completion/Unix/Command/_git: Fix bug in git-add completion that
prevented -f option from being used correctly.
This commit is contained in:
		
							parent
							
								
									e3c1917345
								
							
						
					
					
						commit
						d37eda52f3
					
				
					 2 changed files with 5 additions and 2 deletions
				
			
		|  | @ -63,7 +63,7 @@ _git-add () { | |||
|     (file) | ||||
|       # TODO: Use __git_ignore_line_inside_arguments. | ||||
|       declare -a ignored_files_alternatives | ||||
|       if [[ -n ${line[(I)-f|--force]} ]]; then | ||||
|       if [[ -n ${opt_args[(I)-f|--force]} ]]; then | ||||
|         ignored_files_alternatives=( | ||||
|           'ignored-modified-files:ignored modified files:__git_modified_files --ignored' | ||||
|           'ignored-other-files:ignored other files:__git_other_files --ignored') | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue