28a873 Re-generate the sha for every file.

Authored and Committed by Pierre-Yves Chibon 6 years ago
    Re-generate the sha for every file.
    
    Basically, we were instantiating the sha outside of the loop going
    through the files. This meant that if we generated the sha for two
    files, the sha of the second included the first one in it...
    
    This commit fixes this be making sure we compute a new sha specific
    for each file.
    
    Fixes https://pagure.io/pagure/issue/3448
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr></pingou@pingoured.fr>
    
        
file modified
+4 -5