gogs/cmd
Unknwon afab38b0d7
routers/repo/pull: fix 404 on PR compare (#4074)
Due to recent code refactor, ctx.PullRequest is not initialized for
route repo.CompareAndPullRequest, which leads the UI thinks the
compare is not happening inside the same repository.

The current fix is to allow compare URL to include redundant head
user name so everything works fine again, but code logic isn't
as clean as before.

Made comments about possible future fix.
2017-02-08 18:43:46 -05:00
..
admin.go codegangsta/cli => urfave/cli (#3546) 2016-08-30 04:57:58 -07:00
cert.go Fix import path 2016-08-30 05:49:54 -07:00
cert_stub.go codegangsta/cli => urfave/cli (#3546) 2016-08-30 04:57:58 -07:00
cmd.go codegangsta/cli => urfave/cli (#3546) 2016-08-30 04:57:58 -07:00
dump.go codegangsta/cli => urfave/cli (#3546) 2016-08-30 04:57:58 -07:00
import.go cmd: new command 'import locale' 2016-12-20 22:34:58 -05:00
serve.go cmd/serve: minor code improve for PR #4078 2017-02-01 21:28:43 -05:00
update.go codegangsta/cli => urfave/cli (#3546) 2016-08-30 04:57:58 -07:00
web.go routers/repo/pull: fix 404 on PR compare (#4074) 2017-02-08 18:43:46 -05:00