@@ -16,7 +16,7 @@ static int merge_entry(int pos, const char *path)
struct child_process cmd = CHILD_PROCESS_INIT;
if (pos >= the_index.cache_nr)
- die("git merge-index: %s not in the cache", path);
+ die("'%s' is not in the cache", path);
found = 0;
do {
const struct cache_entry *ce = the_index.cache[pos];
@@ -31,7 +31,7 @@ static int merge_entry(int pos, const char *path)
arguments[stage + 4] = ownbuf[stage];
} while (++pos < the_index.cache_nr);
if (!found)
- die("git merge-index: %s not in the cache", path);
+ die("'%s' is not in the cache", path);
strvec_pushv(&cmd.args, arguments);
if (run_command(&cmd)) {
@@ -13,7 +13,7 @@ test_expect_success 'usage: 1 argument' '
test_expect_success 'usage: 2 arguments' '
cat >expect <<-\EOF &&
- fatal: git merge-index: b not in the cache
+ fatal: '\''b'\'' is not in the cache
EOF
test_expect_code 128 git merge-index a b >out 2>actual &&
test_must_be_empty out &&