Menu

#918 Support Git branch in Team Project

5.8
closed-fixed
Team (3) Git (2)
5
2024-02-02
2013-11-17
Yu Tang
No

OmegaT forces to use "master" for a working branch. It is not available to change this behavior.
If there is the way to specify branch name for Team Project, it allows to users to use a topic branch for localization instead of "origin/master."

Discussion

  • Christoph

    Christoph - 2014-03-07

    +1 here too
    since master may not actually exist OmegaT should use the branch that matches the HEAD ref in the remote repository

    example from a repo that has stable as the default branch

    git ls-remote origin
    f6a8d4e56d3bd3909704319e71625bdf0f4d5f71 HEAD
    3478c391b12e85a807d0a2355040bc7a2b089a58 refs/heads/master
    f6a8d4e56d3bd3909704319e71625bdf0f4d5f71 refs/heads/stable
    (docs: https://www.kernel.org/pub/software/scm/git/docs/git-clone.html see --branch/-b)

     
  • Héctor Cartagena

    +1

     
  • Hiroshi Miura

    Hiroshi Miura - 2021-10-12

    @yu-tang Now I propose an implementation of the feature
    https://github.com/omegat-org/omegat/pull/134

    It works for me. I've tested with working branch translation on the project default branch is main.
    Could you test on your environment?

     
    • Hiroshi Miura

      Hiroshi Miura - 2021-12-18

      @yu-tang does it work for you?

       
  • Hiroshi Miura

    Hiroshi Miura - 2023-04-21
    • status: open --> open-fixed
    • assigned_to: Hiroshi Miura
    • Group: future --> 5.8
     
  • Hiroshi Miura

    Hiroshi Miura - 2024-02-02
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB