Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feature request: Add option to set depth for fetch / pull #1605

Closed
Assignees
Labels
not-plannedIt's not planned in the future
@silmaril42

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:

  1. Add a depth field to the fetch/pull dialogues (default: empty or 0, meaning "fetch everything"). This setting should be remembered.
  2. Add an Extra Parameters field to the fetch/pull dialogues, similar to the clone dialogue.
  3. 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

Labels

not-plannedIt's not planned in the future

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /