151
151
if self.args.git_path is not None else "HEAD")
152
152
status["revision_id"] = self.run_build_command(
153
["git", "rev-parse", rev],
155
["git", "rev-parse", rev + "^{}"],
154
156
cwd=os.path.join("/build", self.args.name),
155
157
get_output=True).rstrip("\n")