Right now, the user has to say, check all branches against some canonical remote/branch (say, origin/master) in each repository. This assumes that each branch in each repository was branch'd off of origin/master. Instead, the script should figure out which remote/branch a given branch was branch'd from when it was created and use that remote/branch when doing the comparison to find out how outdated a branch is.
Right now, the user has to say, check all branches against some canonical remote/branch (say, origin/master) in each repository. This assumes that each branch in each repository was branch'd off of origin/master. Instead, the script should figure out which remote/branch a given branch was branch'd from when it was created and use that remote/branch when doing the comparison to find out how outdated a branch is.