]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Remove git clean -fdx
authorDan Mick <dan.mick@redhat.com>
Tue, 26 Aug 2025 00:45:21 +0000 (17:45 -0700)
committerDavid Galloway <david.galloway@ibm.com>
Mon, 8 Sep 2025 18:27:23 +0000 (14:27 -0400)
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>
(cherry picked from commit ad529cce49c466daa02bb3b90804ff6a6ec548e8)
(cherry picked from commit 1d43e69c6e9f80768e727c1c07dcc99e4b485c40)

make-debs.sh

index a5e6dcf4c8d0f94641669027b61bee71a341aec6..ff4f4c39321b7e3e4d1734081b18ded39ed1f25d 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