Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131843
b: refs/heads/master
c: e2f7aa4
h: refs/heads/master
i:
  131841: 7431f1c
  131839: 7aaa654
v: v3
  • Loading branch information
Andy Whitcroft authored and Linus Torvalds committed Feb 28, 2009
1 parent d516210 commit 03e9bb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f4a8773676c21a68b0666fbe48af4fe1af89dfa9
refs/heads/master: e2f7aa4b8bc811ebf8afbdf423caf90a5a03cb08
3 changes: 2 additions & 1 deletion trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,8 @@ sub process {
$realfile =~ s@^([^/]*)/@@;

$p1_prefix = $1;
if ($tree && $p1_prefix ne '' && -e "$root/$p1_prefix") {
if (!$file && $tree && $p1_prefix ne '' &&
-e "$root/$p1_prefix") {
WARN("patch prefix '$p1_prefix' exists, appears to be a -p0 patch\n");
}

Expand Down

0 comments on commit 03e9bb8

Please sign in to comment.