Paolo Bonzini
1a5c63ce88
checkpatch: fix filename detection when using -f
...
Fix $realfile filename when using -f/--file to not remove first level
directory as if the filename was used in a -P1 patch. Only strip the
first level directory (typically a or b) for P1 patches.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(extracted from Linux commit 2b7ab45395dc4d91ef30985f76d90a8f28f58c27)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-08-23 13:32:50 +02:00
..
2018-05-04 08:27:53 +02:00
2018-06-08 14:39:24 -03:00
2016-10-07 14:14:06 +02:00
2018-08-15 07:24:22 +02:00
2013-01-08 16:38:12 -06:00
2018-02-05 13:54:39 +01:00
2018-08-15 07:24:22 +02:00
2018-06-29 15:04:18 +01:00
2018-07-05 15:59:41 +01:00
2018-06-08 14:39:24 -03:00
2018-06-08 14:39:24 -03:00
2016-12-20 21:52:12 +01:00
2018-06-08 14:39:24 -03:00
2017-10-16 14:50:54 +02:00
2012-01-18 10:23:39 -02:00
2018-08-23 13:32:50 +02:00
2017-05-10 10:19:24 +03:00
2016-10-28 18:17:23 +03:00
2017-05-10 10:19:24 +03:00
2016-05-23 16:53:46 +02:00
2018-07-05 15:09:52 +02:00
2018-07-05 15:59:41 +01:00
2018-03-26 22:34:07 +08:00
2018-06-08 14:39:24 -03:00
2017-05-10 10:19:24 +03:00
2018-06-08 14:39:24 -03:00
2013-09-09 14:17:56 -05:00
2016-06-07 18:19:23 +03:00
2018-03-26 14:37:12 +02:00
2018-02-10 10:17:06 +03:00
2017-07-20 09:56:41 +02:00
2012-03-30 08:14:11 -05:00
2017-12-20 09:04:27 +01:00
2016-06-07 18:19:23 +03:00
2018-02-10 10:11:20 +03:00
2018-03-02 13:14:09 -06:00
2018-08-17 13:56:33 +02:00
2018-01-16 14:54:51 +01:00
2018-06-15 16:10:11 -03:00
2017-09-15 20:12:00 -03:00
2013-09-30 09:44:35 +02:00
2018-06-08 14:39:24 -03:00
2017-05-10 10:19:24 +03:00
2016-09-22 20:20:53 +02:00
2018-06-08 14:39:24 -03:00
2018-06-29 15:04:18 +01:00
2017-05-10 10:19:24 +03:00
2017-05-10 10:19:24 +03:00
2018-03-12 11:10:20 +00:00
2018-06-01 15:14:31 +02:00
2018-06-08 14:39:24 -03:00