1. 12 7月, 2008 1 次提交
  2. 09 7月, 2008 6 次提交
  3. 08 7月, 2008 4 次提交
    • J
      Merge branch 'lt/racy-empty' into maint · c636d0e2
      Junio C Hamano 提交于
      * lt/racy-empty:
        racy-git: an empty blob has a fixed object name
      c636d0e2
    • J
      Merge branch 'qq/maint' (early part) into maint · 39f319f4
      Junio C Hamano 提交于
      * 'qq/maint' (early part):
        git-svn.perl: workaround assertions in svn library 1.5.0
        mailinfo: feed the correct line length to decode_transfer_encoding()
        git-clone: remove leftover debugging fprintf().
        Fix "config_error_nonbool" used with value instead of key
        clone -q: honor "quiet" option over native transports.
        attribute documentation: keep EXAMPLE at end
        builtin-commit.c: Use 'git_config_string' to get 'commit.template'
        http.c: Use 'git_config_string' to clean up SSL config.
        diff.c: Use 'git_config_string' to get 'diff.external'
        convert.c: Use 'git_config_string' to get 'smudge' and 'clean'
        builtin-log.c: Use 'git_config_string' to get 'format.subjectprefix' and 'format.suffix'
        Documentation cvs: Clarify when a bare repository is needed
        Documentation: be precise about which date --pretty uses
      39f319f4
    • J
      run_command(): respect GIT_TRACE · 8852f5d7
      Johannes Schindelin 提交于
      When GIT_TRACE is set, the user is most likely wanting to see an external
      command that is about to be executed.
      Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8852f5d7
    • G
      git-svn.perl: workaround assertions in svn library 1.5.0 · 2fe403e7
      Gerrit Pape 提交于
      With subversion 1.5.0 (C and perl libraries) the git-svn selftest
      t9101-git-svn-props.sh fails at test 25 and 26.  The following commands
      cause assertions in the svn library
      
       $ cd deeply
       $ git-svn propget svn:ignore .
       perl: /build/buildd/subversion-1.5.0dfsg1/subversion/libsvn_ra/ra_loader.c:674: svn_ra_get_dir: Assertion `*path != '/'' failed.
       Aborted
      
       $ git-svn propget svn:ignore ..
       perl: /build/buildd/subversion-1.5.0dfsg1/subversion/libsvn_subr/path.c:120: svn_path_join: Assertion `is_canonical(component, clen)' failed.
      
      With this commit, git-svn makes sure the path doesn't start with a
      slash, and is not a dot, working around these assertions.
      
      The breakage was reported by Lucas Nussbaum through
       http://bugs.debian.org/489108Signed-off-by: NGerrit Pape <pape@smarden.org>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2fe403e7
  4. 07 7月, 2008 3 次提交
  5. 06 7月, 2008 10 次提交
  6. 04 7月, 2008 3 次提交
  7. 03 7月, 2008 4 次提交
  8. 02 7月, 2008 2 次提交
  9. 30 6月, 2008 3 次提交
  10. 29 6月, 2008 4 次提交
    • E
      git-svn: don't sanitize remote names in config · 7829f20f
      Eric Wong 提交于
      The original sanitization code was just taken from the
      remotes2config.sh shell script in contrib.
      
      Credit to Avery Pennarun for noticing this mistake, and Junio
      for clarifying the rules for config section names:
      
      Junio C Hamano wrote in <7vfxr23s6m.fsf@gitster.siamese.dyndns.org>:
      
      > In
      >
      > 	[foo "bar"] baz = value
      >
      > foo and baz must be config.c::iskeychar() (and baz must be isalpha()), but
      > "bar" can be almost anything.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7829f20f
    • A
      git-svn: avoid filling up the disk with temp files. · 29c70e0b
      Avery Pennarun 提交于
      Commit ffe256f9 ("git-svn: Speed up fetch")
      introduced changes that create a temporary file for each object fetched by
      svn.  These files should be deleted automatically, but perl apparently
      doesn't do this until the process exits (or perhaps when its garbage
      collector runs).
      
      This means that on a large fetch, especially with lots of branches, we
      sometimes fill up /tmp completely, which prevents the next temp file from
      being written completely.  This is aggravated by the fact that a new temp
      file is created for each updated file, even if that update produces a file
      identical to one already in git.  Thus, it can happen even if there's lots
      of disk space to store the finished repository.
      
      We weren't adequately checking for write errors, so this would result in an
      invalid file getting committed, which caused git-svn to fail later with an
      invalid checksum.
      
      This patch adds a check to syswrite() so similar problems don't lead to
      corruption in the future.  It also unlink()'s each temp file explicitly
      when we're done with it, so the disk doesn't need to fill up.
      Signed-off-by: NAvery Pennarun <apenwarr@gmail.com>
      Tested-by: NBjörn Steinbrink <B.Steinbrink@gmx.de>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      29c70e0b
    • B
      git cat-file: Fix memory leak in batch mode · 5b8a94b1
      Björn Steinbrink 提交于
      When run in batch mode, git cat-file never frees the memory for the blob
      contents it is printing. This quickly adds up and causes git-svn to be
      hardly usable for imports of large svn repos, because it uses cat-file in
      batch mode and cat-file's memory usage easily reaches several hundred MB
      without any good reason.
      Signed-off-by: NBjörn Steinbrink <B.Steinbrink@gmx.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      5b8a94b1
    • J
      fix git config example syntax · 762656e0
      Joey Hess 提交于
      git-config expects a space, not '=' between option and value.
      
      Also, quote the value since it contains globs, which some shells will not
      pass through unchanged, or will abort if the glob doesn't expand.
      Signed-off-by: NJoey Hess <joey@kitenet.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      762656e0