klippy: Report repo version as "dirty" if there are untracked python files

Check for untracked files in the klippy/extras/ and klippy/kinematics/
directories and report those files in the log.  This helps identify
code modifications when inspecting a log.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor committed 2023-05-02 11:40:18 -04:00
1 parent 3b0729c949
commit 1a24e7c5b6
3 files changed
+37 -9

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ def main(argv):
help='Name of distro this package is intended for'
)
args = p.parse_args()
print(util.get_git_version(from_file=False),
print(util.get_git_version(from_file=False)[0],
args.distroname.replace(' ', ''), sep='-')