Skip to content

Commit

Permalink
Fix not updating Git source branches after force pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
rossmacarthur committed Feb 27, 2022
1 parent 63f5cfd commit d254a6a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ pub mod git {

static DEFAULT_REFSPECS: Lazy<Vec<String>> = Lazy::new(|| {
vec_into![
"refs/heads/*:refs/remotes/origin/*",
"HEAD:refs/remotes/origin/HEAD"
"+refs/heads/*:refs/remotes/origin/*",
"+HEAD:refs/remotes/origin/HEAD"
]
});

Expand Down

0 comments on commit d254a6a

Please sign in to comment.