Revert "Save cookies back to jar when fetching clone.bundle"

This reverts commit 4abf8e6ef81e78469148b156ae2d2da70ace627a.

The curl process for updating the cookie file is not atomic.  When
fetching many bundles in parallel, we can sometimes corrupt the file
causing it to be cleared.  Since users should manage gitcookies on
their own, leave it read-only.

Change-Id: Id472c99b197bc4cf8533c649f8881509f38643c1
Reviewed-by: David Pursehouse <>
Tested-by: Mike Frysinger <>
(cherry picked from commit dc1d0e0c7fffa5109048ac52a67aa97bb362ae3a)
diff --git a/ b/
index 77b97f7..8fdacc6 100644
--- a/
+++ b/
@@ -2398,7 +2398,7 @@
     with GetUrlCookieFile(srcUrl, quiet) as (cookiefile, proxy):
       if cookiefile:
-        cmd += ['--cookie', cookiefile, '--cookie-jar', cookiefile]
+        cmd += ['--cookie', cookiefile]
       if proxy:
         cmd += ['--proxy', proxy]
       elif 'http_proxy' in os.environ and 'darwin' == sys.platform: