• Nick Thomas's avatar
    Fix a bug displaying project commit anchors · 7d9fddca
    Nick Thomas authored
    A repository can be non-empty, yet lack a root_ref. When this is the
    case, we fail to generate a link to commits, resulting in a 500 error.
    
    Using the "default" default branch in this case allows us to generate a
    link. It leads to a location that will 404, but that's a better outcome
    than the current scenario.
    
    Changelog: fixed
    7d9fddca
329862-fix-project-path-generation.yml 96 Bytes