Hi,
I just saw the scripts cg-update, cg-push .. scripts try to guess a branch name functioning as origin if no argument is given. These scripts seam to use a branch named <branchname>-origin if it exists and the current branch is named <branchname> and is not the branch named master.
I like that feature. Is it anywhere documented?
In case there is no branch named <branchname>-origin the scripts just use origin even if the current branch is not master. I would prefer the scripts to fail in this case and to print a message asking the user to specifically name a branch.
Cheers, Michael