Skip to content

Commit

Permalink
OPS: avoid git diff if 100% similar
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-chacko committed Jun 3, 2024
1 parent edc4697 commit 8ea7069
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/check-copyright.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@
while read status && read src && read dst
do
case "$status" in
R100) log "🫥 Ignoring renamed file: $src -> $dst" ;;
C100) log "🫥 Ignoring copied file: $src -> $dst" ;;
R*) isReallyDifferent "$BASE:$src" "$dst" || log "🫥 Ignoring renamed file: $src -> $dst" ;;
C*) isReallyDifferent "$BASE:$src" "$dst" || log "🫥 Ignoring copied file: $src -> $dst" ;;
*) die "Unexpected status while parsing git diff output: status='$status' src='$src' dst='$dst'" ;;
Expand Down

0 comments on commit 8ea7069

Please sign in to comment.