1. 09 5月, 2008 3 次提交
  2. 07 5月, 2008 2 次提交
  3. 06 5月, 2008 10 次提交
  4. 04 5月, 2008 8 次提交
  5. 01 5月, 2008 3 次提交
    • S
      git-svn: Same default as cvsimport when using --use-log-author · abfa533d
      Stephen R. van den Berg 提交于
      When using git-cvsimport, the author is inferred from the cvs commit,
      e.g. cvs commit logname is foobaruser, then the author field in git
      results in:
      
      Author: foobaruser <foobaruser>
      
      Which is not perfect, but perfectly acceptable given the circumstances.
      
      The default git-svn import however, results in:
      
      Author: foobaruser <foobaruser@acf43c95-373e-0410-b603-e72c3f656dc1>
      
      When using mixes of imports, from CVS and SVN into the same git
      repository, you'd like to harmonise the imports to the format cvsimport
      uses.
      git-svn supports an experimental option --use-log-author which currently
      results in the same logentry as without that option when no From: or
      Signed-off-by: is found in the logentry ($email currently ends up empty,
      and hence is generated again).
      
      This patches harmonises the result with cvsimport, and makes
      git-svn --use-log-author produce:
      
      Author: foobaruser <foobaruser>
      Signed-off-by: NStephen R. van den Berg <srb@cuci.nl>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      abfa533d
    • J
      Merge branch 'maint' · e4b9c36c
      Junio C Hamano 提交于
      * maint:
        fetch-pack: brown paper bag fix
      e4b9c36c
    • J
      fetch-pack: brown paper bag fix · 2d8bed96
      Junio C Hamano 提交于
      When I applied Linus's patch from the list by hand somehow I ended
      up reversing the logic by mistake.  This fixes it.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2d8bed96
  6. 30 4月, 2008 12 次提交
  7. 29 4月, 2008 2 次提交
    • A
      Fix use after free() in builtin-fetch · 7b7f39ea
      Alex Riesen 提交于
      As reported by Dave Jones:
      
      Since master.kernel.org updated to latest, I noticed that I could crash
      git-fetch by doing this..
      
      export KERNEL=/pub/scm/linux/kernel/git/
      git fetch $KERNEL/torvalds/linux-2.6 master:linus
      
      (gdb) bt
       0  0x000000349fd6d44b in free () from /lib64/libc.so.6
       1  0x000000000048f4eb in transport_unlock_pack (transport=0x7ce530) at transport.c:811
       2  0x000000349fd31b25 in exit () from /lib64/libc.so.6
       3  0x00000000004043d8 in handle_internal_command (argc=3, argv=0x7fffea4449f0) at git.c:379
       4  0x0000000000404547 in main (argc=3, argv=0x7fffea4449f0) at git.c:443
       5  0x000000349fd1c784 in __libc_start_main () from /lib64/libc.so.6
       6  0x0000000000403ef9 in ?? ()
       7  0x00007fffea4449d8 in ?? ()
       8  0x0000000000000000 in ?? ()
      
      I then remembered, my .bashrc has this..
      
      export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
      
      which is handy for showing up such bugs.
      
      More info on this glibc feature is at http://udrepper.livejournal.com/11429.htmlSigned-off-by: NAlex Riesen <raa.lkml@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7b7f39ea
    • L
      fetch-pack: do not stop traversing an already parsed commit · 72269ad9
      Linus Torvalds 提交于
      f3ec5494 (fetch-pack: check parse_commit/object results, 2008-03-03)
      broke common ancestor computation by stopping traversal when it sees
      an already parsed commit.  This should fix it.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      72269ad9