diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-13 22:53:53 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-13 22:53:53 +0200 |
commit | 55aef8c38773a7cce39a5e154f8221a4b817ac04 (patch) | |
tree | 6fb23c7f099a69c9abfdca7f05fee108f3ec6786 /repository/git.go | |
parent | 35d64e4f9e3e0a0ffd041e430a64650bb8ea71fa (diff) | |
download | git-bug-55aef8c38773a7cce39a5e154f8221a4b817ac04.tar.gz |
implement AddComment
Diffstat (limited to 'repository/git.go')
-rw-r--r-- | repository/git.go | 6 |
1 files changed, 0 insertions, 6 deletions
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() } |