Commit ·
ff09ecc
1
Parent(s): af3d2c7
Update get_single_diffs.py
Browse files25 unmodified lines2627282930313225 unmodified linescompleted = run_in_shell("git fetch --depth 2 origin " + commit, cwd=cwd)# If it times out as repo requires a usernameif completed.returncode != 0:return (new_contents, "")git_diff = run_in_shell(f"git diff {commit}^ {commit}", cwd=cwd).stdout.decode()return git_diff25 unmodified lines2627282930313225 unmodified linescompleted = run_in_shell("git fetch --depth 2 origin " + commit, cwd=cwd)# If it times out as repo requires a usernameif completed.returncode != 0:return ""git_diff = run_in_shell(f"git diff {commit}^ {commit}", cwd=cwd).stdout.decode()return git_diff
get_single_diffs.py+1-1