()
| 51 | |
| 52 | |
| 53 | def get_most_recent_commit(): |
| 54 | result = subprocess.run(["git", "log", "-n", "1", "--pretty=format:%H"], capture_output=True) |
| 55 | if result.returncode != 0: |
| 56 | print("\nError getting most recent git commit") |
| 57 | sys.exit(1) |
| 58 | |
| 59 | return result.stdout.decode("utf-8").strip() |
| 60 | |
| 61 | |
| 62 | def has_changed_since(dir, last_commit): |