Added _sha1 helper command to quickly identify a
task dev version.
This commit is contained in:
@@ -529,6 +529,20 @@ int handleCompletionVersion (std::string& outs)
|
||||
return 0;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// A simple SHA1 display for use during development to identify which task
|
||||
// version one is running.
|
||||
int handleSha1 (std::string& outs)
|
||||
{
|
||||
#ifdef HAVE_COMMIT
|
||||
outs = COMMIT;
|
||||
#else
|
||||
outs = "No SHA1 available";
|
||||
#endif
|
||||
outs += "\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Temporary command to display urgency for a task.
|
||||
int handleUrgency (std::string& outs)
|
||||
|
||||
Reference in New Issue
Block a user