Thread (5 messages) flat view 5 messages, 4 authors, 2016-06-15

Re: git-subtree: directory mismatch

From: Avery Pennarun <hidden>
Date: 2016-06-15 22:47:46

2009/11/25 Björn Steinbrink [off-list ref]:
On 2009.11.25 18:20:45 -0500, Avery Pennarun wrote:
quoted
I read the earlier thread and I still don't quite understand this
point.  What makes it difficult?
I guess it's -Xfoo vs. -X foo (note the space). Same deal with log
-S<string>. "git log -S foo" would look for an empty string (I guess)
being added/removed in some commit in foo's history, while "git log
-Sfoo" looks for "foo" being added/remove in HEAD's history.
Oh.  Ouch.  Isn't it standard for options-that-take-string-parameters
to always *require* that parameter?  This seems to be how getopt
works.  Basically "-X foo" is the same as "-Xfoo" in that system.

If parse_options doesn't already do this, should I try to add it somehow?

Avery
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help