#4595 lib/git: fix .diff generation with empty commits
Merged by pingou. Opened by jlanda.
jlanda/pagure fix-empty-commit-diff  into  master

Download 4595.patch
no initial comment

I'll work on tests later this week

pretty please pagure-ci rebuild

Pretty flake8/black aren't happy :)

I always forgot them on the first try :D

pretty please pagure-ci rebuild

rebased onto 45992f7a9c96b0c28626eacb0aef0538308483b5

:thumbsup:

Hm this feels odd, shouldn't it be just an empty string?

rebased onto e064650e53848f189cd1d3c1ef496fd6a71cabf3

Indeed, git generates empty .patch files for empty commits

pretty please pagure-ci rebuild

rebased onto 05156b0842aabd2dfd5ea4982604e9e893d7e789

rebased onto 05156b0842aabd2dfd5ea4982604e9e893d7e789

Pull-Request has been merged by pingou

Metadata