Show More
@@ -240,11 +240,11 b' class GitChangeset(BaseChangeset):' | |||
|
240 | 240 | which is generally not good. Should be replaced with algorithm |
|
241 | 241 | iterating commits. |
|
242 | 242 | """ |
|
243 |
cmd = 'log --pretty="format: |
|
|
243 | cmd = 'log --pretty="format: %%H" -s -p %s -- "%s"' % ( | |
|
244 | 244 | self.id, path |
|
245 | 245 | ) |
|
246 | 246 | so, se = self.repository.run_git_command(cmd) |
|
247 |
ids = re.findall(r' |
|
|
247 | ids = re.findall(r'[0-9a-fA-F]{40}', so) | |
|
248 | 248 | return [self.repository.get_changeset(id) for id in ids] |
|
249 | 249 | |
|
250 | 250 | def get_file_annotate(self, path): |
General Comments 0
You need to be logged in to leave comments.
Login now