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

Re: [BUG] git pull does not understand --strategy-option

From
DDDavid Deller <david@horizon-nigh.org>
Date
Apr 27, 2011, 18:27 UTC
Message-ID
<BANLkTiniVvLe7Wb9-OsKNb8nY23jxo-vQw@mail.gmail.com>
In-Reply-To
<BANLkTinFcob1RrOxEDDG+B6UAZGYg-smtg@mail.gmail.com>
> $ git pull --strategy=recursive --strategy-option=theirs origin master
> error: unknown option `strategy-option=theirs'
> usage: git fetch [<options>] [<repository> [<refspec>...]]

I was able to confirm that the bug still exists in the latest version of Git, 1.7.5. The docs say the option should work.

This affects Phing's[1] Git Pull task[2], which always outputs the long form whenever the corresponding option is used.

David

[1] PHP build tool [2] http://www.phing.info/docs/guide/stable/chapters/appendixes/AppendixC-OptionalTasks.html#GitPullTask

Previous: David Deller
Message 2 of 2 in “[BUG] git pull does not understand --strategy-option”
  1. David DellerApr 26, 2011
  2. David DellerApr 27, 2011

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.