1. 27 8月, 2009 4 次提交
  2. 22 8月, 2009 13 次提交
  3. 20 8月, 2009 1 次提交
  4. 19 8月, 2009 10 次提交
  5. 17 8月, 2009 1 次提交
    • J
      docs: describe impact of repack on "clone -s" · 13354f53
      Jeff King 提交于
      The effects of repacking on a repository with alternates are a bit
      subtle. The two main things users will want are:
      
        1. Not to waste disk space by accidentally copying objects which could
           be shared.
      
        2. Copying all objects explicitly to break the dependency on the source
           repo.
      
      This patch describes both under the "clone -s" documentation. It makes
      sense to put it there rather than in git-repack.txt for both cases.
      
      For (1), we are warning the user who is using "clone -s" about what _not_
      to do, so we need to get their attention when reading about "clone -s".
      
      For (2), we are telling them how git-repack can be used to accomplish a
      task, but until they know that git-repack is the right tool, they have no
      reason to look at the repack documentation.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      13354f53
  6. 16 8月, 2009 8 次提交
    • J
      Merge branch 'lt/block-sha1' · 64d5fe0a
      Junio C Hamano 提交于
      * lt/block-sha1:
        block-sha1/sha1.c: silence compiler complaints by casting void * to char *
        block-sha1: more good unaligned memory access candidates
        block-sha1: support for architectures with memory alignment restrictions
        block-sha1: split the different "hacks" to be individually selected
        block-sha1: move code around
        block-sha1: improve code on large-register-set machines
        block-sha1: improved SHA1 hashing
        block-sha1: perform register rotation using cpp
        block-sha1: get rid of redundant 'lenW' context
        block-sha1: Use '(B&C)+(D&(B^C))' instead of '(B&C)|(D&(B|C))' in round 3
        block-sha1: macroize the rounds a bit further
        block-sha1: re-use the temporary array as we calculate the SHA1
        block-sha1: make the 'ntohl()' part of the first SHA1 loop
        block-sha1: minor fixups
        block-sha1: try to use rol/ror appropriately
        block-sha1: undo ctx->size change
        Add new optimized C 'block-sha1' routines
      64d5fe0a
    • J
      Merge branch 'bc/maint-am-email' · 2f74fb56
      Junio C Hamano 提交于
      * bc/maint-am-email:
        git-am: print fair error message when format detection fails
        am: allow individual e-mail files as input
      2f74fb56
    • J
      Merge branch 'js/maint-cover-letter-non-ascii' · 228f9c9a
      Junio C Hamano 提交于
      * js/maint-cover-letter-non-ascii:
        Correctly mark cover letters' encodings if they are not pure ASCII
        Expose the has_non_ascii() function
      228f9c9a
    • J
      Merge branch 'jc/maint-clean-nested-dir-safety' · 14683af8
      Junio C Hamano 提交于
      * jc/maint-clean-nested-dir-safety:
        clean: require double -f options to nuke nested git repository and work tree
      14683af8
    • J
      Merge branch 'jk/maint-merge-msg-fix' · b21f9e7f
      Junio C Hamano 提交于
      * jk/maint-merge-msg-fix:
        merge: indicate remote tracking branches in merge message
        merge: fix incorrect merge message for ambiguous tag/branch
        add tests for merge message headings
      b21f9e7f
    • J
      Merge git://git.kernel.org/pub/scm/gitk/gitk · 1d7d6ad5
      Junio C Hamano 提交于
      * git://git.kernel.org/pub/scm/gitk/gitk:
        gitk: Parse arbitrary commit-ish in SHA1 field
        gitk: Fix direction of symmetric difference in optimized mode
        gitk: New option to hide remote refs
        gitk: Do not hard-code "encoding" in attribute lookup functions
      1d7d6ad5
    • T
      add -p: do not attempt to coalesce mode changes · 3d792161
      Thomas Rast 提交于
      In 0392513f (add-interactive: refactor mode hunk handling, 2009-04-16),
      we merged the interaction loops for mode changes and hunk staging.
      This was fine at the time, because 0beee4c6 (git-add--interactive:
      remove hunk coalescing, 2008-07-02) removed hunk coalescing.
      
      However, in 7a26e653 (Revert "git-add--interactive: remove hunk
      coalescing", 2009-05-16), we resurrected it.  Since then, the code
      would attempt in vain to merge mode changes with diff hunks,
      corrupting both in the process.
      
      We add a check to the coalescing loop to ensure it only looks at diff
      hunks, thus skipping mode changes.
      Noticed-by: NKirill Smelkov <kirr@mns.spb.ru>
      Signed-off-by: NThomas Rast <trast@student.ethz.ch>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3d792161
    • K
      git add -p: demonstrate failure when staging both mode and hunk · 87ca2eaa
      Kirill Smelkov 提交于
      When trying to stage changes to file which has also pending `chmod +x`,
      `git add -p` produces lots of 'Use of uninitialized value ...' warnings
      and fails to do the job:
      
          $ echo content >> file
          $ chmod +x file
          $ git add -p
          diff --git a/file b/file
          index e69de29..d95f3ad
          --- a/file
          +++ b/file
          old mode 100644
          new mode 100755
          Stage mode change [y,n,q,a,d,/,j,J,g,?]? y
          @@ -0,0 +1 @@
          +content
          Stage this hunk [y,n,q,a,d,/,K,g,e,?]? y
          Use of uninitialized value $o_ofs in addition (+) at .../git-add--interactive line 776.
          Use of uninitialized value $ofs in numeric le (<=) at .../git-add--interactive line 806.
          Use of uninitialized value $o0_ofs in concatenation (.) or string at .../git-add--interactive line 830.
          Use of uninitialized value $n0_ofs in concatenation (.) or string at .../git-add--interactive line 830.
          Use of uninitialized value $o_ofs in addition (+) at .../git-add--interactive line 776.
          fatal: corrupt patch at line 5
          diff --git a/file b/file
          index e69de29..d95f3ad
          --- a/file
          +++ b/file
          @@ -,0 + @@
          +content
      Signed-off-by: NKirill Smelkov <kirr@mns.spb.ru>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      87ca2eaa
  7. 15 8月, 2009 3 次提交