Skip to content

Commit b523e14

Browse files
committed
push-packages-to-obs: add no-dereference option while diffing
1 parent e5b404a commit b523e14

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

bin/push-packages-to-obs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ FAKE_COMITTOBS=${FAKE_COMITTOBS:+1}
3535
# projects in row
3636
KEEP_SRPMS=${KEEP_SRPMS:-FALSE}
3737

38-
DIFF="diff -u"
38+
# keep the no-dereference option or
39+
# it could brake the diff of root.tar.gz with symlinks and empty folders
40+
DIFF="diff -u --no-dereference"
3941

4042
GIT_DIR=$(git rev-parse --show-cdup)
4143
test -z "$GIT_DIR" || cd "$GIT_DIR"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- push-packages-to-obs: add no-dereference option while diffing

0 commit comments

Comments
 (0)