Bug#947366: myrepos: how to update multiple branches in a repo?

2020-01-05 Thread Sandro Tosi
Package: myrepos Version: 1.20180726 Followup-For: Bug #947366 I ended up creating a library function like: ``` git_update () { CURRENT_BRANCH=`git branch --show-current` && { git fetch || true; } && { for branch in `git for-each-ref --format="%(refname:lstrip=2)"

Bug#947366: myrepos: how to update multiple branches in a repo?

2019-12-25 Thread Sandro Tosi
Package: myrepos Version: 1.20180726 Severity: minor Hello, let's considere the classical git repo for a git package and its branches: * master (or debian/master) * upstream * pristine-tar if i run `mr update` it will only update the current branch, while it would be extremely more useful if it