diff options
-rwxr-xr-x | bin/git-new.sh | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/bin/git-new.sh b/bin/git-new.sh index 176f854..92c6c5e 100755 --- a/bin/git-new.sh +++ b/bin/git-new.sh @@ -57,6 +57,14 @@ case "${DISTRIBUTION}" in SSH_OPTIONS="-o ControlMaster=no" ;; + sid|rc-buggy) + CATEGORY="upstream" + ORIGIN="fastforward-packages" + BRANCH="main" + SSH_OPTIONS="-o ControlMaster=no" + ;; + + *) CATEGORY="" ORIGIN="${DISTRIBUTION}" @@ -71,5 +79,13 @@ do ssh ${SSH_OPTIONS} git@git.fastforward-packages.org create ${REPOSITORY} ssh ${SSH_OPTIONS} git@git.fastforward-packages.org desc ${REPOSITORY} ${ORIGIN}: ${PACKAGE} - ssh ${SSH_OPTIONS} git@git.fastforward-packages.org symbolic-ref ${REPOSITORY} HEAD refs/heads/${BRANCH} + + case "${BRANCH}" in + main) + ;; + + *) + ssh ${SSH_OPTIONS} git@git.fastforward-packages.org symbolic-ref ${REPOSITORY} HEAD refs/heads/${BRANCH} + ;; + esac done |