Use --ff-only instead of --ff
This commit is contained in:
parent
e87344f84d
commit
a393321ea5
@ -7,7 +7,7 @@ if [[ ${TARGET} == gentoo ]] ; then
|
|||||||
DTDDIR=${PORTDIR}/metadata/dtd
|
DTDDIR=${PORTDIR}/metadata/dtd
|
||||||
ebegin "Updating DTDs"
|
ebegin "Updating DTDs"
|
||||||
if [[ -e ${DTDDIR} ]]; then
|
if [[ -e ${DTDDIR} ]]; then
|
||||||
git -C "${DTDDIR}" pull -q --ff
|
git -C "${DTDDIR}" pull -q --ff-only
|
||||||
else
|
else
|
||||||
git clone -q https://anongit.gentoo.org/git/data/dtd.git "${DTDDIR}"
|
git clone -q https://anongit.gentoo.org/git/data/dtd.git "${DTDDIR}"
|
||||||
fi
|
fi
|
||||||
|
@ -7,7 +7,7 @@ if [[ ${TARGET} == gentoo ]] ; then
|
|||||||
GLSADIR=${PORTDIR}/metadata/glsa
|
GLSADIR=${PORTDIR}/metadata/glsa
|
||||||
ebegin "Updating GLSAs"
|
ebegin "Updating GLSAs"
|
||||||
if [[ -e ${GLSADIR} ]]; then
|
if [[ -e ${GLSADIR} ]]; then
|
||||||
git -C "${GLSADIR}" pull -q --ff
|
git -C "${GLSADIR}" pull -q --ff-only
|
||||||
else
|
else
|
||||||
git clone -q https://anongit.gentoo.org/git/data/glsa.git "${GLSADIR}"
|
git clone -q https://anongit.gentoo.org/git/data/glsa.git "${GLSADIR}"
|
||||||
fi
|
fi
|
||||||
|
@ -7,7 +7,7 @@ if [[ ${TARGET} == gentoo ]] ; then
|
|||||||
NEWSDIR="${PORTDIR}"/metadata/news
|
NEWSDIR="${PORTDIR}"/metadata/news
|
||||||
ebegin "Updating news items"
|
ebegin "Updating news items"
|
||||||
if [[ -e ${NEWSDIR} ]]; then
|
if [[ -e ${NEWSDIR} ]]; then
|
||||||
git -C "${NEWSDIR}" pull -q --ff
|
git -C "${NEWSDIR}" pull -q --ff-only
|
||||||
else
|
else
|
||||||
git clone -q https://anongit.gentoo.org/git/data/gentoo-news.git "${NEWSDIR}"
|
git clone -q https://anongit.gentoo.org/git/data/gentoo-news.git "${NEWSDIR}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user