diff --git a/RELEASES.md b/RELEASES.md index cad1bbf6..fb242cf9 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,10 +1,18 @@ # 📝 Release notes +## 0.6.7 + +*Unreleased* + +- [Fix not updating Git source branches after force pushes.](#placeholder) + Previously repositories that had a branch that was force pushed to wouldn't + be updated by `sheldon lock --update`. + ## 0.6.6 *January 29th, 2022* -- [Support and bundle shell completions][#129] +- [Support and bundle shell completions.][#129] [#129]: https://github.com/rossmacarthur/sheldon/issues/129 diff --git a/src/util.rs b/src/util.rs index 5baa316b..80cc0052 100644 --- a/src/util.rs +++ b/src/util.rs @@ -242,8 +242,8 @@ pub mod git { static DEFAULT_REFSPECS: Lazy> = Lazy::new(|| { vec_into![ - "refs/heads/*:refs/remotes/origin/*", - "HEAD:refs/remotes/origin/HEAD" + "+refs/heads/*:refs/remotes/origin/*", + "+HEAD:refs/remotes/origin/HEAD" ] });