Skip to content

Commit

Permalink
Print the stdout/stderr from the failed git command (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlettroscoe committed Jan 4, 2024
1 parent 00b3c6f commit 80191d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tribits/core/package_arch/TribitsGitRepoVersionInfo.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function(tribits_generate_single_repo_version_string gitRepoDir

if (NOT gitCmndRtn STREQUAL 0)
message(FATAL_ERROR "ERROR, ${GIT_EXECUTABLE} command returned ${gitCmndRtn}!=0"
" for repo ${gitRepoDir}!")
" with output '${gitCmndOutput}' for repo ${gitRepoDir}!")
set(gitVersionLine "Error, could not get version info!")
else()
set(gitVersionLine "${gitCmndOutput}")
Expand Down

0 comments on commit 80191d4

Please sign in to comment.