changeset 45:048e391423a1

note about git config
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 05 Apr 2013 13:37:24 -0700
parents 693f209fdbaa
children cee8bf9cc5a2
files buttercup/source.py
diffstat 1 files changed, 14 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/buttercup/source.py	Sun Mar 24 00:47:55 2013 -0700
+++ b/buttercup/source.py	Fri Apr 05 13:37:24 2013 -0700
@@ -71,8 +71,20 @@
             if not os.path.exists(self.srcdir):
                 os.makedirs(self.srcdir)
             call(['git', 'clone', self.uri], cwd=self.srcdir)
-            # TODO: add a more intelligent .git/config
-
+            # TODO: add a more intelligent .git/config, e.g.
+# [core]
+#         repositoryformatversion = 0
+#         filemode = true
+#         bare = false
+#         logallrefupdates = true
+# [remote "origin"]
+#         fetch = +refs/heads/*:refs/remotes/origin/*
+#         url = git://github.com/mozilla/toolbox.git
+#         pushurl = git@github.com:mozilla/toolbox.git
+# [branch "master"]
+#         remote = origin
+#         merge = refs/heads/master
+# see: http://git.661346.n2.nabble.com/Separate-default-push-pull-td4555821.html
 
 def sources(source_dict, **kwargs):
     """