aboutsummaryrefslogtreecommitdiffstats
path: root/repository
diff options
context:
space:
mode:
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()
}