-
- Downloads
Keep only the changes that are known to work well
Also, improved a bit the method names in
Github::Representation::PullRequest.
Last but not least, ensure temp branch names doesn't contain a `/` as
this would create the ref in a subfolder in `refs/heads` (e.g.
`refs/heads/gh-123/456/rymai/foo`), and would leave empty directories
upon branch deletion (e.g. `refs/heads/gh-123/456/rymai/`.
Signed-off-by:
Rémy Coutable <remy@rymai.me>
Showing
- app/models/concerns/repository_mirroring.rb 17 additions, 14 deletionsapp/models/concerns/repository_mirroring.rb
- app/models/merge_request_diff.rb 1 addition, 1 deletionapp/models/merge_request_diff.rb
- lib/github/import.rb 4 additions, 1 deletionlib/github/import.rb
- lib/github/representation/pull_request.rb 24 additions, 22 deletionslib/github/representation/pull_request.rb
Please register or sign in to comment