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

Re: [PATCH] Add a remote.<foo>.mirror configuration option

From
Paolo Bonzini <bonzini@gnu.org>
Date
Apr 19, 2008, 17:53 UTC
Message-ID
<480A31A7.10000@gnu.org>
In-Reply-To
<alpine.DEB.1.00.0804191832080.20708@eeepc-johanness>
Johannes Schindelin wrote:
Show 10 quoted lines
> Hi,
> 
> On Thu, 17 Apr 2008, Paolo Bonzini wrote:
> 
>> This patch adds a remote.<foo>.mirror configuration option that,
>> when set, automatically puts git-push in --mirror mode for that
>> remote.
> 
> Would it not be more logical to have remote.<nick>.pushOptions? (This 
> would be in line with the branch.<name>.mergeOptions config setting...

Maybe, but I wanted to have (later) "git push" push also to all mirror branches, so it made sense to "special case" --mirror. --force can already be specified with +, and there are not many other options, so remote.<nick>.mirror was the easiest to design and implement.

Paolo
Previous: Johannes Schindelin
Message 3 of 3 in “Add a remote.<foo>.mirror configuration option”
  1. Add a remote.<foo>.mirror configuration optionPaolo Bonzini, Apr 17, 2008
  2. Johannes SchindelinApr 19, 2008
  3. Paolo BonziniApr 19, 2008

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.