mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-16 18:36:15 +01:00
Merge branch 'speedup' of https://github.com/bmwiedemann/osc
Fix for commit 48a35fed91
: also
consider file dgsts if mtimes differ.
This commit is contained in:
commit
1ad2f92f7b
@ -1868,7 +1868,7 @@ class Package:
|
|||||||
filemeta = self.findfilebyname(n)
|
filemeta = self.findfilebyname(n)
|
||||||
state = ' '
|
state = ' '
|
||||||
if conf.config['status_mtime_heuristic']:
|
if conf.config['status_mtime_heuristic']:
|
||||||
if os.path.getmtime(localfile) != filemeta.mtime:
|
if os.path.getmtime(localfile) != filemeta.mtime and dgst(localfile) != filemeta.md5:
|
||||||
state = 'M'
|
state = 'M'
|
||||||
elif dgst(localfile) != filemeta.md5:
|
elif dgst(localfile) != filemeta.md5:
|
||||||
state = 'M'
|
state = 'M'
|
||||||
|
Loading…
Reference in New Issue
Block a user