SUMMARY *** kde-dev-scripts : Error in sub diffFile of qt4/functionUtilkde.pm and kf5/functionUtilkde.pm *** STEPS TO REPRODUCE Run any of the scripts that call functionUtilkde::diffFile. OBSERVED RESULT When using git, there will be the error "fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths". The problem is also present for the other supported version control systems (svn, hg, cvs). EXPECTED RESULT A "diff" of the file given as argument to functionUtilkde::diffFile shall appear. SOFTWARE/OS VERSIONS Git master: The problem was introduced by commit 002eac6 on Jul 5, 2013.
Created attachment 154493 [details] {qt4,kf5}/functionUtilkde.pm : In sub diffFile use @_ in lieu of $@. The attachment bug462897-functionUtilkde-diffFile-fix.diff fixes the problem.
Git commit 33fdd2f30ff4701d8a1c7abcdf1e32dc16bf678f by Oliver Kellogg. Committed on 27/12/2022 at 09:12. Pushed by okellogg into branch 'master'. {qt4,kf5}/functionUtilkde.pm : In sub diffFile use @_ in lieu of $@. M +4 -4 kf5/functionUtilkde.pm M +4 -4 qt4/functionUtilkde.pm https://invent.kde.org/sdk/kde-dev-scripts/commit/33fdd2f30ff4701d8a1c7abcdf1e32dc16bf678f