summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-01-17 15:19:05 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-17 15:19:05 -0800
commit1addc197eb41a8fbcd6968c4ee245b65a68c2be6 (patch)
treee4e6aa6f934db61bec3eebd12ce1b302954d1847
parentMerge branch 'ls/t0021-fixup' into maint (diff)
parentunpack-trees: fix grammar for untracked files in directories (diff)
downloadtgif-1addc197eb41a8fbcd6968c4ee245b65a68c2be6.tar.xz
Merge branch 'sb/unpack-trees-grammofix' into maint
* sb/unpack-trees-grammofix: unpack-trees: fix grammar for untracked files in directories
-rwxr-xr-xt/t7609-merge-co-error-msgs.sh2
-rw-r--r--unpack-trees.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/t7609-merge-co-error-msgs.sh b/t/t7609-merge-co-error-msgs.sh
index f80bdb81e1..e90413204e 100755
--- a/t/t7609-merge-co-error-msgs.sh
+++ b/t/t7609-merge-co-error-msgs.sh
@@ -105,7 +105,7 @@ test_expect_success 'not uptodate file porcelain checkout error' '
'
cat >expect <<\EOF
-error: Updating the following directories would lose untracked files in it:
+error: Updating the following directories would lose untracked files in them:
rep
rep2
diff --git a/unpack-trees.c b/unpack-trees.c
index ea6bdd20e0..7a6df99d10 100644
--- a/unpack-trees.c
+++ b/unpack-trees.c
@@ -78,7 +78,7 @@ void setup_unpack_trees_porcelain(struct unpack_trees_options *opts,
xstrfmt(msg, cmd, cmd);
msgs[ERROR_NOT_UPTODATE_DIR] =
- _("Updating the following directories would lose untracked files in it:\n%s");
+ _("Updating the following directories would lose untracked files in them:\n%s");
if (!strcmp(cmd, "checkout"))
msg = advice_commit_before_merge