mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-09-18 22:09:30 +02:00
doc tools: fix 'path' typos
Correct "patch" or "patches" to "path" or "paths" in comments. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20260806055634.1293294-1-rdunlap@infradead.org>
This commit is contained in:
committed by
Jonathan Corbet
parent
3160c8de3a
commit
0c56db4610
@@ -143,7 +143,7 @@ while (<IN>) {
|
||||
# Check if exists, evaluating wildcards
|
||||
next if (grep -e, glob("$ref $fulref"));
|
||||
|
||||
# Accept relative Documentation patches for tools/
|
||||
# Accept relative Documentation paths for tools/
|
||||
if ($f =~ m/tools/) {
|
||||
my $path = $f;
|
||||
$path =~ s,(.*)/.*,$1,;
|
||||
|
||||
@@ -99,9 +99,9 @@ class SphinxBuilder:
|
||||
|
||||
def get_path(self, path, use_cwd=False, abs_path=False):
|
||||
"""
|
||||
Ancillary routine to handle patches the right way, as shell does.
|
||||
Ancillary routine to handle paths the right way, as shell does.
|
||||
|
||||
It first expands "~" and "~user". Then, if patch is not absolute,
|
||||
It first expands "~" and "~user". Then, if path is not absolute,
|
||||
join self.srctree. Finally, if requested, convert to abspath.
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user