Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sg/complete-untracked-filter'
author
Jonathan Nieder
<jrnieder@gmail.com>
Wed, 25 Sep 2013 06:27:44 +0000
(23:27 -0700)
committer
Jonathan Nieder
<jrnieder@gmail.com>
Wed, 25 Sep 2013 06:27:44 +0000
(23:27 -0700)
* sg/complete-untracked-filter:
completion: improve untracked directory filtering for filename completion
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
(from parent 1:
40b7732
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index e1b73130723a57e7f641236331699e67bb0d4d82..86f77345fdd7ed24d8c76ac33900ff65bdaa32fa 100644
(file)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-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 ()
@@
-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 ()