summaryrefslogtreecommitdiff
path: root/builtin/fetch.c
diff options
context:
space:
mode:
authorAlex Henrie <alexhenrie24@gmail.com>2021-05-18 06:18:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-05-20 04:36:33 (GMT)
commit09667e95163a9d51e569c50b1fdfc78d0a002c23 (patch)
tree60af322ac9023d6979fe2f4458b38a87b5b2b5f9 /builtin/fetch.c
parent88dd4282d949cdafff516650c1be8aaf4d67983f (diff)
downloadgit-09667e95163a9d51e569c50b1fdfc78d0a002c23.zip
git-09667e95163a9d51e569c50b1fdfc78d0a002c23.tar.gz
git-09667e95163a9d51e569c50b1fdfc78d0a002c23.tar.bz2
fetch: improve grammar of "shallow roots" message
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/fetch.c')
-rw-r--r--builtin/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/fetch.c b/builtin/fetch.c
index dfde96a..9191620 100644
--- a/builtin/fetch.c
+++ b/builtin/fetch.c
@@ -1126,7 +1126,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;
}