1. 13 8月, 2010 11 次提交
  2. 12 8月, 2010 5 次提交
    • J
      Merge branch 'maint' · 7980e417
      Junio C Hamano 提交于
      * maint:
        post-receive-email: remove spurious commas in email subject
        fast-import: export correctly marks larger than 2^20-1
        t/lib-git-svn.sh: use $PERL_PATH for perl, not perl from $PATH
        diff: strip extra "/" when stripping prefix
      7980e417
    • M
      post-receive-email: remove spurious commas in email subject · b5e233ec
      Matthieu Moy 提交于
      The previous form produced subjects like
      
        [SCM] project.git branch, foo, updated. ...
      
      The new one will produce the lighter
      
        [SCM] project.git branch foo updated. ...
      Signed-off-by: NMatthieu Moy <Matthieu.Moy@imag.fr>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b5e233ec
    • R
      fast-import: export correctly marks larger than 2^20-1 · 7e7db5e4
      Raja R Harinath 提交于
      dump_marks_helper() has a bug when dumping marks larger than 2^20-1,
      i.e., when the sparse array has more than two levels.  The bug was
      that the 'base' counter was being shifted by 20 bits at level 3, and
      then again by 10 bits at level 2, rather than a total shift of 20 bits
      in this argument to the recursive call:
      
        (base + k) << m->shift
      
      There are two ways to fix this correctly, the elegant:
      
        (base + k) << 10
      
      and the one I chose due to edit distance:
      
        base + (k << m->shift)
      Signed-off-by: NRaja R Harinath <harinath@hurrynot.org>
      Acked-by: NShawn O. Pearce <spearce@spearce.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7e7db5e4
    • Æ
      t/lib-git-svn.sh: use $PERL_PATH for perl, not perl from $PATH · 55369342
      Ævar Arnfjörð Bjarmason 提交于
      Change the git-svn tests to use $PERL_PATH, not the "perl" in $PATH.
      
      Using perl in $PATH was added by Sam Vilain in v1.6.6-rc0~95^2~3,
      Philippe Bruhat introduced $PERL_PATH to the test suite in
      v1.6.6-rc0~9^2, but the lib-git-svn.sh tests weren't updated to use
      the new convention.
      
      This resulted in the git-svn tests always being skipped on my
      system. My /usr/bin/perl has access to SVN::Core and SVN::Repos, but
      the perl in my $PATH does not.
      Signed-off-by: NÆvar Arnfjörð Bjarmason <avarab@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      55369342
    • J
      diff: strip extra "/" when stripping prefix · d8faea9d
      Jakub Narebski 提交于
      There are two ways a user might want to use "diff --relative":
      
        1. For a file in a directory, like "subdir/file", the user
           can use "--relative=subdir/" to strip the directory.
      
        2. To strip part of a filename, like "foo-10", they can
           use "--relative=foo-".
      
      We currently handle both of those situations. However, if the user passes
      "--relative=subdir" (without the trailing slash), we produce inconsistent
      results. For the unified diff format, we collapse the double-slash of
      "a//file" correctly into "a/file". But for other formats (raw, stat,
      name-status), we end up with "/file".
      
      We can do what the user means here and strip the extra "/" (and only a
      slash).  We are not hurting any existing users of (2) above with this
      behavior change because the existing output for this case was nonsensical.
      
      Patch by Jakub, tests and commit message by Jeff King.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d8faea9d
  3. 10 8月, 2010 14 次提交
  4. 07 8月, 2010 4 次提交
  5. 06 8月, 2010 1 次提交
  6. 05 8月, 2010 4 次提交
  7. 04 8月, 2010 1 次提交
    • J
      Merge branch 'maint' · 721e76cb
      Junio C Hamano 提交于
      * maint:
        contrib/svn-fe: Add the svn-fe target to .gitignore
        contrib/svn-fe: Fix IncludePath
        Fix DIFF_QUEUE_CLEAR refactoring
        git-gui: fix size and position of window panes on startup
        git-gui: mc cannot be used before msgcat has been loaded
        git-gui: use textconv filter for diff and blame
        git-gui: Avoid using the <<Copy>> binding as a menu accelerator on win32
        git-gui: fix shortcut creation on cygwin
        git-gui: fix PATH environment for mingw development environment
        git-gui: fix usage of _gitworktree when creating shortcut for windows
        git-gui: fix "Explore Working Copy" for Windows again
        git-gui: fix usage of themed widgets variable
        git-gui: Handle failure of core.worktree to identify the working directory.
        git-gui: check whether systems nice command works or disable it
      721e76cb