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

Re: git-subtree: directory mismatch

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 25, 2009, 23:17 UTC
Message-ID
<alpine.DEB.1.00.0911260013550.4985@pacific.mpi-cbg.de>
In-Reply-To
<7vpr76uzju.fsf@alter.siamese.dyndns.org>
Hi,
On Wed, 25 Nov 2009, Junio C Hamano wrote:
> I do remember some people didn't like -X<option> syntax but I don't 
> think there was any solid counterproposal to achieve a similar goal to 
> satisfy the need to pass arbitrary parameters to the merge strategy 
> backends.

I took exception to the awkward way to specify the option. A strong hint just how awkward -X<option> is: it is hard to implement using parse-options.

There is no real reason to do it properly, i.e. with an option --merge-option <option> or --backend-option <option> or -X <option> (even if "-X" is not really an expressive name, to be real honest).

BTW the same goes for -S<string>, but unfortunately, we have to keep it to maintain backwards compatibility.

Ciao, Dscho

Previous: Junio C HamanoNext: Avery Pennarun
Message 8 of 12 in “git-subtree: directory mismatch”
  1. Marc FournierNov 24, 2009
  2. Avery PennarunNov 24, 2009
  3. Nanako ShiraishiNov 24, 2009
  4. Avery PennarunNov 25, 2009
  5. Junio C HamanoNov 25, 2009
  6. Avery PennarunNov 25, 2009
  7. Junio C HamanoNov 25, 2009
  8. Johannes SchindelinNov 25, 2009
  9. Avery PennarunNov 25, 2009
  10. Björn SteinbrinkNov 25, 2009
  11. Avery PennarunNov 25, 2009
  12. Marc FournierNov 25, 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.