-
Notifications
You must be signed in to change notification settings - Fork 253
Open
Labels
not-plannedIt's not planned in the futureIt's not planned in the future
Description
When working with very large repos (eg. https://github.com/NixOS/nixpkgs), fetching or pulling everything may take very long and get huge amounts of data that isn't needed at all.
While this can already be addressed by adding --depth 10
or similar as "Extra Parameters" in the clone dialogue, I'd like to have such an option for fetch and pull, too.
The syntax for fetch and pull is slightly different from clone: we need an =
instead of the space: --depth=10
.
I could think of several ways to implement this:
- Add a
depth
field to the fetch/pull dialogues (default: empty or0
, meaning "fetch everything"). This setting should be remembered. - Add an
Extra Parameters
field to the fetch/pull dialogues, similar to the clone dialogue. - Add a field
Fetch / Pull depth
(or two separate fields, if that makes any sense) to the Repository Configure dialogue and use this parameter for all fetch / pull operations.
I'm not sure, which variant is the best idea. Personally, I like option 3 best, but all of them would be fine for me.
Metadata
Metadata
Assignees
Labels
not-plannedIt's not planned in the futureIt's not planned in the future