1. 17 7月, 2008 1 次提交
  2. 16 7月, 2008 2 次提交
  3. 14 7月, 2008 2 次提交
  4. 12 7月, 2008 3 次提交
    • J
      t0004: fix timing bug · 329636b4
      Junio C Hamano 提交于
      The test created an initial commit, made .git/objects unwritable and then
      exercised various codepaths to create loose commit, tree and blob objects
      to make sure the commands notice failures from these attempts.
      
      However, the initial commit was not preceded with test_tick, which made
      its object name depend on the timestamp.  The names of all the later tree
      and blob objects the test tried to create were static.  If the initial
      commit's object name happened to begin with the same two hexdigits as the
      tree or blob objects the test later attempted to create, the fan-out
      directory in which these tree or blob would be created is already created
      when the initial commit was made, and the object creation succeeds, and
      commands being tested should not notice any failure --- in short, the test
      was bogus.
      
      This makes the fan-out directories also unwritable, and adds test_tick
      before the commit object creation to make the test repeatable.
      
      The contents of the file to create a blob from "a" to "60" is to force the
      name of the blob object to begin with "1b", which shares the fan-out
      directory with the initial commit that is created with the test.  This was
      useful when diagnosing the breakage of this test.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      329636b4
    • L
      b4958181
    • P
      Fix backwards-incompatible handling of core.sharedRepository · 8c6202d8
      Petr Baudis 提交于
      06cbe855 (Make core.sharedRepository more generic, 2008-04-16) broke the
      traditional setting of core.sharedRepository to true, which was to make
      the repository group writable: with umask 022, it would clear the
      permission bits for 'other'. (umask 002 did not exhibit this behaviour
      since pre-chmod() check in adjust_shared_perm() fails in that case.)
      
      The call to adjust_shared_perm() should only loosen the permission.
      If the user has umask like 022 or 002 that allow others to read, the
      resulting files should be made readable and writable by group, without
      restricting the readability by others.
      
      This patch fixes the adjust_shared_perm() mode tweak based on Junio's
      suggestion and adds the appropriate tests to t/t1301-shared-repo.sh.
      
      Cc: Heikki Orsila <heikki.orsila@iki.fi>
      Signed-off-by: NPetr Baudis <pasky@suse.cz>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8c6202d8
  5. 09 7月, 2008 6 次提交
  6. 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
  7. 07 7月, 2008 3 次提交
  8. 06 7月, 2008 10 次提交
  9. 04 7月, 2008 3 次提交
  10. 03 7月, 2008 4 次提交
  11. 02 7月, 2008 2 次提交