Fetching too many tags?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey git,

I am interested in git performance today and can't figure out what's going on
here. I was wondering why my git-fetch might be slow in an up-to-date repo:

  $ git pull
  Already up to date.
  $ time git fetch origin master
  From https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux
   * branch                      master     -> FETCH_HEAD
  git fetch origin master  0.13s user 0.06s system 10% cpu 1.705 total

GIT_TRACE_CURL shows it spends most of the time transfering (all) tags from the
remote. It's much faster with --no-tags:

  $ time git fetch -n origin master
  From https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux
   * branch                      master     -> FETCH_HEAD
  git fetch -n origin master  0.11s user 0.03s system 36% cpu 0.383 total

But I don't have tagOpt set:

  $ git config remote.origin.tagOpt || echo $?
  1

And the remote doesn't have to send me any commits, so I don't see why I should
receive any tags at all. Why might I be receiving so many tags?

Thanks,
Ronan




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux