Skip to content

Commit

Permalink
Adjust text of links to commits in other repos
Browse files Browse the repository at this point in the history
  • Loading branch information
Fs00 authored and maniac103 committed May 19, 2022
1 parent a74d31b commit 3ed40a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ private void replaceCommitPlaceholder(SpannableStringBuilder text, String commit
boolean isCommitInDifferentRepo = !mRepoOwner.equals(commitRepoOwner) || !mRepoName.equals(commitRepoName);
String shortCommitSha = commitId.substring(0, 7);
String commitText = isCommitInDifferentRepo
? commitRepoOwner + "/" + commitRepoName + "#" + shortCommitSha
? commitRepoOwner + "/" + commitRepoName + "@" + shortCommitSha
: shortCommitSha;
text.replace(pos, pos + 8, commitText);

Expand Down

0 comments on commit 3ed40a7

Please # to comment.