Skip to content

(bug) scanDiff fails on force pushes #1008

Description

@coopernetes

Describe the bug
It is common for developers to rebase to modify commits such as add missing DCO or commit signing. GitProxy does not handle this scenario properly and will generate opaque or unclear errors due to failures in the diffing steps. Often, this leads to developers having to start over from scratch with a new branch and/or PR which introduces unnecessary toil.

To Reproduce
Will add later once I've gathered some additional logs. To reproduce, simply amend an existing (pushed) commit and attempt to use git push proxy --force.

Expected behavior
GitProxy can handle pushes made forcefully and get the appropriate diffs from the upstream branches.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions