Show More
@@ -443,7 +443,8 b' def git_post_receive(unused_repo_path, r' | |||
|
443 | 443 | cmd, env=os.environ.copy()) |
|
444 | 444 | heads = stdout |
|
445 | 445 | heads = heads.replace(push_ref['ref'], '') |
|
446 |
heads = ' '.join(head for head |
|
|
446 | heads = ' '.join(head for head | |
|
447 | in heads.splitlines() if head) or '.' | |
|
447 | 448 | cmd = [settings.GIT_EXECUTABLE, 'log', '--reverse', |
|
448 | 449 | '--pretty=format:%H', '--', push_ref['new_rev'], |
|
449 | 450 | '--not', heads] |
General Comments 0
You need to be logged in to leave comments.
Login now