| |
@@ -2663,6 +2663,7 @@
|
| |
output["new_id"] = str(patch.new_id)
|
| |
output["old_id"] = str(patch.old_id)
|
| |
elif hasattr(patch, "delta"):
|
| |
+ status = None
|
| |
# Newer pygit2
|
| |
# we recognize non-executable file, executable file and symlink
|
| |
expected_modes = [33188, 33261, 40960]
|
| |
Otherwise if we end up with an unknown status, pagure blows up as the
variable is undefined.
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr