willis: update regex to handle new git branch output
Newer git has changed the `git branch` output format to include "detached
from XXX". Update willis to deal with it.
BUG=None
TEST=`willis` outside of chroot no longer shows uninteresting repos
Change-Id: I90e65dba9f69ec0202ef48244336c750d7c2240a
Reviewed-on: https://gerrit.chromium.org/gerrit/58265
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Tested-by: Bill Richardson <wfrichar@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
1 file changed