about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_git2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c96d98b3..6fdaccb7f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2020-03-13  dana  <dana@dana.is>
 
+	* unposted: Completion/Unix/Command/_git: Fix copy/paste error
+	in earlier commit that broke `git stash drop`
+
 	* 45535: Completion/Unix/Command/_lz4: Order compression levels
 	numerically
 
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 8487ebc1a..9a44ddbbe 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1809,7 +1809,7 @@ _git-stash () {
           _nothing
           ;;
         (drop)
-          _arguments -S $endopt \_git-notes
+          _arguments -S $endopt \
             '(-q --quiet)'{-q,--quiet}'[suppress all output]' \
             ':: :__git_stashes' && ret=0
           ;;