From 4e266a2c2a22385a12ea16b992d345e9856f012f Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 18 Mar 2021 19:27:51 +0100 Subject: feat: add branch connected to head of repository --- src/git.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/git.rs') diff --git a/src/git.rs b/src/git.rs index 479b98c..2a8749c 100644 --- a/src/git.rs +++ b/src/git.rs @@ -119,7 +119,7 @@ pub fn repo_commits( } }; - if let Err(e) = get_branch(&repo, "main") { + if let Err(e) = get_branch(&repo, branch) { return Err(e); } -- cgit v1.2.3-18-g5258