From 355f9e1883725a1db3ec15c49ac866dc60f1a55e Mon Sep 17 00:00:00 2001
From: dana <dana@dana.is>
Date: Fri, 13 Mar 2020 09:46:14 -0500
Subject: [PATCH] unposted: _git: Fix copy/paste error in earlier commit that
 broke `git stash drop`

This was broken by workers/44923 (8aa84bd5fc44)

(cherry picked from commit 754658aff38e1bdf487c58bec6174cbecd019d11)
---
 ChangeLog                    | 3 +++
 Completion/Unix/Command/_git | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index fffb94aab..680fbaf3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2022-01-27  dana  <dana@dana.is>
 
+	* unposted: Completion/Unix/Command/_git: Fix copy/paste error
+	in earlier commit that broke `git stash drop`
+
 	* Marc Cornellà: security/82 (tweaked):
 	Functions/VCS_Info/VCS_INFO_formats: Fix typo in
 	hook_com[base-name_orig] assignment
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 97ab26512..675460dad 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
           ;;