diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-09-12 08:18:51 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-09-12 08:18:51 -0400 |
commit | 1727738b8d5e4db7ffcb0e608aec19a29bf751b9 (patch) | |
tree | 8b38985805658d73374811559fb59bfc906dcd56 | |
parent | 2f04d93b37172e591220a4fbb1d606d3ddd4b4a4 (diff) | |
download | asp32-1727738b8d5e4db7ffcb0e608aec19a29bf751b9.tar.xz |
don't track remote branches
this isn't useful for us, because our branches are just pointers -- we
manually maintain them on 'update'.
-rw-r--r-- | package.inc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.inc.sh b/package.inc.sh index 4088990..4646c19 100644 --- a/package.inc.sh +++ b/package.inc.sh @@ -122,7 +122,7 @@ package_checkout() { # create a local tracking branch to clone from. ignore errors because # it might already exist. - git branch "$remote/packages/$pkgname" "$remote/packages/$pkgname" 2>/dev/null + git branch --no-track "$remote/packages/$pkgname" "$remote/packages/$pkgname" 2>/dev/null git clone "$ASPROOT" --single-branch --branch "$remote/packages/$pkgname" \ "$startdir/$pkgname" |