Adrian Schröter 2010-12-30 14:45:25 +00:00 committed by Git OBS Bridge
parent 651b9dc1b7
commit df8c59e87f
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
Thu Dec 30 12:41:57 UTC 2010 - adrian@suse.de Thu Dec 30 12:41:57 UTC 2010 - adrian@suse.de
- add option exclude files/directories when creating the tar ball - add option exclude files/directories when creating the tar ball
- git clone runs now with --depth 1 option
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 8 06:29:42 UTC 2010 - wr@rosenauer.org Wed Dec 8 06:29:42 UTC 2010 - wr@rosenauer.org

View File

@ -163,7 +163,7 @@ elif [ "$MYSCM" == "git" ]; then
mv "$TAR_DIRECTORY" "${FILE}" || exit 1 mv "$TAR_DIRECTORY" "${FILE}" || exit 1
else else
# new checkout # new checkout
git clone "$MYURL" "${FILE}" || exit 1 git clone --depth 1 "$MYURL" "${FILE}" || exit 1
if [ -n "$MYREVISION" ]; then if [ -n "$MYREVISION" ]; then
cd "$FILE" cd "$FILE"
git checkout "$MYREVISION" || exit 1 git checkout "$MYREVISION" || exit 1