[Webkit-unassigned] [Bug 48527] commit-log-editor uses full paths for section headers when using msysgit's Perl and multiple ChangeLogs have been edited

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 28 13:32:17 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=48527





--- Comment #3 from Adam Roben (aroben) <aroben at apple.com>  2010-10-28 13:32:17 PST ---
(In reply to comment #2)
> (In reply to comment #0)
> > The badness seems to occur when the ChangeLog path is run through File::Spec->rel2abs.
> 
> (In reply to comment #1)
> > I cannot reproduce the abs2rel badness when doing this:
> > 
> > perl -e 'use File::Spec; print File::Spec->abs2rel("WebKit2/ChangeLog"), "\n";'
> 
> Did you mean abs2rel() or rel2abs()?

Whoops, I meant rel2abs.

When I run this script:

perl -e 'use File::Spec; print File::Spec->rel2abs("WebKit2/ChangeLog"), "\n";'

I get:

/h/cyghome/dev/WebKit/OpenSource/WebKit2/ChangeLog

which is an msys-style path, not a Windows-style-with-forward-slashes path like is appearing in the commit log. The same thing happens if I tell perl to print that to a file instead of to stdout.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list