Clicking on "Pull" will fetch twice unnecessarily making it slower

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 3.4.21
    • Component/s: Git
    • None
    • Severity 3 - Minor

      When I click Pull and view "Show Full Output" I see:

      >git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch --no-tags origin

      >git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks pull --no-commit origin staging

      This is unnecessary, since a "pull" is literally a fetch+merge
      >git pull runs git fetch with the given parameters

      https://git-scm.com/docs/git-pull

      Running fetch first is just making it unnecessarily slow - especially if your network is slow.

            Assignee:
            Unassigned
            Reporter:
            bablex
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: