Skip to content

Commit 396023c

Browse files
author
Release Manager
committed
Trac #33087: build/bin/sage-clone-source: Use "trac" as name of the remote
(from #29784) This will be more consistent with the developer documentation and frees up `origin` for the user's needs (perhaps their own fork of the repo) URL: https://trac.sagemath.org/33087 Reported by: mkoeppe Ticket author(s): Matthias Koeppe Reviewer(s): Michael Orlitzky
2 parents 771546f + e439120 commit 396023c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/bin/sage-clone-source

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ CONFBALL="$SRC/upstream/configure-$CONFVERSION.tar.gz"
3131
rm -rf "$DST"
3232
mkdir -p "$DST"
3333

34-
git clone "$SRC" "$DST"
34+
git clone --origin trac "$SRC" "$DST"
3535

3636
cd "$DST"
37-
git remote set-url origin "$SAGE_REPO_ANONYMOUS"
38-
git remote set-url --push origin "$SAGE_REPO_AUTHENTICATED"
37+
git remote set-url trac "$SAGE_REPO_ANONYMOUS"
38+
git remote set-url --push trac "$SAGE_REPO_AUTHENTICATED"
3939

4040
# Save space
4141
git gc --aggressive --prune=now

0 commit comments

Comments
 (0)