mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-21 16:57:08 +00:00
ci: Remove all git config safe.directory
Now with the sudo less build we should be good to remove those hacks. Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
This commit is contained in:
@@ -107,8 +107,6 @@ get_last_modification() {
|
||||
local file="${1}"
|
||||
|
||||
pushd ${repo_root_dir} &> /dev/null
|
||||
# This is a workaround needed for when running this code on Jenkins
|
||||
git config --global --add safe.directory ${repo_root_dir} &> /dev/null
|
||||
|
||||
dirty=""
|
||||
[ $(git status --porcelain | grep "${file#${repo_root_dir}/}" | wc -l) -gt 0 ] && dirty="-dirty"
|
||||
|
Reference in New Issue
Block a user