From a690fcbaa9e5e2a3df8240c73344942211569f28 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Thu, 11 Jan 2024 07:45:11 -0600 Subject: [PATCH] do not require stash in git stash drop (#732) This fixes a small bug so that `git stash drop` doesn't _require_ a stash --- custom-completions/git/git-completions.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom-completions/git/git-completions.nu b/custom-completions/git/git-completions.nu index f457cc08..192b94e1 100644 --- a/custom-completions/git/git-completions.nu +++ b/custom-completions/git/git-completions.nu @@ -444,7 +444,7 @@ export extern "git stash show" [ # Drop a stashed change export extern "git stash drop" [ - stash: string@"nu-complete git stash-list" + stash?: string@"nu-complete git stash-list" ] # Create a new git repository