| Summary: | [server] Cannot pull a cloned repository | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> |
| Component: | Client | Assignee: | Tomasz Zarna <tomasz.zarna> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Szymon.Brandys |
| Version: | 0.2 | ||
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | 339354 | ||
| Bug Blocks: | |||
|
Description
John Arthorne
Can you tell which version of JGit have been used to create the clone? It looks like a dupe of bug 336621. This may occur with builds made after 20110204 (bug 330898) but before 20110213 (bug 336621). I just pulled the latest org.eclipse.jgit from their master repo, and I get the same problem. Here is the commit id of my current jgit: f67e5602af72b7b2238eb6f6fcdc206a47edabd5 Is there some manual configuration I can do to workaround it? Here is the config for a repository I just cloned via Orion UI: C:\1target\foo\.userarea\johna\.gitclone\A>git config -l core.symlinks=false core.autocrlf=true color.diff=auto pack.packsizelimit=2g help.format=html http.sslcainfo=/bin/curl-ca-bundle.crt sendemail.smtpserver=/bin/msmtp.exe core.autocrlf=true user.name=John Arthorne user.email=John_Arthorne@ca.ibm.com core.repositoryformatversion=0 core.filemode=false core.logallrefupdates=true core.autocrlf=false remote.origin.url=http://git.eclipse.org/c/e4/org.eclipse.orion.client.git/ remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* branch.HEAD.remote=origin branch.HEAD.merge=HEAD (In reply to comment #3) > Is there some manual configuration I can do to workaround it? "git checkout master" No matter if bug 339354 gets fixed or not I will provide a temporary workaround for this problem on our side. We don't want to get into a situation similar to the one with "amend" - bug 339242. I hoped I will be able to do "git checkout master" with JGit API just after a clone is created on the server. Unfortunately, bug 339354 prevents me from doing that as well :/ Ok, moving to M7. Added a test[1] that verifies it's fixed, at least in JGit 0.12.0.201104110422. [1] http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/commit/?id=2ee758a4db1f83dfe7f6d5eb32bc5f01f4ef0b7e |