[packages/rpm-build-tools] Add refspec to fetch notes in initialized repos
draenog
draenog at pld-linux.org
Wed Jul 11 02:39:51 CEST 2012
commit dd30f9c87ae999d43ee1e726d227a913312d3888
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Tue Jul 10 23:05:57 2012 +0100
Add refspec to fetch notes in initialized repos
builder.sh | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/builder.sh b/builder.sh
index 7ff283c..b275d3b 100755
--- a/builder.sh
+++ b/builder.sh
@@ -870,6 +870,7 @@ get_spec() {
echo "Warning: package not in CVS - assuming new package"
NOCVSSPEC="yes"
}
+ git config --local --add "remote.$REMOTE_PLD.fetch" 'refs/notes/*:refs/notes/*'
git remote set-url --push $REMOTE_PLD ssh://${GIT_PUSH}/${PACKAGES_DIR}/${ASSUMED_NAME}
)
fi
@@ -880,6 +881,7 @@ get_spec() {
fi
git init
git remote add $REMOTE_PLD ${GIT_SERVER}/${PACKAGES_DIR}/${ASSUMED_NAME}.git
+ git config --local --add "remote.$REMOTE_PLD.fetch" 'refs/notes/*:refs/notes/*'
CVSTAG=${CVSTAG:-"master"}
fi
local refs=''
More information about the pld-cvs-commit
mailing list