1. 03 12月, 2006 1 次提交
    • E
      git-svn: avoid fetching files twice in the same revision · 6173c197
      Eric Wong 提交于
      SVN is not entirely consistent in returning log information and
      sometimes returns file information when adding subdirectories,
      and sometimes it does not (only returning information about the
      directory that was added).  This caused git-svn to occasionally
      add a file to the list of files to be fetched twice.  Now we
      change the data structure to be hash to avoid repeated fetches.
      
      As of now (in master), this only affects repositories fetched
      without deltas enabled (file://, and when manually overriden
      with GIT_SVN_DELTA_FETCH=0); so this bug mainly affects users of
      1.4.4.1 and maint.
      
      Thanks to Florian Weimer for reporting this bug.
      
      [jc: backported for maint]
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      6173c197
  2. 30 11月, 2006 3 次提交
  3. 29 11月, 2006 1 次提交
  4. 24 11月, 2006 5 次提交
  5. 23 11月, 2006 3 次提交
  6. 22 11月, 2006 3 次提交
  7. 20 11月, 2006 2 次提交
  8. 19 11月, 2006 8 次提交
  9. 17 11月, 2006 2 次提交
    • L
      "git fmt-merge-msg" SIGSEGV · 6b1f8c32
      Linus Torvalds 提交于
      Ok, this is a _really_ stupid case, and I don't think it matters, but hey,
      we should never SIGSEGV.
      
      Steps to reproduce:
      
      	mkdir duh
      	cd duh
      	git init-db
      	git-fmt-merge-msg < /dev/null
      
      will cause a SIGSEGV in cmd_fmt_merge_msg(), because we're doing a
      strncmp() with a NULL current_branch.
      
      And yeah, it's an insane schenario, and no, it doesn't really matter. The
      only reason I noticed was that a broken version of my "git pull" into an
      empty directory would cause this.
      
      This silly patch just replaces the SIGSEGV with a controlled exit with an
      error message.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      6b1f8c32
    • L
      git-pull: allow pulling into an empty repository · d09e79cb
      Linus Torvalds 提交于
      We used to complain that we cannot merge anything we fetched
      with a local branch that does not exist yet.  Just treat the
      case as a natural extension of fast forwarding and make the
      local branch'es tip point at the same commit we just fetched.
      After all an empty repository without an initial commit is an
      ancestor of any commit.
      
      [jc: I added a trivial test.  We've become sloppy but we should
       stick to the discipline of covering new behaviour with new
       tests. ]
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      d09e79cb
  10. 16 11月, 2006 6 次提交
  11. 15 11月, 2006 1 次提交
  12. 14 11月, 2006 4 次提交
  13. 13 11月, 2006 1 次提交