Commit 120384fc by usual2970

as

parent 5d69cb4f
...@@ -33,7 +33,7 @@ type PData struct{ ...@@ -33,7 +33,7 @@ type PData struct{
* @return {[type]} [description] * @return {[type]} [description]
*/ */
func (c *GitController) Hook() { func (c *GitController) Hook() {
repoPath:="/var/www/worry/" repoPath:="/var/www/static.yidianling.com/"
options:=git.PullRemoteOptions{false,0} options:=git.PullRemoteOptions{false,0}
info,_:=git.Pull(repoPath,options) info,_:=git.Pull(repoPath,options)
re := regexp.MustCompile("\\s+(.*)\\s+\\|\\s+\\d+\\s.*\n") re := regexp.MustCompile("\\s+(.*)\\s+\\|\\s+\\d+\\s.*\n")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment