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:
@@ -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='-')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user