Merge branch 'mp/complete-paths'
authorJunio C Hamano <gitster@pobox.com>
Fri, 8 Feb 2013 23:28:42 +0000 (15:28 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Feb 2013 23:28:42 +0000 (15:28 -0800)
commitd931e2fb252ed2dc4ecdbc24683000da1ec8e989
treed702ed038336f44ef8127e11197d5848a2a9ec67
parent1d321b5ab32e333e082d803c4edcc0787a396ffa
parentfea16b47b603e7e4fa7fca198bd49229c0e5da3d
Merge branch 'mp/complete-paths'

The completion script used to let the default completer to suggest
pathnames, which gave too many irrelevant choices (e.g. "git add"
would not want to add an unmodified path).  Teach it to use a more
git-aware logic to enumerate only relevant ones.

* mp/complete-paths:
  git-completion.bash: add support for path completion
contrib/completion/git-completion.bash