@@ -1123,7 +1123,7 @@ static int store_updated_refs(const char *raw_url, const char *remote_name,if(rm->status==REF_STATUS_REJECT_SHALLOW){if(want_status==FETCH_HEAD_MERGE)-warning(_("reject %s because shallow roots are not allowed to be updated"),+warning(_("rejected %s because shallow roots are not allowed to be updated"),rm->peer_ref?rm->peer_ref->name:rm->name);continue;}
- warning(_("reject %s because shallow roots are not allowed to be updated"),
+ warning(_("rejected %s because shallow roots are not allowed to be updated"),
This change to past-tense makes sense to me.
Thanks,
-Stolee
- warning(_("reject %s because shallow roots are not allowed to be updated"),
+ warning(_("rejected %s because shallow roots are not allowed to be updated"),
From descriptive to null-subject past tense, right?
--
An old man doll... just what I always wanted! - Clara
From: Alex Henrie <hidden> Date: 2021-05-20 04:02:38
On Wed, May 19, 2021 at 8:22 PM Bagas Sanjaya [off-list ref] wrote:
On 18/05/21 13.18, Alex Henrie wrote:
quoted
- warning(_("reject %s because shallow roots are not allowed to be updated"),
+ warning(_("rejected %s because shallow roots are not allowed to be updated"),
From descriptive to null-subject past tense, right?
I'm not sure what the best way is to describe the grammar here. I
would say that the "ed" makes it clear that the message is a
description of what did happen rather than an imperative command
concerning what should happen.
-Alex
On Wed, May 19, 2021 at 8:22 PM Bagas Sanjaya [off-list ref] wrote:
quoted
On 18/05/21 13.18, Alex Henrie wrote:
quoted
- warning(_("reject %s because shallow roots are not allowed to be updated"),
+ warning(_("rejected %s because shallow roots are not allowed to be updated"),
From descriptive to null-subject past tense, right?
I'm not sure what the best way is to describe the grammar here. I
would say that the "ed" makes it clear that the message is a
description of what did happen rather than an imperative command
concerning what should happen.
-Alex
Looks OK.
So the error had happened, and we needed to express the situation.
Because it happened on the past, using past tense was obviously the
right thing.
Reviewed-by: Bagas Sanjaya <redacted>
--
An old man doll... just what I always wanted! - Clara