Paolo Bonzini 777d05ba47 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>
2017-10-12 12:10:37 +02:00
..
2017-03-03 16:40:02 +01:00
2017-09-26 13:05:32 +02:00
2017-07-20 09:56:41 +02:00
2017-07-11 17:42:49 +03:00
2015-10-12 18:44:54 +02:00
2017-09-04 13:09:13 +02:00
2015-10-29 17:59:27 +00:00
2017-09-15 20:12:00 -03:00