Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 404 when creating a pull request on branch "develop" #4038

Closed
1 of 6 tasks
smiquee opened this issue Jan 16, 2017 · 3 comments
Closed
1 of 6 tasks

Error 404 when creating a pull request on branch "develop" #4038

smiquee opened this issue Jan 16, 2017 · 3 comments

Comments

@smiquee
Copy link

smiquee commented Jan 16, 2017

  • Gogs version (or commit ref): 0.9.97.0901
  • Git version: 1.8.3.1
  • Operating system: RHEL7.2
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Can you reproduce the bug at https://try.gogs.io: ** => unable to create a repository on it **
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

2017/01/16 16:16:53 [...uters/repo/commit.go:230 CompareDiff()] [E] GetCommit: exit status 128 - fatal: ambiguous argument 'USER': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'

Description

You fall in a 404 error when trying to do a pull request on a "develop" branch.
What is very strange is that it appears only when the branch you want to compare in the origin repository is named "develop". I tried other combinations, and don't fall in this error. I'll try to check with different git versions.
...

@smiquee
Copy link
Author

smiquee commented Jan 20, 2017

It is the same error with git 2.7.4

@unknwon
Copy link
Member

unknwon commented Jan 25, 2017

Hi, have you tried latest master branch with install from source code? Because this issue is fixed.

@unknwon unknwon added the status: needs feedback Tell me more about it label Jan 25, 2017
@smiquee
Copy link
Author

smiquee commented Feb 2, 2017

It is fixed by build 0.9.128 :)

@smiquee smiquee closed this as completed Feb 2, 2017
@unknwon unknwon removed the status: needs feedback Tell me more about it label Feb 2, 2017
Martchus pushed a commit to Martchus/gogs that referenced this issue Aug 27, 2018
…s#4038)

* add i18n section in config cheat sheet, reordered app.ini.sample

* fix wrong default config
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants