Lines Matching full:commit
7 commit to find the latest english commit from the translation commit
22 commit 42fb9cfd5b18 ("Documentation: dev-tools: Add link to RV docs")
42 def get_latest_commit_from(file_path, commit): argument
43 """Get the latest commit from the specified commit for the specified file"""
44 command = f"git log --pretty=format:%H%n%aD%n%cD%n%n%B {commit} -1 -- {file_path}"
63 """Get the latest origin commit from the translation commit"""
68 logging.debug("tracked origin commit id: %s", o_from_t["hash"])
83 def pretty_output(commit): argument
84 """Pretty print the commit message"""
85 command = f"git log --pretty='format:%h (\"%s\")' -1 {commit}"
91 def valid_commit(commit): argument
92 """Check if the commit is valid or not"""
93 msg = pretty_output(commit)
108 logging.error("Cannot find the latest commit for %s", file_path)
114 logging.error("Error: Cannot find the latest origin commit for %s", file_path)
125 for commit in commits:
126 if valid_commit(commit):
127 logging.info("commit %s", pretty_output(commit))