diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_git | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog index e71fd3a73..3220b6291 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-09-22 m0viefreak <m0viefreak.cm@googlemail.com> + + * 31754: Completion/Unix/Command/_git: _git: git rm: make git rm + --cached work as intended + 2013-09-22 Øystein Walle <oystwa@gmail.com> * 31752: Completion/Unix/Command/_git: _git: change completion diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 2dc9ed2cc..d6f44e679 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -1344,11 +1344,7 @@ _git-rm () { case $state in (file) - if [[ -n ${opt_args[(I)--cached]} ]]; then - __git_changed-in-index_files && ret=0 - else - __git_cached_files && ret=0 - fi + __git_cached_files && ret=0 ;; esac |