1. 22 7月, 2014 6 次提交
  2. 08 7月, 2014 2 次提交
  3. 03 7月, 2014 9 次提交
    • J
      Merge branch 'dt/refs-check-refname-component-sse' · 6f92e5ff
      Junio C Hamano 提交于
      Further micro-optimization of a leaf-function.
      
      * dt/refs-check-refname-component-sse:
        refs.c: SSE2 optimizations for check_refname_component
      6f92e5ff
    • J
      Merge branch 'ye/http-extract-charset' · a02ad882
      Junio C Hamano 提交于
      * ye/http-extract-charset:
        http: fix charset detection of extract_content_type()
      a02ad882
    • J
      Merge branch 'bc/fix-rebase-merge-skip' · 6293aea5
      Junio C Hamano 提交于
      "git rebase --skip" did not work well when it stopped due to a
      conflict twice in a row.
      
      * bc/fix-rebase-merge-skip:
        rebase--merge: fix --skip with two conflicts in a row
      6293aea5
    • J
      Merge branch 'jk/commit-buffer-length' · 8061ae8b
      Junio C Hamano 提交于
      Move "commit->buffer" out of the in-core commit object and keep
      track of their lengths.  Use this to optimize the code paths to
      validate GPG signatures in commit objects.
      
      * jk/commit-buffer-length:
        reuse cached commit buffer when parsing signatures
        commit: record buffer length in cache
        commit: convert commit->buffer to a slab
        commit-slab: provide a static initializer
        use get_commit_buffer everywhere
        convert logmsg_reencode to get_commit_buffer
        use get_commit_buffer to avoid duplicate code
        use get_cached_commit_buffer where appropriate
        provide helpers to access the commit buffer
        provide a helper to set the commit buffer
        provide a helper to free commit buffer
        sequencer: use logmsg_reencode in get_message
        logmsg_reencode: return const buffer
        do not create "struct commit" with xcalloc
        commit: push commit_index update into alloc_commit_node
        alloc: include any-object allocations in alloc_report
        replace dangerous uses of strbuf_attach
        commit_tree: take a pointer/len pair rather than a const strbuf
      8061ae8b
    • R
      95acfc24
    • J
      Merge branch 'maint' · 64d84547
      Junio C Hamano 提交于
      * maint:
        t7300: repair filesystem permissions with test_when_finished
        enums: remove trailing ',' after last item in enum
      64d84547
    • J
      Merge branch 'maint-1.8.5' into maint · c2f7b102
      Junio C Hamano 提交于
      * maint-1.8.5:
        t7300: repair filesystem permissions with test_when_finished
        enums: remove trailing ',' after last item in enum
      c2f7b102
    • J
      t7300: repair filesystem permissions with test_when_finished · 45067fc9
      Jeff King 提交于
      We create a directory that cannot be removed, confirm that
      it cannot be removed, and then fix it like:
      
        chmod 0 foo &&
        test_must_fail git clean -d -f &&
        chmod 755 foo
      
      If the middle step fails but leaves the directory (e.g., the
      bug is that clean does not notice the failure), this
      pollutes the test repo with an unremovable directory. Not
      only does this cause further tests to fail, but it means
      that "rm -rf" fails on the whole trash directory, and the
      user has to intervene manually to even re-run the test script.
      
      We can bump the "chmod 755" recovery to a test_when_finished
      block to be sure that it always runs.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      45067fc9
    • R
      78273520
  4. 28 6月, 2014 1 次提交
  5. 27 6月, 2014 4 次提交
  6. 26 6月, 2014 18 次提交
    • J
      Sync with maint · c47372d3
      Junio C Hamano 提交于
      c47372d3
    • J
      Fifth batch for 2.1 · 369a70fc
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      369a70fc
    • J
      Merge branch 'jm/dedup-name-compare' · 59707231
      Junio C Hamano 提交于
      * jm/dedup-name-compare:
        cleanup duplicate name_compare() functions
        name-hash.c: replace cache_name_compare() with memcmp(3)
      59707231
    • J
      Merge branch 'ep/avoid-test-a-o' · e5685724
      Junio C Hamano 提交于
      Update tests and scripts to avoid "test ... -a ...", which is often
      more error-prone than "test ... && test ...".
      
      Squashed misconversion fix-up into git-submodule.sh updates.
      
      * ep/avoid-test-a-o:
        git-submodule.sh: avoid "echo" path-like values
        git-submodule.sh: avoid "test <cond> -a/-o <cond>"
        t/test-lib-functions.sh: avoid "test <cond> -a/-o <cond>"
        t/t9814-git-p4-rename.sh: avoid "test <cond> -a/-o <cond>"
        t/t5538-push-shallow.sh: avoid "test <cond> -a/-o <cond>"
        t/t5403-post-checkout-hook.sh: avoid "test <cond> -a/-o <cond>"
        t/t5000-tar-tree.sh: avoid "test <cond> -a/-o <cond>"
        t/t4102-apply-rename.sh: avoid "test <cond> -a/-o <cond>"
        t/t0026-eol-config.sh: avoid "test <cond> -a/-o <cond>"
        t/t0025-crlf-auto.sh: avoid "test <cond> -a/-o <cond>"
        t/lib-httpd.sh: avoid "test <cond> -a/-o <cond>"
        git-rebase--interactive.sh: avoid "test <cond> -a/-o <cond>"
        git-mergetool.sh: avoid "test <cond> -a/-o <cond>"
        git-bisect.sh: avoid "test <cond> -a/-o <cond>"
        contrib/examples/git-resolve.sh: avoid "test <cond> -a/-o <cond>"
        contrib/examples/git-repack.sh: avoid "test <cond> -a/-o <cond>"
        contrib/examples/git-merge.sh: avoid "test <cond> -a/-o <cond>"
        contrib/examples/git-commit.sh: avoid "test <cond> -a/-o <cond>"
        contrib/examples/git-clone.sh: avoid "test <cond> -a/-o <cond>"
        check_bindir: avoid "test <cond> -a/-o <cond>"
      e5685724
    • J
      Merge branch 'tb/unicode-7.0-display-width' · 5b9b715f
      Junio C Hamano 提交于
      * tb/unicode-7.0-display-width:
        Update of unicode_width.h to Unicode Version 7.0
      5b9b715f
    • J
      Merge branch 'ye/doc-http-proto' · ccca6b65
      Junio C Hamano 提交于
      * ye/doc-http-proto:
        http-protocol.txt: Basic Auth is defined in RFC 2617, not RFC 2616
      ccca6b65
    • J
      Merge branch 'rs/blame-refactor' · 8d87e35b
      Junio C Hamano 提交于
      * rs/blame-refactor:
        blame: simplify prepare_lines()
        blame: factor out get_next_line()
      8d87e35b
    • J
      Merge branch 'pb/trim-trailing-spaces' · 35869f4c
      Junio C Hamano 提交于
      * pb/trim-trailing-spaces:
        t0008: do not depend on 'echo' handling backslashes specially
      35869f4c
    • J
      Merge branch 'mc/doc-submodule-sync-recurse' · b47761dd
      Junio C Hamano 提交于
      * mc/doc-submodule-sync-recurse:
        submodule: document "sync --recursive"
      b47761dd
    • J
      Merge branch 'sp/complete-ext-alias' · af6ba0eb
      Junio C Hamano 提交于
      * sp/complete-ext-alias:
        completion: handle '!f() { ... }; f' and "!sh -c '...' -" aliases
      af6ba0eb
    • J
      Merge branch 'mc/git-p4-prepare-p4-only' · 2a20f4b7
      Junio C Hamano 提交于
      * mc/git-p4-prepare-p4-only:
        git-p4: fix submit in non --prepare-p4-only mode
      2a20f4b7
    • J
      Merge branch 'jk/repack-pack-writebitmaps-config' · 25f31190
      Junio C Hamano 提交于
      * jk/repack-pack-writebitmaps-config:
        t7700: drop explicit --no-pack-kept-objects from .keep test
        repack: introduce repack.writeBitmaps config option
        repack: simplify handling of --write-bitmap-index
        pack-objects: stop respecting pack.writebitmaps
      25f31190
    • J
      Merge branch 'nd/init-restore-env' · b30adaac
      Junio C Hamano 提交于
      Some subcommands do not want to be aliased because of the side
      effects that happens while the definitions of the aliases are looked
      up from configuration system.
      
      * nd/init-restore-env:
        git potty: restore environments after alias expansion
      b30adaac
    • J
      Merge branch 'jk/repack-pack-keep-objects' · b7ce5836
      Junio C Hamano 提交于
      Recent updates to "git repack" started to duplicate objects that
      are in packfiles marked with .keep flag into the new packfile by
      mistake.
      
      * jk/repack-pack-keep-objects:
        repack: s/write_bitmap/&s/ in code
        repack: respect pack.writebitmaps
        repack: do not accidentally pack kept objects by default
      b7ce5836
    • J
      Merge branch 'fr/sequencer-fail-with-not-one-upon-no-ff' · 9ce7100b
      Junio C Hamano 提交于
      * fr/sequencer-fail-with-not-one-upon-no-ff:
        sequencer: signal failed ff as an aborted, not a conflicted merge
      9ce7100b
    • J
      Git 2.0.1 · 341e7e8e
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      341e7e8e
    • J
      Merge branch 'na/no-http-test-in-the-middle' into maint · 62bfd831
      Junio C Hamano 提交于
      The mode to run tests with HTTP server tests disabled was broken.
      
      * na/no-http-test-in-the-middle:
        t5538: move http push tests out to t5542
      62bfd831
    • J
      Merge branch 'jl/status-added-submodule-is-never-ignored' into maint · 287a8701
      Junio C Hamano 提交于
      "git status" (and "git commit") behaved as if changes in a modified
      submodule are not there if submodule.*.ignore configuration is set,
      which was misleading.  The configuration is only to unclutter diff
      output during the course of development, and should not to hide
      changes in the "status" output to cause the users forget to commit
      them.
      
      * jl/status-added-submodule-is-never-ignored:
        commit -m: commit staged submodules regardless of ignore config
        status/commit: show staged submodules regardless of ignore config
      287a8701