git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] bash: add new 'git stash' subcommands

From
SZEDER Gábor <szeder@ira.uka.de>
Date
Mar 10, 2008, 15:02 UTC
Message-ID
<1205161345-21120-3-git-send-email-szeder@ira.uka.de>
In-Reply-To
<1205161345-21120-2-git-send-email-szeder@ira.uka.de>
Namely 'save', 'drop', 'pop' and 'create'
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
---
 contrib/completion/git-completion.bash |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 0feed97..c194972 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1127,7 +1127,7 @@ _git_show ()
 
 _git_stash ()
 {
-	local subcommands='list show apply clear'
+	local subcommands='save list show apply clear drop pop create'
 	if [ -z "$(__git_find_subcommand "$subcommands")" ]; then
 		__gitcomp "$subcommands"
 	fi
-- 
1.5.4.4.481.g5075
Previous: SZEDER GáborNext: SZEDER Gábor
Message 3 of 5 in “bash: remove unnecessary conditions when checking for subcommands”
  1. 1/2 bash: remove unnecessary conditions when checking for subcommandsSZEDER Gábor, Mar 10, 2008
  2. 2/2 bash: refactor searching for subcommands on the command lineSZEDER Gábor, Mar 10, 2008
  3. bash: add new 'git stash' subcommandsSZEDER Gábor, Mar 10, 2008
  4. bash: add 'git svn' subcommands and optionsSZEDER Gábor, Mar 10, 2008
  5. Shawn O. PearceMar 10, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.