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

Re: [PATCH] fetch: if not fetching from default remote, ignore default merge

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 11, 2007, 11:34 UTC
Message-ID
<Pine.LNX.4.64.0710111233280.4174@racer.site>
In-Reply-To
<470DC53A.4050707@viscovery.net>
Hi,
On Thu, 11 Oct 2007, Johannes Sixt wrote:
Show 8 quoted lines
> Johannes Schindelin schrieb:
> > +test_expect_success 'fetch with a non-applying branch.<name>.merge' '
> > +	git config branch.master.remote yeti &&
> > +	git config branch.master.merge refs/heads/bigfoot &&
> > +	git config remote.blub.url one &&
> > +	git config remote.blub.fetch 'refs/heads/*:refs/remotes/one/*' &&
> 
> Better use double-quotes around the refspecs.
Hehe, "oops!".

Although in this case we could even use the string unquoted (which I indeed did!), since there is no chance that there is a matching file in t/trash/.

Ciao, Dscho

Previous: Johannes SixtNext: Johannes Schindelin
Message 3 of 4 in “fetch: if not fetching from default remote, ignore default merge”
  1. fetch: if not fetching from default remote, ignore default mergeJohannes Schindelin, Oct 11, 2007
  2. Johannes SixtOct 11, 2007
  3. Johannes SchindelinOct 11, 2007
  4. fetch: if not fetching from default remote, ignore default mergeJohannes Schindelin, Oct 11, 2007

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.