1. 25 1月, 2007 2 次提交
  2. 13 1月, 2007 1 次提交
  3. 08 1月, 2007 1 次提交
    • J
      git-fetch: allow updating the current branch in a bare repository. · 4b441f47
      Junio C Hamano 提交于
      Sometimes, people have only fetch access into a bare repository
      that is used as a back-up location (or a distribution point) but
      does not have a push access for networking reasons, e.g. one end
      being behind a firewall, and updating the "current branch" in
      such a case is perfectly fine.
      
      This allows such a fetch without --update-head-ok, which is a
      flag that should never be used by end users otherwise.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      4b441f47
  4. 02 1月, 2007 1 次提交
  5. 28 12月, 2006 1 次提交
    • S
      Use GIT_REFLOG_ACTION environment variable instead. · f9474132
      Shawn O. Pearce 提交于
      Junio rightly pointed out that the --reflog-action parameter
      was starting to get out of control, as most porcelain code
      needed to hand it to other porcelain and plumbing alike to
      ensure the reflog contained the top-level user action and
      not the lower-level actions it invoked.
      
      At Junio's suggestion we are introducing the new set_reflog_action
      function to all shell scripts, allowing them to declare early on
      what their default reflog name should be, but this setting only
      takes effect if the caller has not already set the GIT_REFLOG_ACTION
      environment variable.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      f9474132
  6. 19 12月, 2006 1 次提交
  7. 18 12月, 2006 1 次提交
    • J
      git-fetch: Avoid reading packed refs over and over again · ed9f7c95
      Junio C Hamano 提交于
      When checking which tags to fetch, the old code used to call
      git-show-ref --verify for each remote tag. Since reading even
      packed refs is not a cheap operation when there are a lot of
      local refs, the code became quite slow.
      
      This fixes it by teaching git-show-ref to filter out existing
      refs using a new mode of operation of git-show-ref.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      ed9f7c95
  8. 14 12月, 2006 1 次提交
  9. 25 11月, 2006 3 次提交
  10. 24 11月, 2006 2 次提交
  11. 20 11月, 2006 1 次提交
  12. 03 11月, 2006 2 次提交
  13. 26 10月, 2006 1 次提交
    • T
      git-fetch.sh printed protocol fix · ddaf7314
      Tuncer Ayaz 提交于
      We have supported https:// protocol for some time and in 1.4.3
      added ftp:// protocol.  The transfer were still reported to be
      over http.
      
      [jc: Tuncer used substring parameter substitution ${remote%%:*}
       but I am deferring it to a later day.  We should replace
       colon-expr with substring substitution after everybody's shell
       can grok it someday, but we are not in a hurry. ]
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      ddaf7314
  14. 11 10月, 2006 1 次提交
  15. 03 10月, 2006 1 次提交
  16. 01 10月, 2006 2 次提交
    • J
      git-fetch: adjust to packed-refs. · fbc72799
      Junio C Hamano 提交于
      The command checked the presence of a ref by directly looking
      into $GIT_DIR/refs directory.  Update it to use show-ref.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      fbc72799
    • S
      fetch: Misc output cleanup · 20a3847d
      Santi B,Ai(Bjar 提交于
      In particular it removes duplicate information, uses short hashes (as
      git-log and company) and uses .. for fast forwarding commits and ... for
      not-fast-forwarding commits (shorter, easier to copy&paste). It also
      reformat the output as:
      
      1. the ones we store in our local ref (either branches or tags):
      
       1a) fast-forward
      
       * refs/heads/origin: fast forward to branch 'master' of ../git/
         old..new: 1ad7a06a..bc1a5807
      
       1b) same (only shown under -v)
      
       * refs/heads/next: same as branch 'origin/next' of ../git/
         commit: ce47b9f
      
       1c) non-fast-forward, forced
      
       * refs/heads/pu: forcing update to non-fast forward branch 'pu' of ../git/
         old...new: 7c733a8...5faa935
      
       1d) non-fast-forward, did not update because not forced
      
       * refs/heads/po: not updating to non-fast forward branch 'po' of ../git/
         old...new: 7c733a8...5faa935
      
       1e) creating a new local ref to store
      
       * refs/tags/v1.4.2-rc4: storing tag 'v1.4.2-rc4' of ../git/
         tag: 8c7a107
       * refs/heads/next: storing branch 'next' of ../git/
         commit: f8a20ae
      
      2. the ones we do not store in our local ref (only shown under -v):
      
       * fetched branch 'master' of ../git
         commit: 695dffe2
       * fetched tag 'v1.4.2-rc4' of ../git
         tag: 8c7a107
      Signed-off-by: NSanti B.ANijar <sbejar@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      20a3847d
  17. 30 9月, 2006 1 次提交
  18. 29 9月, 2006 1 次提交
  19. 24 9月, 2006 1 次提交
  20. 14 9月, 2006 1 次提交
  21. 24 7月, 2006 1 次提交
  22. 18 7月, 2006 1 次提交
  23. 15 7月, 2006 1 次提交
  24. 14 7月, 2006 1 次提交
  25. 12 7月, 2006 1 次提交
  26. 11 7月, 2006 1 次提交
  27. 09 7月, 2006 1 次提交
  28. 04 6月, 2006 1 次提交
  29. 29 5月, 2006 1 次提交
  30. 27 4月, 2006 1 次提交
  31. 14 4月, 2006 2 次提交
  32. 18 3月, 2006 1 次提交
  33. 11 3月, 2006 1 次提交