summaryrefslogtreecommitdiff
path: root/Git/Construct.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-11-05 13:38:37 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-11-05 13:38:37 -0400
commite96c613c026c2d0bd6cce7210b058533d3ce972c (patch)
treea44c598f4b1047593f4c856fdd26e9ac8400556d /Git/Construct.hs
parent70db4ebffa5a66ac97791d6780cb203ad6ac642f (diff)
pass -c option on to all git commands run
The -c option now not only modifies the git configuration seen by git-annex, but it is passed along to every git command git-annex runs. This was easy to plumb through because gitCommandLine is already used to construct every git command line, to add --git-dir and --work-tree
Diffstat (limited to 'Git/Construct.hs')
-rw-r--r--Git/Construct.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Git/Construct.hs b/Git/Construct.hs
index cd998591e..71a13f49f 100644
--- a/Git/Construct.hs
+++ b/Git/Construct.hs
@@ -230,6 +230,7 @@ newFrom l = return Repo
, remotes = []
, remoteName = Nothing
, gitEnv = Nothing
+ , gitGlobalOpts = []
}