From: Stephen Rothwell Date: Sun, 27 May 2012 13:30:38 +0000 (+1000) Subject: add_repo: simplify X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=aeb7a37185472c244c538939de6a688358cd0074;p=next-scripts add_repo: simplify --- diff --git a/add_repo b/add_repo index 4a6c425..db0970a 100755 --- a/add_repo +++ b/add_repo @@ -13,5 +13,4 @@ branch=$3 } [[ -z "$branch" ]] && branch="master" -git remote add -t "$branch" "$name" "$url" -git config remote."$name".tagopt "--no-tags" +git remote add --no-tags -t "$branch" "$name" "$url"