Michael Meeks wrote: > @@ -143,7 +148,11 @@ for REPO in $DIRS ; do > HOOKDIR="../../git-hooks" > fi > > - if [ \( -d "$DIR" -a -d "$DIR"/.git \) -o \( "$COMMAND" = "clone" \) ] ; > then > + if [ "$REWRITE_ACCOUNT" != "" ]; then > + echo "rewrite $DIR/.git/config" > + sed -i.bak > "s|git://anongit.freedesktop.org/git/libreoffice/|ssh://[email protected]/git/libreoffice/|" > "$DIR/.git/config" > + > + elif [ \( -d "$DIR" -a -d "$DIR"/.git \) -o \( "$COMMAND" = "clone" \) ] > ; then > Hi Michael,
hm, that looks slightly broken - plus, I wonder if that's really a smooth workflow. Personally, I use to do this for any repo I want to push from: ./g config remote.origin.pushurl ssh://[email protected]/git/libreoffice/@REPO@ which leaves the pull with the much more hassle-free anongit - should we maybe just document this step on the "hackers - Get an Account" page & be done with it? Cheers, -- Thorsten
pgpukzBv751FF.pgp
Description: PGP signature
_______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice
