Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/Homebrew/brew.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Aug 25, 2014
  2. Jul 24, 2014
    • Dabrien 'Dabe' Murphy's avatar
      Modify "git rev-parse --verify" args in "has_ref?" · 46ca68de
      Dabrien 'Dabe' Murphy authored
      
      Per the `git-rev-parse(1)` manpage:
      
        --verify Verify that exactly one parameter is provided, and that it
        can be turned into a raw 20-byte SHA-1 that can be used to access the
        object database. If so, emit it to the standard output; otherwise,
        error out.
      
        If you want to make sure that the output actually names an object in
        your object database and/or can be used as a specific type of object
        For example, git rev-parse "$VAR^{commit}" will make sure $VAR names
        an existing object that is a commit-ish (i.e. a commit, or an
        annotated tag that points at a commit).
      
      That actually means that:
      
        git rev-parse --verify af8e768e2bd3b4398bca033998f83b0eb8874914
      
      will _always_ return the SHA-1 hash — regardless of whether or not
      that's actually a valid reference!
      
      Thus, when `GitDownloadStragtegy#update_repo` tries to check
      `has_ref?`, it mistakenly succeeds, and doesn't actually do a `git fetch
      origin`.
      
      The fix is to use:
      
        git rev-parse --verify "af8e768e2bd3b4398bca033998f83b0eb8874914^{commit}"
      
      Fixes Homebrew/homebrew#31045.
      Closes Homebrew/homebrew#31054.
      
      Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
      46ca68de
  3. Jul 19, 2014
    • Maurus Cuelenaere's avatar
      Fix checking out recursive git submodules · efcfbcc9
      Maurus Cuelenaere authored
      
      When nested submodules appear in a git repository, the `git submodule foreach
      git checkout-index ..` command would fail because it would checkout at the root
      directory instead of in its parent(s)' folder.
      
      Eg: root/submodule1/submodule2 would be checked out in root/submodule2
      
      Closes Homebrew/homebrew#30841.
      
      Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
      efcfbcc9
  4. Jul 18, 2014
  5. Jul 17, 2014
  6. Jul 06, 2014
  7. Jun 16, 2014
  8. Jun 04, 2014
  9. Jun 02, 2014
  10. May 13, 2014
    • Mike McQuaid's avatar
      download_strategy: fix Git repo updating. · 3710beda
      Mike McQuaid authored
      Git repositories should always be updated when the ref is a branch.
      They should be also updated if no ref was specified or if the ref isn’t
      present. This stops the repo being updated if we’re building a specific
      revision and it is present. Additionally, this stops the update barfing
      on repositories where we’re using a revision and there is no upstream
      `master` branch.
      
      Closes Homebrew/homebrew#29218.
      3710beda
  11. Apr 07, 2014
  12. Mar 19, 2014
  13. Feb 21, 2014
  14. Feb 15, 2014
  15. Dec 06, 2013
  16. Dec 04, 2013
  17. Nov 30, 2013
  18. Nov 27, 2013
  19. Nov 19, 2013
  20. Nov 13, 2013
  21. Nov 12, 2013
  22. Nov 06, 2013
  23. Nov 01, 2013
  24. Oct 30, 2013
    • Jack Nagel's avatar
      Use curl to download list of Apache mirrors · a5b28147
      Jack Nagel authored
      Ruby's OpenURI library is somewhat broken under 1.8 and chokes on
      otherwise valid values of http(s)_proxy. Use curl to get the mirror list
      instead.
      
      Fixes Homebrew/homebrew#23708.
      a5b28147
  25. Oct 13, 2013
  26. Oct 12, 2013
Loading