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

Re: [PATCH] [TOPGIT] make tg remote idempotent

From
Uwe Kleine-König <ukleinek@strlen.de>
Date
Jan 21, 2009, 11:06 UTC
Message-ID
<20090121110628.GA9415@strlen.de>
In-Reply-To
<1231968443-13960-1-git-send-email-u.kleine-koenig@pengutronix.de>
Hello,
On Wed, Jan 14, 2009 at 10:27:22PM +0100, Uwe Kleine-König wrote:
Show 6 quoted lines
> -git config --add "remote.$name.fetch" "+refs/top-bases/*:refs/remotes/$name/top-bases/*"
> -git config --add "remote.$name.push" "+refs/top-bases/*:refs/top-bases/*"
> -git config --add "remote.$name.push" "+refs/heads/*:refs/heads/*"
> +git config --replace-all "remote.$name.fetch" "+refs/top-bases/*:refs/remotes/$name/top-bases/*" "+refs/top-bases/*:refs/remotes/$name/top-bases/*"
> +git config --replace-all "remote.$name.push" "+refs/top-bases/*:refs/top-bases/*" "+refs/top-bases/*:refs/top-bases/*"
> +git config --replace-all "remote.$name.push" "+refs/heads/*:refs/heads/*" "+refs/heads/*:refs/heads/*"

It seems I sent an old version of this patch. Actually in the last argument '+' and '*' have to be quoted to work.

I fixed this in my repo.  Should I resend the fixed patch?

Best regards Uwe

Previous: martin f krafftNext: martin f krafft
Message 6 of 7 in “[TOPGIT] make tg remote idempotent”
  1. [TOPGIT] make tg remote idempotentUwe Kleine-König, Jan 14, 2009
  2. [TOPGIT] make creating a commit from a topgit branch a functionUwe Kleine-König, Jan 14, 2009
  3. martin f krafftJan 21, 2009
  4. Uwe Kleine-KönigJan 21, 2009
  5. martin f krafftJan 22, 2009
  6. Uwe Kleine-KönigJan 21, 2009
  7. martin f krafftJan 21, 2009

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.