Skip to content

Commit

Permalink
Merge branch 'sg/complete-untracked-filter'
Browse files Browse the repository at this point in the history
* sg/complete-untracked-filter:
  completion: improve untracked directory filtering for filename completion
  • Loading branch information
Jonathan Nieder committed Sep 25, 2013
2 parents 40b7732 + ea95c7b commit b7f5716
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ _git_add ()
esac

# XXX should we check for --update and --all options ?
__git_complete_index_file "--others --modified"
__git_complete_index_file "--others --modified --directory --no-empty-directory"
}

_git_archive ()
Expand Down Expand Up @@ -1063,7 +1063,7 @@ _git_clean ()
esac

# XXX should we check for -x option ?
__git_complete_index_file "--others"
__git_complete_index_file "--others --directory"
}

_git_clone ()
Expand Down

0 comments on commit b7f5716

Please sign in to comment.