git/list[1] front-page[2] threads[3] people[4] search[5] about
 

push.default warning breaks tests on OS X

From
Brian Gernhardt <benji@silverinsanity.com>
Date
Apr 12, 2012, 06:34 UTC
Message-ID
<346D29CB-F34D-4360-ABE3-39358E407BFD@silverinsanity.com>
After a break in regularly compiling git on my Mac 10.7.3 laptop, I had a couple tests in t5570-git-daemon.sh fail: 10 and 14.  Both of these tests use test_remote_error to look for a string and produce output like:

--- expect 2012-04-12 06:30:16.000000000 +0000 +++ output 2012-04-12 06:30:16.000000000 +0000

@@ -1 +1,13 @@
+warning: push.default is unset; its implicit value is changing in
+Git 2.0 from 'matching' to 'upstream'. To squelch this message
+and maintain the current behavior after the default changes, use:
+
+  git config --global push.default matching
+
+To squelch this message and adopt the new behavior now, use:
+
+  git config --global push.default upstream
+
+See 'git help config' and search for 'push.default' for further information.
+
 fatal: remote error: access denied or repository not exported: /repo.git

Bisecting traced it back to 5293b54: "push: start warning upcoming default change for push.default"

I'm sending this off to the list in case someone else has some idea of the root cause.  I'll get back to this problem myself sometime tomorrow.

~~ Brian Gernhardt
Message 1 of 1 in “push.default warning breaks tests on OS X”
  1. Brian GernhardtApr 12, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.