Skip to content

Commit 7a8a3b7

Browse files
committed
Prefix non-default remote branches with 'req/'
1 parent f052fd6 commit 7a8a3b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/git.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ pub fn checkout_branch(
154154
Some(default_remote_name) => {
155155
if remote_name != default_remote_name {
156156
trace!("Non-default remote name requested: {}", remote_name);
157-
format!("{}/{}", remote_name, local_branch_name)
157+
format!("req/{}/{}", remote_name, local_branch_name)
158158
} else {
159159
trace!("Default remote name requested: {}", remote_name);
160160
String::from(local_branch_name)

0 commit comments

Comments
 (0)