Skip to content

Commit

Permalink
Test push.force()
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite committed Jan 21, 2023
1 parent eeb1af7 commit 1a49fa4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ public void testPushTags() throws Exception {
testGitClient.push().ref(defaultBranchName).to(new URIish(bare.getGitFileDir().getAbsolutePath())).tags(true).force(false).execute();
}

testGitClient.push().ref(defaultBranchName).to(new URIish(bare.getGitFileDir().getAbsolutePath())).tags(true).force(true).execute();
testGitClient.push().ref(defaultBranchName).to(new URIish(bare.getGitFileDir().getAbsolutePath())).tags(true).force().execute();

/* Add tag to working repo without pushing it to the bare
* repo, tests the default behavior when tags() is not added
Expand Down

0 comments on commit 1a49fa4

Please sign in to comment.