commit | 303a82f33a1360036b6f70864d3099f9d803f2c7 | [log] [tgz] |
---|---|---|
author | Chirayu Desai <chirayudesai1@gmail.com> | Tue Aug 19 22:57:17 2014 +0530 |
committer | Chirayu Desai <chirayudesai1@gmail.com> | Tue Aug 19 23:05:44 2014 +0530 |
tree | 8a6b2c95ac0b06886cabb3118c885d3b128da491 | |
parent | a8d539189e1c788663f022cbebd3b5ff28aaeb4b [diff] [blame] |
Don't open non-binary files as binary * Don't pen the git config file, and the git ".lock" file as binary. Change-Id: I7b3939658456f2fd0a0500443cdd8d1ee1a4459d
diff --git a/git_config.py b/git_config.py index a667b3f..aa07d1b 100644 --- a/git_config.py +++ b/git_config.py
@@ -697,7 +697,7 @@ self._Set('merge', self.merge) else: - fd = open(self._config.file, 'ab') + fd = open(self._config.file, 'a') try: fd.write('[branch "%s"]\n' % self.name) if self.remote: