From 55aef8c38773a7cce39a5e154f8221a4b817ac04 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Fri, 13 Jul 2018 22:53:53 +0200 Subject: implement AddComment --- repository/git.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'repository/git.go') diff --git a/repository/git.go b/repository/git.go index 92c7bb63..a55e451c 100644 --- a/repository/git.go +++ b/repository/git.go @@ -12,10 +12,6 @@ import ( "strings" ) -// This is used to have a different staging area than the regular git index -// when creating data in git -const gitEnvConfig = "GIT_INDEX_FILE=BUG_STAGING_INDEX" - // GitRepo represents an instance of a (local) git repository. type GitRepo struct { Path string @@ -29,8 +25,6 @@ func (repo *GitRepo) runGitCommandWithIO(stdin io.Reader, stdout, stderr io.Writ cmd.Stdout = stdout cmd.Stderr = stderr - //cmd.Env = append(cmd.Env, gitEnvConfig) - return cmd.Run() } -- cgit