1. 21 1月, 2016 1 次提交
  2. 14 12月, 2015 1 次提交
  3. 04 11月, 2015 2 次提交
  4. 03 11月, 2015 3 次提交
  5. 01 11月, 2015 1 次提交
    • M
      Cache result of `git rev-parse --git-dir` · e6823e8d
      Mislav Marohnić 提交于
      It's invoked often from different methods, but always has the same
      results. Cache it after the 1st run so subsequent runs are no-ops.
      
      Before:
      
          HUB_VERBOSE=1 git browse
          $ git config alias.browse
          $ git rev-parse -q --git-dir
          $ git rev-parse -q --git-dir
          $ git remote -v
          $ git rev-parse -q --git-dir
          $ git config hub.host
          $ git rev-parse -q --git-dir
          $ git config push.default
          $ git rev-parse -q --git-path refs/remotes/origin/no-angular
          $ git rev-parse -q --git-dir
          $ git rev-parse -q --git-dir
          $ git rev-parse -q --git-dir
      
      After (6 fewer invocations):
      
          HUB_VERBOSE=1 git browse
          $ git config alias.browse
          $ git rev-parse -q --git-dir
          $ git remote -v
          $ git config hub.host
          $ git config push.default
          $ git rev-parse -q --git-path refs/remotes/origin/no-angular
      e6823e8d
  6. 31 10月, 2015 6 次提交
  7. 23 10月, 2015 1 次提交
  8. 20 10月, 2015 1 次提交
  9. 18 10月, 2015 1 次提交
  10. 14 10月, 2015 2 次提交
  11. 30 9月, 2015 1 次提交
  12. 28 9月, 2015 10 次提交
  13. 27 9月, 2015 9 次提交
  14. 26 9月, 2015 1 次提交
    • M
      Detect `git rev-parse` output when on git version < 2.5 · 0e1ae6fd
      Mislav Marohnić 提交于
      We can't use `--git-path` on git versions older than 2.5. Those versions
      will simply echo `--git-path` as the first line of the output. Instead
      of stat'ing that as a file, skip this case and proceed immediately to
      fallback for other git versions.
      0e1ae6fd