Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Jgit can't check out the name contains @ branch
Jgit can't check out the name contains @ branch [message #1785030] Sun, 08 April 2018 08:41 Go to next message
Jiang Yucheng is currently offline Jiang YuchengFriend
Messages: 1
Registered: April 2018
Junior Member
Jgit can't check out the name contains @ branch

index.php/fa/32557/0/

I check the code.
I find it.

index.php/fa/32558/0/
Re: Jgit can't check out the name contains @ branch [message #1785284 is a reply to message #1785030] Thu, 12 April 2018 06:26 Go to previous messageGo to next message
Christian Halstrick is currently offline Christian HalstrickFriend
Messages: 257
Registered: July 2009
Senior Member
That's right. JGit is not supporting branch names containing @ as last char. If it is not the last char like in test@1 then it works. I think that's a bug. Problematic is [1]. I'll propose a fix for that.

[1] https://github.com/eclipse/jgit/blob/v4.11.0.201803080745-r/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java#L689-690


Ciao
Chris
Re: Jgit can't check out the name contains @ branch [message #1785295 is a reply to message #1785284] Thu, 12 April 2018 08:05 Go to previous messageGo to next message
Christian Halstrick is currently offline Christian HalstrickFriend
Messages: 257
Registered: July 2009
Senior Member
see https://git.eclipse.org/r/#/c/121042/

Ciao
Chris
Re: Jgit can't check out the name contains @ branch [message #1786752 is a reply to message #1785295] Thu, 10 May 2018 15:08 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1039
Registered: July 2009
Senior Member
This fix was merged to the master branch and will be included in JGit 5.0.0
Previous Topic:No class files when including jgit as dependency
Next Topic:Can't connect to any repository
Goto Forum:
  


Current Time: Sat Nov 17 02:37:12 GMT 2018

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

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

Back to the top