Skip to content

Commit 4bd874c

Browse files
committed
Merge branch 'js/merge-rr-fix'
* js/merge-rr-fix: MERGE_RR is in .git, not .git/rr-cache
2 parents 4cd1b99 + 3ca399d commit 4bd874c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

builtin/rerere.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ int cmd_rerere(int argc, const char **argv, const char *prefix)
135135
if (!has_rerere_resolution(name))
136136
unlink_rr_item(name);
137137
}
138-
unlink_or_warn(git_path("rr-cache/MERGE_RR"));
138+
unlink_or_warn(git_path("MERGE_RR"));
139139
} else if (!strcmp(argv[1], "gc"))
140140
garbage_collect(&merge_rr);
141141
else if (!strcmp(argv[1], "status"))

t/t4151-am-abort.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ do
4747
test_must_fail git am$with3 --skip >output &&
4848
test "$(grep "^Applying" output)" = "Applying: 6" &&
4949
test_cmp file-2-expect file-2 &&
50-
test ! -f .git/rr-cache/MERGE_RR
50+
test ! -f .git/MERGE_RR
5151
'
5252

5353
test_expect_success "am --abort goes back after failed am$with3" '
@@ -57,7 +57,7 @@ do
5757
test_cmp expect actual &&
5858
test_cmp file-2-expect file-2 &&
5959
git diff-index --exit-code --cached HEAD &&
60-
test ! -f .git/rr-cache/MERGE_RR
60+
test ! -f .git/MERGE_RR
6161
'
6262

6363
done

0 commit comments

Comments
 (0)