allow git ubuntu shallow clone to speed up
Bug #1874474 reported by
Christian Ehrhardt
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
There is one case left where I still prefer `pull-lp-source` to `git ubuntu clone`.
That is if I just quickly want to check content, because the former is faster.
But turning this around then I often enough need a different version so I need git-ubuntu again.
git itself has shallow clone/checkout which allows to be faster if you "only want to take a look".
I wanted to request that one could make a fast/shallow checkout with git-ubuntu as well.
Example:
$ git ubuntu clone <pkg> <release>
would shallow-clone just pkg/<release>
That is most of the time enough for what you want, and if it isn't it is just a `git fetch pkg` away then.
tags: | added: clone workflow |
Changed in usd-importer: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
To post a comment you must log in.
I'm not sure if you do this already, or if it isn't suitable, but in some cases the Launchpad cgit view is a workaround for "just taking a look". For example: https:/ /git.launchpad. net/ubuntu/ +source/ hello/tree/
But of course there are cases where having a shallow clone locally would be more convenient.