]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Fix incorrect autodelegation documentation
authorVeronika Kabatova <vkabatov@redhat.com>
Tue, 3 Apr 2018 16:18:36 +0000 (18:18 +0200)
committerDaniel Axtens <dja@axtens.net>
Thu, 5 Apr 2018 13:39:47 +0000 (23:39 +1000)
commitcabb5532a4efa460d2f22dadb5606178876c3280
tree2326dfaa70ff5b12894e071f319074a6772523f3
parent4f4ceca36710dc05b6c818237fdc86099c266234
Fix incorrect autodelegation documentation

The docs suggested to account for git prefixes (a/, b/) using eg.
?/patchwork/views/*. My rules didn't work so I tried bare path
(patchwork/views/*) instead. Looking at the code, the prefix really is
striped away (filename = '/'.join(filename.split('/')[1:])). Fix the
documentation to reflect on what is really happening.

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
[dja: see 7bb0ebd78ff7 ("parser: Add patch_get_filenames()")]
Signed-off-by: Daniel Axtens <dja@axtens.net>
docs/usage/delegation.rst