]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Remove git clean -fdx 65222/head
authorDan Mick <dan.mick@redhat.com>
Tue, 26 Aug 2025 00:45:21 +0000 (17:45 -0700)
committerDan Mick <dan.mick@redhat.com>
Tue, 26 Aug 2025 00:45:21 +0000 (17:45 -0700)
either
1) a source tarball is supplied, in which case the local dir is
   irrelevant, or
2) make-debs calls make-dist, which doesn't care about a dirty cwd

so it just punishes the unaware by removing things that they may
have wanted to keep.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
make-debs.sh

index d0a3be0e0de155675dad6fcb83e0b820acbea645..7eaaccdb3dc0d1ac51e160663618774453a1ab32 100755 (executable)
@@ -20,11 +20,6 @@ set -xe
 base=${1:-/tmp/release}
 releasedir=$base/$NAME/WORKDIR
 rm -fr $(dirname $releasedir)
-#
-# remove all files not under git so they are not
-# included in the distribution.
-
-[ -e .git ] && git clean -dxf
 
 # git describe provides a version that is
 # a) human readable