Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show the real commit hash for `./servo --version`, not the bundle hash #26720

Merged
merged 4 commits into from Jun 6, 2020
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Add missing brackets

  • Loading branch information
camelid committed May 31, 2020
commit dd4a558ce51201fe1657e0017471bd3aaa370ac8
@@ -742,7 +742,7 @@ def build_env(self, hosts_file_path=None, target=None, is_build=False, test_unit
git_sha = git_bundle_subject.split(' ')[-1]
# Verify that it's a valid commit
# NOTE: this will pass even if `git_sha` is 'master' or another branch or ref
subprocess.check_call('git', 'cat-file', 'commit', git_sha)
subprocess.check_call(['git', 'cat-file', 'commit', git_sha])

git_is_dirty = bool(subprocess.check_output([
'git', 'status', '--porcelain'
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.