diff options
author | Nick Gerace <nickagerace@gmail.com> | 2021-08-02 00:59:02 -0400 |
---|---|---|
committer | Nick Gerace <nickagerace@gmail.com> | 2021-08-02 01:04:28 -0400 |
commit | 3d51da0a76de7b2e15926becca86fe45f088cbbe (patch) | |
tree | 0854040c7847fea40073773d7359f620fb9c0c12 /src/util.rs | |
parent | 5c8fdcc18081a2d85ac6f845835fb3c1888fc043 (diff) | |
download | gfold-3d51da0a76de7b2e15926becca86fe45f088cbbe.zip |
Bump packages
Diffstat (limited to 'src/util.rs')
-rw-r--r-- | src/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.rs b/src/util.rs index de4dcc9..5ff96da 100644 --- a/src/util.rs +++ b/src/util.rs @@ -116,7 +116,7 @@ pub fn create_table_from_paths( } // FIXME: this function may not currently work because "clean", non-main branches can be considered "unpushed". -fn is_unpushed(repo: &git2::Repository, head: &git2::Reference) -> bool { +fn is_unpushed(repo: &git2::Repository, head: &git2::Reference<'_>) -> bool { let local = match head.peel_to_commit() { Ok(local) => local, Err(_) => return false, |