aboutsummaryrefslogtreecommitdiffstats
path: root/repository
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-13 22:53:53 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-13 22:53:53 +0200
commit55aef8c38773a7cce39a5e154f8221a4b817ac04 (patch)
tree6fb23c7f099a69c9abfdca7f05fee108f3ec6786 /repository
parent35d64e4f9e3e0a0ffd041e430a64650bb8ea71fa (diff)
downloadgit-bug-55aef8c38773a7cce39a5e154f8221a4b817ac04.tar.gz
implement AddComment
Diffstat (limited to 'repository')
-rw-r--r--repository/git.go6
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()
}