This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Restore cmpVERSION.pl's ability to spot differences in XS files.
authorNicholas Clark <nick@ccl4.org>
Fri, 20 May 2011 09:37:13 +0000 (10:37 +0100)
committerNicholas Clark <nick@ccl4.org>
Mon, 23 May 2011 14:07:27 +0000 (15:07 +0100)
commit96048c95649fae357ffd080bc4861d5b28a3790d
tree727d00f38de2135323b4d4286d9519a049f3d983
parent76733a60f0c586b040ff148deb9350d0e6a2b742
Restore cmpVERSION.pl's ability to spot differences in XS files.

Since the refactor to use git tags (instead of a second source tree),
cmpVERSION.pl was only spotting differences in XS files if the corresponding
PM file was also modified. If only the XS file was modified, this was going
undetected.

Remove compare_git_file() - if git has already told us that a file differs,
there's no need to duplicate the work of comparison in Perl.
Porting/cmpVERSION.pl