diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-07-26 14:46:05 +0200 |
---|---|---|
committer | Michael Trier <mtrier@gmail.com> | 2008-07-28 00:33:02 -0400 |
commit | 14cef2bb3e0de02f306fa37c268d6c276326c002 (patch) | |
tree | e91fb271de73f006a160fcaea928cd266efb07db /lib/git/blob.py | |
parent | d3ce120c9acc7d9d4ce86aa1f07b027d1c45a9a1 (diff) | |
download | gitpython-14cef2bb3e0de02f306fa37c268d6c276326c002.tar.gz |
Avoid stripping newlines in blob data.
(cherry picked from commit ccca12ee26e40fb4c4df2d77154ed496144569b9)
Diffstat (limited to 'lib/git/blob.py')
-rw-r--r-- | lib/git/blob.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/blob.py b/lib/git/blob.py index a6768afb..fd83fe1d 100644 --- a/lib/git/blob.py +++ b/lib/git/blob.py @@ -57,7 +57,7 @@ class Blob(object): Returns str """ - self.data_stored = self.data_stored or self.repo.git.cat_file(self.id, **{'p': True}) + self.data_stored = self.data_stored or self.repo.git.cat_file(self.id, **{'p': True, 'with_raw_output': True}) return self.data_stored @property |