Skip to content
Snippets Groups Projects
Commit 04d4f2d1 authored by Joseph Boudreau's avatar Joseph Boudreau Committed by Johannes Junggeburth
Browse files

fix gmcat. It should not fail when the working directory (or manually...

 fix gmcat.  It should not fail when the working directory (or manually specified directory) is not git managed. It should just skip the recording of tag information in that case
parent e2af3afe
No related branches found
No related tags found
1 merge request!298Fix gmcat. It should not fail when the working directory (or manually...
Pipeline #7029107 passed
......@@ -120,8 +120,7 @@ void publishMetaData( GMDBManager & db,
}
}
else {
std::cerr << std::endl << "ERROR: provided directory " << repoPath << " is NOT inside a local git reporistory!" << std::endl;
throw std::runtime_error("Metadata not written!");
std::cerr << std::endl << "WARNING: no information on User repository will be written to metadata. " << std::endl;
}
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment