Hi.
This patch seems to fix collapsing dirnames in doclist to current project's base path if the latter contains trailing directory separator.
Best regards, Eugene.
On Fri, 4 Jun 2010 10:43:02 +0400% Eugene Arshinov earshinov@gmail.com wrote:
Hi.
This patch seems to fix collapsing dirnames in doclist to current project's base path if the latter contains trailing directory separator.
Best regards, Eugene.
To clarify why this patch is needed: current implementation behaves incorrectly if project path contains trailing directory separator and the path, with which project path is matched, is equal to project path, but does not contain trailing separator. Illustration:
Project: home Project path: /home/eugene/ Path in doclist: /home/eugene Result with current implementation: /home/eugene Should be: home
Best regards, Eugene.
On Sun, 6 Jun 2010 10:28:03 +0400, Eugene wrote:
On Fri, 4 Jun 2010 10:43:02 +0400% Eugene Arshinov earshinov@gmail.com wrote:
Hi.
This patch seems to fix collapsing dirnames in doclist to current project's base path if the latter contains trailing directory separator.
Best regards, Eugene.
To clarify why this patch is needed: current implementation behaves incorrectly if project path contains trailing directory separator and the path, with which project path is matched, is equal to project path, but does not contain trailing separator. Illustration:
Cool, thanks. And committed.
Regards, Enrico