(files)
| 51 | |
| 52 | |
| 53 | def has_changes(files): |
| 54 | command = [ |
| 55 | "git", |
| 56 | "diff", |
| 57 | "--no-patch", |
| 58 | "--exit-code", |
| 59 | point_of_divergence(), |
| 60 | "HEAD", |
| 61 | "--", |
| 62 | *files, |
| 63 | ] |
| 64 | return subprocess.call(command) != 0 |
| 65 | |
| 66 | |
| 67 | def has_uncommitted_changes(filename): |
no test coverage detected