Skip to content

Commit 011ad5b

Browse files
authored
Merge pull request #993 from alexandr-san4ez/T7576-current
T7576: Remove unnecessary code for checking dirty build status
2 parents 1155ae7 + 71ade9d commit 011ad5b

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

scripts/image-build/build-vyos-image

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,6 @@ if __name__ == "__main__":
409409
repo = git.Repo('.', search_parent_directories=True)
410410
# Retrieve the Git commit ID of the repository, 14 charaters will be sufficient
411411
build_git = repo.head.object.hexsha[:14]
412-
# If somone played around with the source tree and the build is "dirty", mark it
413-
if repo.is_dirty():
414-
build_git += "-dirty"
415412

416413
# Retrieve git branch name or current tag
417414
# Building a tagged release might leave us checking out a git tag that is not the tip of a named branch (detached HEAD)

0 commit comments

Comments
 (0)