Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ikhun Um <[email protected]>
  • Loading branch information
thachlp and ikhoon committed Mar 15, 2024
1 parent dfda52a commit 20772a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ void mirrorRemoteToLocal(
changes.put(mirrorStatePath, Change.ofJsonUpsert(
mirrorStatePath, "{ \"sourceRevision\": \"" + headCommitId.name() + "\" }"));
// Construct the log message and log.
summary = "Mirror " + abbrId + ", " + remoteRepoUri() + '#' +
summary = "Mirror " + abbrId + ", " + remoteRepoUri() +
(remoteBranch() != null ? '#' + remoteBranch() : "") +
" to the repository '" + localRepo().name() + '\'';
final RevCommit headCommit = revWalk.parseCommit(headCommitId);
Expand Down

0 comments on commit 20772a8

Please sign in to comment.