Skip to content

Commit

Permalink
No Git_Sha output
Browse files Browse the repository at this point in the history
  • Loading branch information
Joachim26 authored Aug 15, 2023
1 parent 64937b7 commit bb4c63b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ string engine_info(bool to_uci) {

if constexpr (version == "dev")
{
ss << "_";
//ss << "_";
#ifdef GIT_DATE
ss << stringify(GIT_DATE);
#else
Expand All @@ -169,14 +169,15 @@ string engine_info(bool to_uci) {
date >> month >> day >> year;
ss << year << setw(2) << setfill('0') << (1 + months.find(month) / 4) << setw(2) << setfill('0') << day;
#endif

/*
ss << "_";

#ifdef GIT_SHA
ss << stringify(GIT_SHA);
#else
ss << "nogit";
#endif
*/
}

ss << (to_uci ? "\nid author ": " by ")
Expand Down

0 comments on commit bb4c63b

Please sign in to comment.