]> git.ozlabs.org Git - next-scripts/commitdiff
add_repo: simplify
authorStephen Rothwell <sfr@canb.auug.org.au>
Sun, 27 May 2012 13:30:38 +0000 (23:30 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sun, 27 May 2012 13:30:38 +0000 (23:30 +1000)
add_repo

index 4a6c425c984d84ea7bd058ad00ea7e14f89ec70b..db0970a1d15588a69676806f9aba7480e642ebf0 100755 (executable)
--- 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"