1. 30 4月, 2008 9 次提交
  2. 29 4月, 2008 3 次提交
  3. 28 4月, 2008 9 次提交
  4. 27 4月, 2008 1 次提交
  5. 26 4月, 2008 1 次提交
  6. 25 4月, 2008 5 次提交
    • J
      Merge branch 'maint' · 049a226f
      Junio C Hamano 提交于
      * maint:
        remote: create fetch config lines with '+'
        push: allow unqualified dest refspecs to DWIM
        doc/git-gc: add a note about what is collected
        t5516: remove ambiguity test (1)
        Linked glossary from cvs-migration page
        write-tree: properly detect failure to write tree objects
      049a226f
    • J
      remote: create fetch config lines with '+' · 1ce89cc4
      Jeff King 提交于
      Since git-remote always uses remote tracking branches, it
      should be safe to always force updates of those branches.
      I.e., we should generate
      
        fetch = +refs/heads/*:refs/remotes/$remote/*
      
      instead of
      
        fetch = refs/heads/*:refs/remotes/$remote/*
      
      This was the behavior of the perl version, which seems to
      have been lost in the C rewrite.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      1ce89cc4
    • J
      push: allow unqualified dest refspecs to DWIM · f8aae120
      Jeff King 提交于
      Previously, a push like:
      
        git push remote src:dst
      
      would go through the following steps:
      
        1. check for an unambiguous 'dst' on the remote; if it
           exists, then push to that ref
        2. otherwise, check if 'dst' begins with 'refs/'; if it
           does, create a new ref
        3. otherwise, complain because we don't know where in the
           refs hierarchy to put 'dst'
      
      However, in some cases, we can guess about the ref type of
      'dst' based on the ref type of 'src'. Specifically, before
      complaining we now check:
      
        2.5. if 'src' resolves to a ref starting with refs/heads
             or refs/tags, then prepend that to 'dst'
      
      So now this creates a new branch on the remote, whereas it
      previously failed with an error message:
      
        git push master:newbranch
      
      Note that, by design, we limit this DWIM behavior only to
      source refs which resolve exactly (including symrefs which
      resolve to existing refs). We still complain on a partial
      destination refspec if the source is a raw sha1, or a ref
      expression such as 'master~10'.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f8aae120
    • J
      Merge branch 'maint-1.5.4' into maint · 31c6390d
      Junio C Hamano 提交于
      * maint-1.5.4:
        t5516: remove ambiguity test (1)
        Linked glossary from cvs-migration page
        write-tree: properly detect failure to write tree objects
      31c6390d
    • J
      doc/git-gc: add a note about what is collected · 3ffb58be
      Jeff King 提交于
      It seems to be a FAQ that people try running git-gc, and
      then get puzzled about why the size of their .git directory
      didn't change. This note mentions the reasons why things
      might unexpectedly get kept.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3ffb58be
  7. 24 4月, 2008 3 次提交
  8. 23 4月, 2008 9 次提交