OSDN Git Service

yash: share/completion/git-clone: -c オプションの引数の補完に対応
authormagicant <magicant@048f04df-13f5-43d7-8114-9f9ceecaec24>
Fri, 3 May 2013 12:53:16 +0000 (12:53 +0000)
committermagicant <magicant@048f04df-13f5-43d7-8114-9f9ceecaec24>
Fri, 3 May 2013 12:53:16 +0000 (12:53 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/yash/yash/trunk@3241 048f04df-13f5-43d7-8114-9f9ceecaec24

share/completion/git-clone

index c184257..e26c0a1 100644 (file)
@@ -39,7 +39,10 @@ function completion/git::clone:arg {
 #              (b|--branch)
 #                      ;;
                (c|--config)
-                       # TODO config
+                       if command -vf completion//git::completeoptionname >/dev/null 2>&1 ||
+                                       . -AL completion/git-config; then
+                               command -f completion//git::completeoptionname =
+                       fi
                        ;;
 #              (--depth)
 #                      ;;