Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Will egit create a "generic" local branch name if the remote branch name is very long?
Will egit create a "generic" local branch name if the remote branch name is very long? [message #1749372] Mon, 05 December 2016 23:11
David M. Karr is currently offline David M. KarrFriend
Messages: 521
Registered: July 2009
Senior Member
I often will want to check out pull request branches that are created by other people on the team. In Egit, when I say "Switch to ...", I have to select the remote branch, and it asks me if I want to create a local branch, and I confirm that. What I think I'm seeing is that if the remote branch name is somewhat long, Eclipse/Egit will create a somewhat generic local branch name.

For instance, I checked out a remote branch calls "PomsRestored ..." (total of 50 characters long), and EGit ended up creating a local branch for this called "task_7-USL_Jenkins_Pipeline_Jo". I have no idea what the "task_7" refers to, but I have a repo named "USL_JENKINS" that has a "pipeline job" defined in it. I'm not sure how it decides to concatenate those pieces.

What I really want is for the local branch name to be the same as the remote branch name. If there' s a length threshold that makes Egit go into this mode where it gives an alternate name, I need to know what that is.
Previous Topic:Have an option to sort (un)staged files by diretory
Next Topic:Subtree or subrepo support in egit
Goto Forum:
  


Current Time: Tue Sep 26 03:57:49 GMT 2017

Powered by FUDForum. Page generated in 0.02461 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software