Show More
@@ -83,7 +83,8 b' class GitInMemoryChangeset(BaseInMemoryC' | |||
|
83 | 83 | curtree = newtree |
|
84 | 84 | parent[reversed_dirnames[-1]] = DIRMOD, curtree.id |
|
85 | 85 | else: |
|
86 |
parent.add(node.mode, |
|
|
86 | parent.add(name=node_path, mode=node.mode, hexsha=blob.id) | |
|
87 | ||
|
87 | 88 | new_trees.append(parent) |
|
88 | 89 | # Update ancestors |
|
89 | 90 | for parent, tree, path in reversed([(a[1], b[1], b[0]) for a, b in |
@@ -123,7 +124,7 b' class GitInMemoryChangeset(BaseInMemoryC' | |||
|
123 | 124 | commit.parents = [p._commit.id for p in self.parents if p] |
|
124 | 125 | commit.author = commit.committer = safe_str(author) |
|
125 | 126 | commit.encoding = ENCODING |
|
126 |
commit.message = safe_str(message) |
|
|
127 | commit.message = safe_str(message) | |
|
127 | 128 | |
|
128 | 129 | # Compute date |
|
129 | 130 | if date is None: |
General Comments 0
You need to be logged in to leave comments.
Login now