commit | 777d05ba477dde63a097ad12f1bb286f6ab7c4cc | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Oct 04 16:35:53 2017 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Oct 12 12:10:37 2017 +0200 |
tree | 6fa08f571aedd2a1b927ce4578fe602c7db65776 | |
parent | a0b261db8c030813e30a39eae47359ac2a37f7e2 [diff] |
checkpatch: refine mode selection stgit produces patch files that lack the ".patch" extensions. Others might be using ".diff" too. But since we are already limiting source files to only a handful of extensions, we can reuse that in the mode selection code. While at it, do not match "../foo" as a branch name. Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>