From d809c2e7895a801c1ca3baa12d62cc92cae6dd23 Mon Sep 17 00:00:00 2001 From: Bishoy Ehab Date: Fri, 17 Oct 2025 14:30:03 +0300 Subject: [PATCH] Test --- sdata/exp/update.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdata/exp/update.sh b/sdata/exp/update.sh index fa0ecb6c7..639f00ed3 100755 --- a/sdata/exp/update.sh +++ b/sdata/exp/update.sh @@ -548,7 +548,7 @@ get_changed_files() { local dir_path="$1" if [[ "$FORCE_CHECK" == true ]]; then - find "$dir_path" -type f -print0 2>/dev/null + find "$dir_path" -type f -print0 else # Check if we can use git diff (HEAD@{1} exists) if git rev-parse --verify HEAD@{1} &>/dev/null; then @@ -560,7 +560,7 @@ get_changed_files() { printf '%s\0' "$full_path" has_changes=true fi - done < <(git diff --name-only HEAD@{1} HEAD 2>/dev/null || true) + done < <(git diff --name-only HEAD@{1} HEAD || true) # If git diff found changes, we're done if [[ "$has_changes" == true ]]; then @@ -569,7 +569,7 @@ get_changed_files() { fi # Fallback: check all files (fresh clone or no git changes) - find "$dir_path" -type f -print0 2>/dev/null + find "$dir_path" -type f -print0 fi }