diff options
Diffstat (limited to 'git/index/typ.py')
-rw-r--r-- | git/index/typ.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git/index/typ.py b/git/index/typ.py index a71fc2c6..222252c5 100644 --- a/git/index/typ.py +++ b/git/index/typ.py @@ -172,4 +172,5 @@ class IndexEntry(BaseIndexEntry): def from_blob(cls, blob, stage=0): """:return: Minimal entry resembling the given blob object""" time = pack(">LL", 0, 0) - return IndexEntry((blob.mode, blob.binsha, stage << CE_STAGESHIFT, blob.path, time, time, 0, 0, 0, 0, blob.size)) + return IndexEntry((blob.mode, blob.binsha, stage << CE_STAGESHIFT, blob.path, + time, time, 0, 0, 0, 0, blob.size)) |