Skip to content
Snippets Groups Projects
Commit 81e09de0 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 4979628 from b2060cf9 to qt-release

Change-Id: I8052a4568385e4b3a74bd17c664869da2c7f4f9c
parents 2da35e17 b2060cf9
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,7 @@ def list_remotes(proj_path): ...@@ -60,7 +60,7 @@ def list_remotes(proj_path):
def get_commits_ahead(proj_path, branch, base_branch): def get_commits_ahead(proj_path, branch, base_branch):
"""Lists commits in `branch` but not `base_branch`.""" """Lists commits in `branch` but not `base_branch`."""
out = _run(['git', 'rev-list', '--left-only', out = _run(['git', 'rev-list', '--left-only', '--ancestry-path',
'{}...{}'.format(branch, base_branch)], '{}...{}'.format(branch, base_branch)],
proj_path) proj_path)
return out.stdout.decode('utf-8').splitlines() return out.stdout.decode('utf-8').splitlines()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment