pull convenience in a checked out package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
git ubuntu clone helpfully checks out the current devel branch of the given package, however it doesn't setup the remote branch. It's not hard to workaround this, but seems like it would be convenient (with few unintended side-effects).
== Example ==
$ git ubuntu clone dovecot dovecot-gu
...
$ cd dovecot-gu
$ git pull
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-
== Workaround ==
The workaround is obviously to just follow the stated directions:
$ git branch --set-upstream-to pkg/ubuntu/devel ubuntu/devel
Branch 'ubuntu/devel' set up to track remote branch 'ubuntu/devel' from 'pkg' by rebasing.
It's a bit of typing, and might take a moment to think what's needed, but otherwise not a big deal. Just seems like something git-ubuntu should be able to do for me.