avoid fetching tags from random remotes
authorJoey Hess <joey@gnu.kitenet.net>
Fri, 28 Aug 2009 00:16:57 +0000 (20:16 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 28 Aug 2009 00:17:38 +0000 (20:17 -0400)
git makes it too easy to get crap tags into origin

gitremotes

index 91bf2fe84fb4580c1b479076a774066f09b20870..bcee005c3308090a694f143ccc275e5c7669d108 100755 (executable)
@@ -20,7 +20,7 @@ while (<IN>) {
                        $error |= system("git", "remote", "add", "-f", $remote, $url);
                }
                else {
-                       $error |= system("git", "fetch", $remote);
+                       $error |= system("git", "fetch", "--no-tag", $remote);
                }
        }
 }