Ran
|
Files
32
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
push
github
core: utils: _copy_using: Put the dest dir name into the ignore pattern Our default copy destination for the working copies of input repositories is '.' which means that even the destination directory (a temporary one) is copied recursively - luckily, the copy backend seems to be smart enough not to get stuck in an infinite recursion. Nevertheless, fix the issue by putting the destination dir name into the ignore pattern of 'shutil.copytree'. This is fine because the destination name is always going to be unique in our case and hence there is close to 0% chance of a name collision preventing copying of some relevant data (in case we don't copy to '.' by default anymore). Fixes: 2937416d5 Signed-off-by: Erik Skultety <eskultet@redhat.com>
3156 of 3230 relevant lines covered (97.71%)
0.98 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|