Skip to content

Commit

Permalink
Use 8 characters for git commit hash
Browse files Browse the repository at this point in the history
  • Loading branch information
gsurkov committed Oct 12, 2021
1 parent 4af30a0 commit 7016000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qflipper_common.pri
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ GIT_VERSION = $$system("git describe --tags --abbrev=0","lines", HAS_VERSION)
GIT_VERSION = unknown
}

GIT_COMMIT = $$system("git rev-parse --short HEAD","lines", HAS_COMMIT)
GIT_COMMIT = $$system("git rev-parse --short=8 HEAD","lines", HAS_COMMIT)
!equals(HAS_COMMIT, 0) {
GIT_COMMIT = unknown
}
Expand Down

0 comments on commit 7016000

Please sign in to comment.