Re: [BUG] git pull does not understand --strategy-option
- From
- David 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