Skip to content

Commit f51494c

Browse files
committed
Fix branch existence error message
1 parent a917383 commit f51494c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ impl GitChain {
10641064
// ensure each branch exists
10651065
for branch in &chain.branches {
10661066
if !self.git_branch_exists(&branch.branch_name)? {
1067-
eprintln!("Root branch does not exist: {}", chain.root_branch.bold());
1067+
eprintln!("Branch does not exist: {}", branch.branch_name.bold());
10681068
process::exit(1);
10691069
}
10701070
}

0 commit comments

Comments
 (0)