1. 16 10月, 2018 13 次提交
    • J
      Merge branch 'jn/gc-auto-prep' · 99913dd1
      Junio C Hamano 提交于
      Code clean-up.
      
      * jn/gc-auto-prep:
        gc: exit with status 128 on failure
        gc: improve handling of errors reading gc.log
      99913dd1
    • J
      Merge branch 'md/test-cleanup' · f2e2136a
      Junio C Hamano 提交于
      Various test scripts have been updated for style and also correct
      handling of exit status of various commands.
      
      * md/test-cleanup:
        tests: order arguments to git-rev-list properly
        t9109: don't swallow Git errors upstream of pipes
        tests: don't swallow Git errors upstream of pipes
        t/*: fix ordering of expected/observed arguments
        tests: standardize pipe placement
        Documentation: add shell guidelines
        t/README: reformat Do, Don't, Keep in mind lists
      f2e2136a
    • J
      Merge branch 'fe/doc-updates' · fb468f0b
      Junio C Hamano 提交于
      Doc updates.
      
      * fe/doc-updates:
        git-describe.1: clarify that "human readable" is also git-readable
        git-column.1: clarify initial description, provide examples
        git-archimport.1: specify what kind of Arch we're talking about
      fb468f0b
    • J
      Merge branch 'jn/mailmap-update' · 3d560562
      Junio C Hamano 提交于
      The mailmap file update.
      
      * jn/mailmap-update:
        mailmap: consistently normalize brian m. carlson's name
      3d560562
    • J
      Merge branch 'tg/t5551-with-curl-7.61.1' · 52472c20
      Junio C Hamano 提交于
      Test update.
      
      * tg/t5551-with-curl-7.61.1:
        t5551: compare sorted cookies files
        t5551: move setup code inside test_expect blocks
      52472c20
    • J
      Merge branch 'en/merge-cleanup' · 74bb4635
      Junio C Hamano 提交于
      Code clean-up.
      
      * en/merge-cleanup:
        merge-recursive: rename merge_file_1() and merge_content()
        merge-recursive: remove final remaining caller of merge_file_one()
        merge-recursive: avoid wrapper function when unnecessary and wasteful
        merge-recursive: set paths correctly when three-way merging content
      74bb4635
    • J
      Merge branch 'rj/header-check' · ff6bbce6
      Junio C Hamano 提交于
      Header files clean-up.
      
      * rj/header-check:
        delta-islands.h: add missing forward declarations (hdr-check)
        midx.h: add missing forward declarations (hdr-check)
        refs/refs-internal.h: add missing declarations (hdr-check)
        refs/packed-backend.h: add missing declaration (hdr-check)
        refs/ref-cache.h: add missing declarations (hdr-check)
        ewah/ewok_rlw.h: add missing include (hdr-check)
        json-writer.h: add missing include (hdr-check)
        Makefile: add a hdr-check target
      ff6bbce6
    • J
      Merge branch 'ma/config-doc-update' · 7a3335db
      Junio C Hamano 提交于
      Doc update.
      
      * ma/config-doc-update:
        git-config.txt: fix 'see: above' note
        Doc: use `--type=bool` instead of `--bool`
      7a3335db
    • J
      Merge branch 'jk/delta-islands-with-bitmap-reuse-delta-fix' · 73b9c6f5
      Junio C Hamano 提交于
      Fix interactions between two recent topics.
      
      * jk/delta-islands-with-bitmap-reuse-delta-fix:
        pack-objects: handle island check for "external" delta base
      73b9c6f5
    • J
      Merge branch 'tq/refs-internal-comment-fix' · eea5e03a
      Junio C Hamano 提交于
      Fix for typo in a sample code in comment.
      
      * tq/refs-internal-comment-fix:
        refs: docstring typo
      eea5e03a
    • J
      Merge branch 'ts/alias-of-alias' · 506ee60d
      Junio C Hamano 提交于
      An alias that expands to another alias has so far been forbidden,
      but now it is allowed to create such an alias.
      
      * ts/alias-of-alias:
        t0014: introduce an alias testing suite
        alias: show the call history when an alias is looping
        alias: add support for aliases of an alias
      506ee60d
    • J
      Merge branch 'ds/commit-graph-with-grafts' · 6d8f8ebb
      Junio C Hamano 提交于
      The recently introduced commit-graph auxiliary data is incompatible
      with mechanisms such as replace & grafts that "breaks" immutable
      nature of the object reference relationship.  Disable optimizations
      based on its use (and updating existing commit-graph) when these
      incompatible features are in use in the repository.
      
      * ds/commit-graph-with-grafts:
        commit-graph: close_commit_graph before shallow walk
        commit-graph: not compatible with uninitialized repo
        commit-graph: not compatible with grafts
        commit-graph: not compatible with replace objects
        test-repository: properly init repo
        commit-graph: update design document
        refs.c: upgrade for_each_replace_ref to be a each_repo_ref_fn callback
        refs.c: migrate internal ref iteration to pass thru repository argument
      6d8f8ebb
    • J
      Merge branch 'ab/commit-graph-progress' · 36d767d0
      Junio C Hamano 提交于
      Generation of (experimental) commit-graph files have so far been
      fairly silent, even though it takes noticeable amount of time in a
      meaningfully large repository.  The users will now see progress
      output.
      
      * ab/commit-graph-progress:
        gc: fix regression in 7b0f2292 impacting --quiet
        commit-graph verify: add progress output
        commit-graph write: add progress output
      36d767d0
  2. 10 10月, 2018 7 次提交
    • J
      Third batch for 2.20 · 5a0cc8ac
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      5a0cc8ac
    • J
      Merge branch 'ab/fsck-skiplist' · 66ec2373
      Junio C Hamano 提交于
      Update fsck.skipList implementation and documentation.
      
      * ab/fsck-skiplist:
        fsck: support comments & empty lines in skipList
        fsck: use oidset instead of oid_array for skipList
        fsck: use strbuf_getline() to read skiplist file
        fsck: add a performance test for skipList
        fsck: add a performance test
        fsck: document that skipList input must be unabbreviated
        fsck: document and test commented & empty line skipList input
        fsck: document and test sorted skipList input
        fsck tests: add a test for no skipList input
        fsck tests: setup of bogus commit object
      66ec2373
    • J
      Merge branch 'ds/multi-pack-verify' · 468b3221
      Junio C Hamano 提交于
      "git multi-pack-index" learned to detect corruption in the .midx
      file it uses, and this feature has been integrated into "git fsck".
      
      * ds/multi-pack-verify:
        fsck: verify multi-pack-index
        multi-pack-index: report progress during 'verify'
        multi-pack-index: verify object offsets
        multi-pack-index: fix 32-bit vs 64-bit size check
        multi-pack-index: verify oid lookup order
        multi-pack-index: verify oid fanout order
        multi-pack-index: verify missing pack
        multi-pack-index: verify packname order
        multi-pack-index: verify corrupt chunk lookup table
        multi-pack-index: verify bad header
        multi-pack-index: add 'verify' verb
      468b3221
    • J
      Merge branch 'bc/hash-independent-tests' · d555663f
      Junio C Hamano 提交于
      Various tests have been updated to make it easier to swap the
      hash function used for object identification.
      
      * bc/hash-independent-tests:
        t5318: use test_oid for HASH_LEN
        t1407: make hash size independent
        t1406: make hash-size independent
        t1405: make hash size independent
        t1400: switch hard-coded object ID to variable
        t1006: make hash size independent
        t0064: make hash size independent
        t0002: abstract away SHA-1 specific constants
        t0000: update tests for SHA-256
        t0000: use hash translation table
        t: add test functions to translate hash-related values
      d555663f
    • J
      Merge branch 'nd/test-tool' · 77b5046a
      Junio C Hamano 提交于
      Test helper binaries clean-up.
      
      * nd/test-tool:
        Makefile: add a hint about TEST_BUILTINS_OBJS
        t/helper: merge test-dump-fsmonitor into test-tool
        t/helper: merge test-parse-options into test-tool
        t/helper: merge test-pkt-line into test-tool
        t/helper: merge test-dump-untracked-cache into test-tool
        t/helper: keep test-tool command list sorted
      77b5046a
    • J
      Merge branch 'nd/config-split' · 3ba371f9
      Junio C Hamano 提交于
      Split Documentation/config.txt for easier maintenance.
      
      * nd/config-split:
        config.txt: move submodule part out to a separate file
        config.txt: move sequence.editor out of "core" part
        config.txt: move sendemail part out to a separate file
        config.txt: move receive part out to a separate file
        config.txt: move push part out to a separate file
        config.txt: move pull part out to a separate file
        config.txt: move gui part out to a separate file
        config.txt: move gitcvs part out to a separate file
        config.txt: move format part out to a separate file
        config.txt: move fetch part out to a separate file
        config.txt: follow camelCase naming
      3ba371f9
    • J
      Declare that the next one will be named 2.20 · 2efbb7f5
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2efbb7f5
  3. 07 10月, 2018 7 次提交
  4. 28 9月, 2018 13 次提交
    • J
      Sync with 2.19.1 · f84b9b09
      Junio C Hamano 提交于
      * maint:
        Git 2.19.1
        Git 2.18.1
        Git 2.17.2
        fsck: detect submodule paths starting with dash
        fsck: detect submodule urls starting with dash
        Git 2.16.5
        Git 2.15.3
        Git 2.14.5
        submodule-config: ban submodule paths that start with a dash
        submodule-config: ban submodule urls that start with dash
        submodule--helper: use "--" to signal end of clone options
      f84b9b09
    • J
      Git 2.19.1 · cae598d9
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      cae598d9
    • J
      Sync with 2.18.1 · 1958ad50
      Junio C Hamano 提交于
      * maint-2.18:
        Git 2.18.1
        Git 2.17.2
        fsck: detect submodule paths starting with dash
        fsck: detect submodule urls starting with dash
        Git 2.16.5
        Git 2.15.3
        Git 2.14.5
        submodule-config: ban submodule paths that start with a dash
        submodule-config: ban submodule urls that start with dash
        submodule--helper: use "--" to signal end of clone options
      1958ad50
    • J
      Git 2.18.1 · 268fbcd1
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      268fbcd1
    • J
      Sync with 2.17.2 · 44f87dac
      Junio C Hamano 提交于
      * maint-2.17:
        Git 2.17.2
        fsck: detect submodule paths starting with dash
        fsck: detect submodule urls starting with dash
        Git 2.16.5
        Git 2.15.3
        Git 2.14.5
        submodule-config: ban submodule paths that start with a dash
        submodule-config: ban submodule urls that start with dash
        submodule--helper: use "--" to signal end of clone options
      44f87dac
    • J
      Git 2.17.2 · 6e9e91e9
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      6e9e91e9
    • J
      fsck: detect submodule paths starting with dash · 1a7fd1fb
      Jeff King 提交于
      As with urls, submodule paths with dashes are ignored by
      git, but may end up confusing older versions. Detecting them
      via fsck lets us prevent modern versions of git from being a
      vector to spread broken .gitmodules to older versions.
      
      Compared to blocking leading-dash urls, though, this
      detection may be less of a good idea:
      
        1. While such paths provide confusing and broken results,
           they don't seem to actually work as option injections
           against anything except "cd". In particular, the
           submodule code seems to canonicalize to an absolute
           path before running "git clone" (so it passes
           /your/clone/-sub).
      
        2. It's more likely that we may one day make such names
           actually work correctly. Even after we revert this fsck
           check, it will continue to be a hassle until hosting
           servers are all updated.
      
      On the other hand, it's not entirely clear that the behavior
      in older versions is safe. And if we do want to eventually
      allow this, we may end up doing so with a special syntax
      anyway (e.g., writing "./-sub" in the .gitmodules file, and
      teaching the submodule code to canonicalize it when
      comparing).
      
      So on balance, this is probably a good protection.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      1a7fd1fb
    • J
      fsck: detect submodule urls starting with dash · a124133e
      Jeff King 提交于
      Urls with leading dashes can cause mischief on older
      versions of Git. We should detect them so that they can be
      rejected by receive.fsckObjects, preventing modern versions
      of git from being a vector by which attacks can spread.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      a124133e
    • J
      Sync with 2.16.5 · e43aab77
      Junio C Hamano 提交于
      * maint-2.16:
        Git 2.16.5
        Git 2.15.3
        Git 2.14.5
        submodule-config: ban submodule paths that start with a dash
        submodule-config: ban submodule urls that start with dash
        submodule--helper: use "--" to signal end of clone options
      e43aab77
    • J
      Git 2.16.5 · 27d05d1a
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      27d05d1a
    • J
      Sync with 2.15.3 · 424aac65
      Junio C Hamano 提交于
      * maint-2.15:
        Git 2.15.3
        Git 2.14.5
        submodule-config: ban submodule paths that start with a dash
        submodule-config: ban submodule urls that start with dash
        submodule--helper: use "--" to signal end of clone options
      424aac65
    • J
      Git 2.15.3 · 924c623e
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      924c623e
    • J
      Sync with Git 2.14.4 · 902df9f5
      Junio C Hamano 提交于
      * maint-2.14:
        Git 2.14.5
        submodule-config: ban submodule paths that start with a dash
        submodule-config: ban submodule urls that start with dash
        submodule--helper: use "--" to signal end of clone options
      902df9f5