MCPcopy Create free account
hub / github.com/pytorch/pytorch / commit_title

Function commit_title

scripts/release_notes/common.py:164–167  ·  view source on GitHub ↗
(commit_hash)

Source from the content-addressed store, hash-verified

162
163
164def commit_title(commit_hash):
165 cmd = f"git log -n 1 --pretty=format:%s {commit_hash}"
166 ret, out, err = run(cmd)
167 return out if ret == 0 else None
168
169
170def commit_files_changed(commit_hash):

Callers 1

get_featuresFunction · 0.85

Calls 1

runFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…