From 073851ee6629593a13a6c62743d0a891a96d1e93 Mon Sep 17 00:00:00 2001 From: shaoying Date: Fri, 14 Aug 2020 14:29:28 +0800 Subject: [PATCH] opt git --- misc/git/git.go | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/git/git.go b/misc/git/git.go index 2a028b09..9421e698 100644 --- a/misc/git/git.go +++ b/misc/git/git.go @@ -311,7 +311,6 @@ var Index = &ice.Context{Name: GIT, Help: "代码库", } else { m.Option(cli.CMD_DIR, path.Join("usr", m.Option("name"))) } - m.Option(cli.CMD_DIR, path.Join("usr", m.Option("name"))) m.Cmdy(cli.SYSTEM, "git", "push") }}, }, Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {