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

[PATCH] completion: add branch options --contains --merged --no-merged

From
EREric Raible <raible@gmail.com>
Date
Jul 7, 2008, 20:41 UTC
Message-ID
<279b37b20807071341k3551e61cl10c5969600ba8218@mail.gmail.com>
Signed-off-by: Eric Raible <raible@gmail.com>
---
 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 0eb8df0..22e109d 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -546,7 +546,7 @@ _git_branch ()
 	--*)
 		__gitcomp "
 			--color --no-color --verbose --abbrev= --no-abbrev
-			--track --no-track
+			--track --no-track --contains --merged --no-merged
 			"
 		;;
 	*)
-- 
1.5.6.1.1071.g76fb.dirty
Next: Shawn O. Pearce
Message 1 of 12 in “completion: add branch options --contains --merged --no-merged”
  1. completion: add branch options --contains --merged --no-mergedEric Raible, Jul 7, 2008
  2. Shawn O. PearceJul 8, 2008
  3. Junio C HamanoJul 8, 2008
  4. Johannes SchindelinJul 8, 2008
  5. bash: offer only paths after '--'SZEDER Gábor, Jul 8, 2008
  6. Eric RaibleJul 8, 2008
  7. Junio C HamanoJul 8, 2008
  8. Shawn O. PearceJul 8, 2008
  9. Junio C HamanoJul 8, 2008
  10. SZEDER GáborJul 8, 2008
  11. Shawn O. PearceJul 8, 2008
  12. Junio C HamanoJul 9, 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.