File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 5252 </div>
5353 <div class="content">
5454 <p id="cherry-pick-content" class="branch-dropdown"></p>
55-
5655 <form method="get">
5756 {{/*FIXME: CurrentRefShortName seems not making sense here (old code),
5857 because the "commit page" has no "$.BranchName" info, so only using DefaultBranch should be enough */}}
5958 {{template "repo/branch_dropdown" dict
6059 "Repository" .Repository
6160 "ShowTabBranches" true
6261 "CurrentRefType" "branch"
63- "CurrentRefShortName" (or $.RefName $.Repository.DefaultBranch)
62+ "CurrentRefShortName" (or $.BranchName $.Repository.DefaultBranch)
6463 "RefFormActionTemplate" (print "{RepoLink}/_cherrypick/" .CommitID "/{RefShortName}")
6564 }}
6665 <input type="hidden" id="cherry-pick-type" name="cherry-pick-type"><br>
You can’t perform that action at this time.
0 commit comments