Skip to content

Commit

Permalink
Merge branch 'en/ort-readiness' into seen
Browse files Browse the repository at this point in the history
* en/ort-readiness:
  Add testing with merge-ort merge strategy
  t6423: mark remaining expected failure under merge-ort as such
  Revert "merge-ort: ignore the directory rename split conflict for now"
  merge-recursive: add a bunch of FIXME comments documenting known bugs
  merge-ort: write $GIT_DIR/AUTO_MERGE whenever we hit a conflict
  t: mark several submodule merging tests as fixed under merge-ort
  merge-ort: implement CE_SKIP_WORKTREE handling with conflicted entries
  t6428: new test for SKIP_WORKTREE handling and conflicts
  merge-ort: support subtree shifting
  merge-ort: let renormalization change modify/delete into clean delete
  merge-ort: have ll_merge() use a special attr_index for renormalization
  merge-ort: add a special minimal index just for renormalization
  merge-ort: use STABLE_QSORT instead of QSORT where required
  • Loading branch information
gitster committed Mar 19, 2021
2 parents 8bc8e10 + eabbed9 commit bab461d
Show file tree
Hide file tree
Showing 16 changed files with 451 additions and 38 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Expand Up @@ -252,6 +252,7 @@ jobs:
MSYSTEM: MINGW64
NO_SVN_TESTS: 1
GIT_TEST_SKIP_REBASE_P: 1
GIT_TEST_MERGE_ALGORITHM: ort
run: |
& .\git-sdk-64-minimal\usr\bin\bash.exe -lc @"
# Let Git ignore the SDK and the test-cache
Expand Down
1 change: 1 addition & 0 deletions branch.c
Expand Up @@ -344,6 +344,7 @@ void remove_merge_branch_state(struct repository *r)
unlink(git_path_merge_rr(r));
unlink(git_path_merge_msg(r));
unlink(git_path_merge_mode(r));
unlink(git_path_auto_merge(r));
save_autostash(git_path_merge_autostash(r));
}

Expand Down
1 change: 1 addition & 0 deletions builtin/rebase.c
Expand Up @@ -740,6 +740,7 @@ static int finish_rebase(struct rebase_options *opts)
int ret = 0;

delete_ref(NULL, "REBASE_HEAD", NULL, REF_NO_DEREF);
unlink(git_path_auto_merge(the_repository));
apply_autostash(state_dir_path("autostash", opts));
close_object_store(the_repository->objects);
/*
Expand Down
6 changes: 6 additions & 0 deletions ci/lib.sh
Expand Up @@ -182,6 +182,12 @@ export DEFAULT_TEST_TARGET=prove
export GIT_TEST_CLONE_2GB=true
export SKIP_DASHED_BUILT_INS=YesPlease

case "$jobname" in
*-gcc)
export GIT_TEST_MERGE_ALGORITHM=ort
;;
esac

case "$jobname" in
linux-clang|linux-gcc)
if [ "$jobname" = linux-gcc ]
Expand Down

0 comments on commit bab461d

Please sign in to comment.