Skip to content

Commit

Permalink
Do not include git revision / branch for the sake of stability
Browse files Browse the repository at this point in the history
  • Loading branch information
asl committed May 21, 2024
1 parent dd2ec21 commit 5bc1bfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,7 @@ void GFAPathWriter::WritePaths12(const std::vector<EdgeId> &edges,
void GFAPathWriter::WriteHeader() {
os_ << "H\t"
<< "VN:Z:" << (version_ == Version::GFAv11 ? "1.1" : "1.2") << '\t'
<< "sp:Z:" << version::flavour() << '-' << version::package() << '\t'
<< "sg:Z:" << version::gitrev() << '\t'
<< "sr:Z:" << version::refspec() << '\n';
<< "sp:Z:" << version::flavour() << '-' << version::package() << '\n';
}


Expand Down
4 changes: 1 addition & 3 deletions src/common/io/graph/gfa_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,5 @@ void GFAWriter::WriteVertexLinks(const VertexId &vertex, const Component &gc) {

void GFAWriter::WriteHeader() {
os_ << "H\t"
<< "sp:Z:" << version::flavour() << '-' << version::package() << '\t'
<< "sg:Z:" << version::gitrev() << '\t'
<< "sr:Z:" << version::refspec() << '\n';
<< "sp:Z:" << version::flavour() << '-' << version::package() << '\n';
}

0 comments on commit 5bc1bfe

Please sign in to comment.