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