1. 19 2月, 2006 2 次提交
    • M
      Fix retries in git-cvsimport · 39ba7d54
      Martin Mares 提交于
      Fixed a couple of bugs in recovering from broken connections:
      
      The _line() method now returns undef correctly when the connection
      is broken instead of falling off the function and returning garbage.
      
      Retries are now reported to stderr and the eventual partially
      downloaded file is discarded instead of being appended to.
      
      The "Server gone away" test has been removed, because it was
      reachable only if the garbage return bug bit.
      Signed-off-by: NMartin Mares <mj@ucw.cz>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      39ba7d54
    • E
      archimport: remove files from the index before adding/updating · 3ff903bf
      Eric Wong 提交于
      This fixes a bug when importing where a directory gets removed/renamed
      but is immediately replaced by a file of the same name in the same
      changeset.
      
      This fix only applies to the accurate (default) strategy the moment.
      
      This patch should also fix the fast strategy if/when it is updated
      to handle the cases that would've triggered this bug.
      
      This bug was originally found in git-svn, but I remembered I did the
      same thing with archimport as well.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      3ff903bf
  2. 18 2月, 2006 6 次提交
  3. 16 2月, 2006 2 次提交
  4. 15 2月, 2006 1 次提交
  5. 14 2月, 2006 5 次提交
  6. 13 2月, 2006 8 次提交
  7. 12 2月, 2006 14 次提交
  8. 11 2月, 2006 2 次提交
    • L
      Make "git clone" less of a deathly quiet experience · 5ee2ad65
      Linus Torvalds 提交于
      It used to be that "git-unpack-objects" would give nice percentages, but
      now that we don't unpack the initial clone pack any more, it doesn't. And
      I'd love to do that nice percentage view in the pack objects downloader
      too, but the thing doesn't even read the pack header, much less know how
      much it's going to get, so I was lazy and didn't.
      
      Instead, it at least prints out how much data it's gotten, and what the
      packing speed is. Which makes the user realize that it's actually doing
      something useful instead of sitting there silently (and if the recipient
      knows how large the final result is, he can at least make a guess about
      when it migt be done).
      
      So with this patch, I get something like this on my DSL line:
      
      	[torvalds@g5 ~]$ time git clone master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 clone-test
      	Packing 188543 objects
      	  48.398MB  (154 kB/s)
      
      where even the speed approximation seems to be roughtly correct (even
      though my algorithm is a truly stupid one, and only really gives "speed in
      the last half second or so").
      
      Anyway, _something_ like this is definitely needed. It could certainly be
      better (if it showed the same kind of thing that git-unpack-objects did,
      that would be much nicer, but would require parsing the object stream as
      it comes in). But this is  big step forward, I think.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      5ee2ad65
    • J
      Define GIT_(AUTHOR|COMMITTER)_(NAME|EMAIL) to known values. · 29e55cd5
      Junio C Hamano 提交于
      Without these, running tests with an account with empty gecos
      field would fail.
      
      We might want to loosen error from "git-var -l" (but not
      "git-var GIT_AUTHOR_NAME") later, but that is more or less an
      independent issue.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      29e55cd5