Thread (11 messages) flat view 11 messages, 3 authors, 2017-11-24

Re: [PATCH v2] gitcli: tweak "man gitcli" for clarity

From: Jeff King <hidden>
Date: 2017-11-23 00:03:53

On Tue, Nov 21, 2017 at 10:45:52PM +0100, Kevin Daudt wrote:
quoted
- * Without disambiguating `--`, Git makes a reasonable guess, but errors
-   out and asking you to disambiguate when ambiguous.  E.g. if you have a
+ * Without a disambiguating `--`, Git makes a reasonable guess, but can
+   error out, asking you to disambiguate when ambiguous.  E.g. if you have a
'Can' error out implies that it sometimes would not error out when there
is ambiguity. Are there situation where git does not error out in that
case?
I read the rest of the thread, and I think the question here is not
about Git's behavior, but about parsing this sentence.

Without a "--" Git can sometimes do what you want. Or it may error out,
if what you asked for is ambiguous. And that sentence is trying to cover
those cases separately, and the "can" only applies to the ambiguous
case.

It's pretty clear to me as it is, but maybe we can write it differently.
Like:

  Without a disambiguating `--`, Git makes a reasonable guess. If it
  cannot guess (because your request is ambiguous), then it will error
  out.

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