Skip to content

Commit

Permalink
MERGE_RR is in .git, not .git/rr-cache
Browse files Browse the repository at this point in the history
0af0ac7 (Move MERGE_RR from .git/rr-cache/ into .git/) moved the
location of MERGE_RR but I found a few references to the old
location.

Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jay Soffian authored and Junio C Hamano committed Jul 14, 2010
1 parent 1b79d1c commit 3ca399d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion builtin/rerere.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ int cmd_rerere(int argc, const char **argv, const char *prefix)
if (!has_rerere_resolution(name))
unlink_rr_item(name);
}
unlink_or_warn(git_path("rr-cache/MERGE_RR"));
unlink_or_warn(git_path("MERGE_RR"));
} else if (!strcmp(argv[1], "gc"))
garbage_collect(&merge_rr);
else if (!strcmp(argv[1], "status"))
Expand Down
4 changes: 2 additions & 2 deletions t/t4151-am-abort.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ do
test_must_fail git am$with3 --skip >output &&
test "$(grep "^Applying" output)" = "Applying: 6" &&
test_cmp file-2-expect file-2 &&
test ! -f .git/rr-cache/MERGE_RR
test ! -f .git/MERGE_RR
'

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

done
Expand Down

0 comments on commit 3ca399d

Please sign in to comment.