•  
      request #15075 Use specific version of git in command
    Infos
    #15075
    Guilhem Bonnefille (CS) (gbonnefille)
    2020-07-17 11:06
    2020-07-06 17:19
    16344
    Details
    Use specific version of git in command
    A standard Tuleap installation comes with two installations of git:
    - /usr/bin
    - /opt/rh/sclo-git212/root/usr/bin/

    The Git_Exec class adapt path to the Git command in order to use the most specific one.

    The revListSinceStart function pipes two git commands but only one is adapted.

    A possible fix:

    $this->gitCmdWithOutput('rev-parse --not ' . $other_branches . ' | ' . this->getGitCommand() . ' rev-list --stdin ' . escapeshellarg($newrev), $output);
    SCM/Git
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2020-07-17
    Attachments
    Empty
    References
    Referencing request #15075
    Referenced by request #15075

    Artifact Tracker v5

    rel #14817 11.17

    Follow-ups

    User avatar
    Integrated into Tuleap 11.16.99.162

    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2020-07-17
    User avatar
    Thomas Gerbet (tgerbet)2020-07-16 15:02
    Thanks for the report!

    A patch is under review, see gerrit #19546.

    • Status changed from Verified to Under review
    • Reported in version changed from 11.15 to All
    User avatar
    Thomas Gerbet (tgerbet)2020-07-08 19:08
    • Status changed from New to Verified
    • Assigned to changed from None to Thomas Gerbet (tgerbet)
    • Platform cleared values: CentOS 6