Skip to content

Commit

Permalink
use the short revision (9 characters)
Browse files Browse the repository at this point in the history
  • Loading branch information
guicho271828 committed Jan 14, 2025
1 parent ec75d49 commit 0613123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ add_executable(downward planner.cc)

# write git SHA1 hash into a header file
execute_process(
COMMAND git log -1 "--format=format:%H%n" HEAD
COMMAND git log -1 "--format=format:%h%n" HEAD
OUTPUT_VARIABLE GIT_REVISION
RESULT_VARIABLE GIT_REVISION_CODE
OUTPUT_STRIP_TRAILING_WHITESPACE
Expand Down

0 comments on commit 0613123

Please sign in to comment.