[crosstool-ng/crosstool-ng] ce7eea: Try to use 'git fetch --depth 1' if possible

Alexey Neyman <[email protected]>
Newsgroups gmane.comp.gcc.cross-compiling
Message-ID <5bccad7a35815_52e32b10a6ee6588543be@hookshot-fe-d252ca1.cp1-iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/crosstool-ng/crosstool-ng
  Commit: ce7eea80031ded1b5cd7f51b772dd98f261f439f
      https://github.com/crosstool-ng/crosstool-ng/commit/ce7eea80031ded1b5cd7f51b772dd98f261f439f
  Author: Alexey Neyman <[email protected]>
  Date:   2018-10-20 (Sat, 20 Oct 2018)

  Changed paths:
    M scripts/functions

  Log Message:
  -----------
  Try to use 'git fetch --depth 1' if possible

It should be possible if fetching a tag/branch, and it may be possible
if fetching a changeset if a server is configured to allow it.

Fixes #986

Signed-off-by: Alexey Neyman <[email protected]>


  Commit: 2157b5392018a1508d6ab1b71735ec73338f9d19
      https://github.com/crosstool-ng/crosstool-ng/commit/2157b5392018a1508d6ab1b71735ec73338f9d19
  Author: Alexey Neyman <[email protected]>
  Date:   2018-10-21 (Sun, 21 Oct 2018)

  Changed paths:
    M scripts/functions

  Log Message:
  -----------
  Merge pull request #1064 from stilor/git-shallow

Try to use 'git fetch --depth 1' if possible


Compare: https://github.com/crosstool-ng/crosstool-ng/compare/a86dc5416a03...2157b5392018
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.