don't create :commit or :tag fields if nil