3 ms·
A sentence must have a subject and a predicate, and a verb in the infitive form can't be a predicate (it's usually going to be some kind of complement). 'Fix th
by tsimionescu 8y ago
A sentence must have a subject and a predicate, and a verb in the infitive form can't be a predicate (it's usually going to be some kind of complement). 'Fix the bug' is usually taken to be a sentence describing what you meant the commit to do, which is why the imperative is the more likely interpretation.
- thaumasiotes 8y ago> A sentence must have a subject and a predicate, and a verb in the inf[in]itive form can't be a predicate In the well-formed sentence For cyanide to kill you, you need to be exposed to a lethal dose all at once. What do you think "to kill you" is? Furthermore, idiomatic commit messages are pretty clearly not sentences, so I don't see why you think sentence structure should determine what they contain. And even on your own analysis of how the messages are interpreted (which I agree with), those verbs are infinitive, just as "fix" is infinitive in this dialog: Q: What is this patch supposed to do? A: Fix issue #351916.
- fphilipe 8y ago> What do you think "to kill you" is? Infinitive. The predicate is "need" in this case. Swapping the order might make it clearer: You need to be exposed to a lethal dose all at once for cyanide to kill you.
- thaumasiotes 8y ago"For cyanide to kill you" is constructed from the sentence "cyanide kills you", and obeys exactly the same rules. It predicates an action (killing) of a particular agent (cyanide), though it is not bound to any particular time. If "kills you" is a "predicate" in the finite clause, then "to kill you" is also a predicate in the nonfinite clause. Can you make the argument that it isn't without special pleading?