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

[PATCH] Add completion for git-svn mkdirs,reset,and gc

From
Robert Zeh <robert.a.zeh@gmail.com>
Date
Dec 30, 2009, 00:58 UTC
Message-ID
<C065517F-C829-46D1-8D1A-88C18EE2112F@gmail.com>
Signed-off-by: Robert Zeh <robert.a.zeh@gmail.com>
---
contrib/completion/git-completion.bash |    7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index fbfa5f2..c65462c 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2022,7 +2022,7 @@ _git_svn ()
		init fetch clone rebase dcommit log find-rev
		set-tree commit-diff info create-ignore propget
		proplist show-ignore show-externals branch tag blame
-		migrate
+		migrate mkdirs reset gc
		"
	local subcommand="$(__git_find_on_cmdline "$subcommands")"
	if [ -z "$subcommand" ]; then
@@ -2069,7 +2069,7 @@ _git_svn ()
			__gitcomp "--stdin $cmt_opts $fc_opts"
			;;
		create-ignore,--*|propget,--*|proplist,--*|show-ignore,--*|\
-		show-externals,--*)
+		show-externals,--*|mkdirs,--*)
			__gitcomp "--revision="
			;;
		log,--*)
@@ -2106,6 +2106,9 @@ _git_svn ()
				--no-auth-cache --username=
				"
			;;
+		reset,--*)
+			__gitcomp "--revision= --parent"
+			;;
		*)
			COMPREPLY=()
			;;
-- 
1.6.6.rc3.dirty
Next: Shawn O. Pearce
Message 1 of 3 in “Add completion for git-svn mkdirs,reset,and gc”
  1. Add completion for git-svn mkdirs,reset,and gcRobert Zeh, Dec 30, 2009
  2. Shawn O. PearceDec 30, 2009
  3. Junio C HamanoDec 30, 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.