gitext-rs / git-stack

Stacked branch management for Git
Apache License 2.0
505 stars 19 forks source link

fix(git): Don't prune valid remote branches #162

Closed epage closed 2 years ago

epage commented 2 years ago

When deciding what to prune, we use git ls-remote to see what is present. When parsing the output, instead of processing the individual fields, I took the shortcut of rsplit_once('/') which returned the incorrect name for names/with/slashes.

Now we parse it more correctly.

Fixes #161