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

[PATCH (topgit) 2/2] tg-completion: complete options for `tg remote`

From
Kirill Smelkov <kirr@landau.phys.spbu.ru>
Date
Jan 5, 2009, 15:08 UTC
Message-ID
<954f3890c44839e0fe3f6bcbb8d477efc35292c8.1231167904.git.kirr@landau.phys.spbu.ru>
In-Reply-To
<cover.1231167904.git.kirr@landau.phys.spbu.ru>
Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
---
 contrib/tg-completion.bash |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/contrib/tg-completion.bash b/contrib/tg-completion.bash
index 4d69c05..9641d04 100755
--- a/contrib/tg-completion.bash
+++ b/contrib/tg-completion.bash
@@ -369,6 +369,11 @@ _tg_remote ()
 	local cur="${COMP_WORDS[COMP_CWORD]}"
 
 	case "$cur" in
+	-*)
+		__tgcomp "
+			--populate
+		"
+		;;
 	*)
 		__tgcomp "$(__tg_remotes)"
 	esac
-- 
1.6.1.40.g8ea6a
Previous: Kirill SmelkovNext: martin f krafft
Message 3 of 4 in “tg-completion.bash update”
  1. 0/2 tg-completion.bash updateKirill Smelkov, Jan 5, 2009
  2. 1/2 tg-completion: complete options for `tg summary`Kirill Smelkov, Jan 5, 2009
  3. 2/2 tg-completion: complete options for `tg remote`Kirill Smelkov, Jan 5, 2009
  4. martin f krafftJan 5, 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.