1. 29 7月, 2009 2 次提交
  2. 27 7月, 2009 4 次提交
  3. 26 7月, 2009 5 次提交
  4. 25 7月, 2009 21 次提交
  5. 24 7月, 2009 4 次提交
  6. 23 7月, 2009 4 次提交
    • E
      git svn: fix shallow clone when upstream revision is too new · 4aacaeb3
      Eric Wong 提交于
      Thanks to Ka-Hing Cheung for the initial bug report and patch:
      > git-svn uses $ra->get_latest_revnum to find out the latest
      > revision, but that can be problematic, because get_latest_revnum
      > returns the latest revnum in the entire repository, not
      > restricted by whatever URL you used to construct $ra. So if you
      > do git svn clone -r HEAD svn://blah/blah/trunk, it won't work if
      > the latest checkin is in one of the branches (it will try to
      > fetch a rev that doesn't exist in trunk, making the clone
      > useless).
      
      Relying on SVN::Core::INVALID_REVNUM (-1) as the "start"
      argument to SVN::Ra::get_log() proved unreliable with http(s)
      URLs so the result of SVN::Ra::get_latest_revnum() is used as
      the "start" argument instead.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      4aacaeb3
    • J
      do_one_ref(): null_sha1 check is not about broken ref · eafb4526
      Junio C Hamano 提交于
      f8948e2f (remote prune: warn dangling symrefs, 2009-02-08) introduced a
      more dangerous variant of for_each_ref() family that skips the check for
      dangling refs, but it also made another unrelated check optional by
      mistake.
      
      The check to see if a ref points at 0{40} is not about brokenness, but is
      about a possible future plan to represent a deleted ref by writing 40 "0"
      in a loose ref when there is a stale version of the same ref already in
      .git/packed-refs, so that we can implement deletion of a ref without
      having to rewrite the packed refs file excluding the ref being deleted.
      
      This check has to live outside of the conditional.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      eafb4526
    • B
      configure.ac: properly unset NEEDS_SSL_WITH_CRYPTO when sha1 func is missing · 0ad8ff2c
      Brandon Casey 提交于
      The empty assignment NEEDS_SSL_WITH_CRYPTO= was mistakenly paired with the
      assignment NEEDS_SSL_WITH_CRYPTO=YesPlease in the "action-if-found"
      parameter of the AC_CHECK_LIB macro.  The empty assignment was intended for
      the "action-if-not-found" section, since in that case, the necessary sha1
      hash function was not found and the internal sha1 implementation will be
      used instead.
      Signed-off-by: NBrandon Casey <drafnel@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      0ad8ff2c
    • P
      janitor: useless checks before free · 24deea52
      Pierre Habouzit 提交于
      Signed-off-by: NPierre Habouzit <madcoder@debian.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      24deea52