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

[PATCH v2 2/2] bash: add support for 'git stash pop --index' option

From
SZEDER Gábor <szeder@ira.uka.de>
Date
Jun 8, 2009, 22:57 UTC
Message-ID
<e380823e9e6c895eeb375b2c5f021ff022798d30.1244501726.git.szeder@ira.uka.de>
In-Reply-To
<d07a10275620808bc378340cc8450d3e8de8cf7e.1244501726.git.szeder@ira.uka.de>
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
---
 contrib/completion/git-completion.bash |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index fa899eb..edeedda 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1884,10 +1884,10 @@ _git_stash ()
 		save,--*)
 			__gitcomp "--keep-index"
 			;;
-		apply,--*)
+		apply,--*|pop,--*)
 			__gitcomp "--index"
 			;;
-		show,--*|drop,--*|pop,--*|branch,--*)
+		show,--*|drop,--*|branch,--*)
 			COMPREPLY=()
 			;;
 		show,*|apply,*|drop,*|pop,*|branch,*)
-- 
1.6.3.2.252.g5b6b0
Previous: SZEDER GáborNext: Junio C Hamano
Message 8 of 9 in “Documentation: mention 'git stash pop --index' option explicitly”
  1. 1/2 Documentation: mention 'git stash pop --index' option explicitlySZEDER Gábor, Jun 8, 2009
  2. 2/2 bash: add support for 'git stash pop --index' optionSZEDER Gábor, Jun 8, 2009
  3. Brandon CaseyJun 8, 2009
  4. Brandon CaseyJun 8, 2009
  5. Junio C HamanoJun 8, 2009
  6. SZEDER GáborJun 8, 2009
  7. 1/2 Documentation: mention 'git stash pop --index' option explicitlySZEDER Gábor, Jun 8, 2009
  8. 2/2 bash: add support for 'git stash pop --index' optionSZEDER Gábor, Jun 8, 2009
  9. Junio C HamanoJun 9, 2009

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.