1. 14 2月, 2018 23 次提交
    • J
      Merge branch 'po/http-push-error-message' · 39a1dd80
      Junio C Hamano 提交于
      Debugging aid.
      
      * po/http-push-error-message:
        http-push: improve error log
      39a1dd80
    • J
      Merge branch 'po/clang-format-functype-weight' · 0c13c4f1
      Junio C Hamano 提交于
      Prevent "clang-format" from breaking line after function return type.
      
      * po/clang-format-functype-weight:
        clang-format: adjust penalty for return type line break
      0c13c4f1
    • J
      Merge branch 'jc/mailinfo-cleanup-fix' · 46e915c4
      Junio C Hamano 提交于
      Corner case bugfix.
      
      * jc/mailinfo-cleanup-fix:
        mailinfo: avoid segfault when can't open files
      46e915c4
    • J
      Merge branch 'sg/cocci-move-array' · cbf0240f
      Junio C Hamano 提交于
      Code clean-up.
      
      * sg/cocci-move-array:
        Use MOVE_ARRAY
      cbf0240f
    • J
      Merge branch 'tg/split-index-fixes' · e75c8621
      Junio C Hamano 提交于
      The split-index mode had a few corner case bugs fixed.
      
      * tg/split-index-fixes:
        travis: run tests with GIT_TEST_SPLIT_INDEX
        split-index: don't write cache tree with null oid entries
        read-cache: fix reading the shared index for other repos
      e75c8621
    • J
      Merge branch 'rs/strbuf-cocci-workaround' · 73df1b34
      Junio C Hamano 提交于
      Update Coccinelle rules to catch and optimize strbuf_addf(&buf, "%s", str)
      
      * rs/strbuf-cocci-workaround:
        cocci: use format keyword instead of a literal string
      73df1b34
    • J
      Merge branch 'mr/packed-ref-store-fix' · 2b72ea0a
      Junio C Hamano 提交于
      Crash fix for a corner case where an error codepath tried to unlock
      what it did not acquire lock on.
      
      * mr/packed-ref-store-fix:
        files_initial_transaction_commit(): only unlock if locked
      2b72ea0a
    • J
      Merge branch 'jt/http-redact-cookies' · 53274637
      Junio C Hamano 提交于
      The http tracing code, often used to debug connection issues,
      learned to redact potentially sensitive information from its output
      so that it can be more safely sharable.
      
      * jt/http-redact-cookies:
        http: support omitting data from traces
        http: support cookie redaction when tracing
      53274637
    • J
      Merge branch 'ds/use-get-be64' · 2dc69eef
      Junio C Hamano 提交于
      Code clean-up.
      
      * ds/use-get-be64:
        packfile: use get_be64() for large offsets
      2dc69eef
    • J
      Merge branch 'cc/sha1-file-name' · 92389416
      Junio C Hamano 提交于
      Code clean-up.
      
      * cc/sha1-file-name:
        sha1_file: improve sha1_file_name() perfs
        sha1_file: remove static strbuf from sha1_file_name()
      92389416
    • J
      Merge branch 'nd/trace-with-env' · 3efeec3a
      Junio C Hamano 提交于
      The tracing machinery learned to report tweaking of environment
      variables as well.
      
      * nd/trace-with-env:
        run-command.c: print new cwd in trace_run_command()
        run-command.c: print env vars in trace_run_command()
        run-command.c: print program 'git' when tracing git_cmd mode
        run-command.c: introduce trace_run_command()
        trace.c: move strbuf_release() out of print_trace_line()
        trace: avoid unnecessary quoting
        sq_quote_argv: drop maxlen parameter
      3efeec3a
    • J
      Merge branch 'pc/submodule-helper' · ead8dbe2
      Junio C Hamano 提交于
      Rewrite two more "git submodule" subcommands in C.
      
      * pc/submodule-helper:
        submodule: port submodule subcommand 'deinit' from shell to C
        submodule: port submodule subcommand 'sync' from shell to C
      ead8dbe2
    • J
      Merge branch 'rb/hashmap-h-compilation-fix' · 922ffec6
      Junio C Hamano 提交于
      Code clean-up.
      
      * rb/hashmap-h-compilation-fix:
        hashmap.h: remove unused variable
      922ffec6
    • J
      Merge branch 'nd/diff-flush-before-warning' · 17c8e0b3
      Junio C Hamano 提交于
      Avoid showing a warning message in the middle of a line of "git
      diff" output.
      
      * nd/diff-flush-before-warning:
        diff.c: flush stdout before printing rename warnings
      17c8e0b3
    • J
      Merge branch 'tb/crlf-conv-flags' · 9bc89b17
      Junio C Hamano 提交于
      Code clean-up.
      
      * tb/crlf-conv-flags:
        convert_to_git(): safe_crlf/checksafe becomes int conv_flags
      9bc89b17
    • J
      Merge branch 'rs/describe-unique-abbrev' · 8fe806bc
      Junio C Hamano 提交于
      Code clean-up.
      
      * rs/describe-unique-abbrev:
        describe: use strbuf_add_unique_abbrev() for adding short hashes
      8fe806bc
    • J
      Merge branch 'ks/submodule-doc-updates' · ab5a940d
      Junio C Hamano 提交于
      Doc updates.
      
      * ks/submodule-doc-updates:
        Doc/git-submodule: improve readability and grammar of a sentence
        Doc/gitsubmodules: make some changes to improve readability and syntax
      ab5a940d
    • J
      Merge branch 'cl/t9001-cleanup' · f5536f1c
      Junio C Hamano 提交于
      Test clean-up.
      
      * cl/t9001-cleanup:
        t9001: use existing helper in send-email test
      f5536f1c
    • J
      Merge branch 'gs/retire-mru' · 86762239
      Junio C Hamano 提交于
      Retire mru API as it does not give enough abstraction over
      underlying list API to be worth it.
      
      * gs/retire-mru:
        mru: Replace mru.[ch] with list.h implementation
      86762239
    • J
      Merge branch 'ot/mru-on-list' · afc8aa3f
      Junio C Hamano 提交于
      The first step to getting rid of mru API and using the
      doubly-linked list API directly instead.
      
      * ot/mru-on-list:
        mru: use double-linked list from list.h
      afc8aa3f
    • J
      Merge branch 'jh/partial-clone' · 6bed209a
      Junio C Hamano 提交于
      The machinery to clone & fetch, which in turn involves packing and
      unpacking objects, have been told how to omit certain objects using
      the filtering mechanism introduced by the jh/object-filtering
      topic, and also mark the resulting pack as a promisor pack to
      tolerate missing objects, taking advantage of the mechanism
      introduced by the jh/fsck-promisors topic.
      
      * jh/partial-clone:
        t5616: test bulk prefetch after partial fetch
        fetch: inherit filter-spec from partial clone
        t5616: end-to-end tests for partial clone
        fetch-pack: restore save_commit_buffer after use
        unpack-trees: batch fetching of missing blobs
        clone: partial clone
        partial-clone: define partial clone settings in config
        fetch: support filters
        fetch: refactor calculation of remote list
        fetch-pack: test support excluding large blobs
        fetch-pack: add --no-filter
        fetch-pack, index-pack, transport: partial clone
        upload-pack: add object filtering for partial clone
      6bed209a
    • J
      Merge branch 'jh/fsck-promisors' · f3d618d2
      Junio C Hamano 提交于
      In preparation for implementing narrow/partial clone, the machinery
      for checking object connectivity used by gc and fsck has been
      taught that a missing object is OK when it is referenced by a
      packfile specially marked as coming from trusted repository that
      promises to make them available on-demand and lazily.
      
      * jh/fsck-promisors:
        gc: do not repack promisor packfiles
        rev-list: support termination at promisor objects
        sha1_file: support lazily fetching missing objects
        introduce fetch-object: fetch one promisor object
        index-pack: refactor writing of .keep files
        fsck: support promisor objects as CLI argument
        fsck: support referenced promisor objects
        fsck: support refs pointing to promisor objects
        fsck: introduce partialclone extension
        extension.partialclone: introduce partial clone extension
      f3d618d2
    • J
      Merge branch 'ab/simplify-perl-makefile' · ed1b87ef
      Junio C Hamano 提交于
      The build procedure for perl/ part has been greatly simplified by
      weaning ourselves off of MakeMaker.
      
      * ab/simplify-perl-makefile:
        perl: treat PERLLIB_EXTRA as an extra path again
        perl: avoid *.pmc and fix Error.pm further
        Makefile: replace perl/Makefile.PL with simple make rules
      ed1b87ef
  2. 25 1月, 2018 4 次提交
  3. 24 1月, 2018 13 次提交
    • J
      First batch after 2.16 · 5be1f00a
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      5be1f00a
    • J
      Merge branch 'nd/add-i-ignore-submodules' · e7e80778
      Junio C Hamano 提交于
      "git add -p" was taught to ignore local changes to submodules as
      they do not interfere with the partial addition of regular changes
      anyway.
      
      * nd/add-i-ignore-submodules:
        add--interactive: ignore submodule changes except HEAD
      e7e80778
    • J
      Merge branch 'mm/send-email-fallback-to-local-mail-address' · 897de845
      Junio C Hamano 提交于
      Instead of maintaining home-grown email address parsing code, ship
      a copy of reasonably recent Mail::Address to be used as a fallback
      in 'git send-email' when the platform lacks it.
      
      * mm/send-email-fallback-to-local-mail-address:
        send-email: add test for Linux's get_maintainer.pl
        perl/Git: remove now useless email-address parsing code
        send-email: add and use a local copy of Mail::Address
      897de845
    • J
      Merge branch 'ab/doc-cat-file-e-still-shows-errors' · 93a622f4
      Junio C Hamano 提交于
      Doc update.
      
      * ab/doc-cat-file-e-still-shows-errors:
        cat-file doc: document that -e will return some output
      93a622f4
    • J
      Merge branch 'as/read-tree-prefix-doc-fix' · 3e25b6c6
      Junio C Hamano 提交于
      Doc update.
      
      * as/read-tree-prefix-doc-fix:
        doc/read-tree: remove obsolete remark
      3e25b6c6
    • J
      Merge branch 'ys/bisect-object-id-missing-conversion-fix' · 537e1064
      Junio C Hamano 提交于
      Fix for a commented-out code to adjust it to a rather old API change.
      
      * ys/bisect-object-id-missing-conversion-fix:
        bisect: debug: convert struct object to object_id
      537e1064
    • J
      Merge branch 'tg/stash-with-pathspec-fix' · 087d1a8e
      Junio C Hamano 提交于
      "git stash -- <pathspec>" incorrectly blew away untracked files in
      the directory that matched the pathspec, which has been corrected.
      
      * tg/stash-with-pathspec-fix:
        stash: don't delete untracked files that match pathspec
      087d1a8e
    • J
      Merge branch 'sb/submodule-update-reset-fix' · f0605836
      Junio C Hamano 提交于
      When resetting the working tree files recursively, the working tree
      of submodules are now also reset to match.
      
      * sb/submodule-update-reset-fix:
        submodule: submodule_move_head omits old argument in forced case
        unpack-trees: oneway_merge to update submodules
        t/lib-submodule-update.sh: fix test ignoring ignored files in submodules
        t/lib-submodule-update.sh: clarify test
      f0605836
    • J
      Merge branch 'bw/oidmap-autoinit' · d470b7ad
      Junio C Hamano 提交于
      Code clean-up.
      
      * bw/oidmap-autoinit:
        oidmap: ensure map is initialized
      d470b7ad
    • J
      Merge branch 'ab/commit-m-with-fixup' · 55504498
      Junio C Hamano 提交于
      "git commit --fixup" did not allow "-m<message>" option to be used
      at the same time; allow it to annotate resulting commit with more
      text.
      
      * ab/commit-m-with-fixup:
        commit: add support for --fixup <commit> -m"<extra message>"
        commit doc: document that -c, -C, -F and --fixup with -m error
      55504498
    • J
      Merge branch 'cc/codespeed' · 86d7fcc4
      Junio C Hamano 提交于
      "perf" test output can be sent to codespeed server.
      
      * cc/codespeed:
        perf/run: read GIT_PERF_REPO_NAME from perf.repoName
        perf/run: learn to send output to codespeed server
        perf/run: learn about perf.codespeedOutput
        perf/run: add conf_opts argument to get_var_from_env_or_config()
        perf/aggregate: implement codespeed JSON output
        perf/aggregate: refactor printing results
        perf/aggregate: fix checking ENV{GIT_PERF_SUBSECTION}
      86d7fcc4
    • J
      Merge branch 'ab/perf-grep-threads' · 59b43c01
      Junio C Hamano 提交于
      More perf tests for threaded grep
      
      * ab/perf-grep-threads:
        perf: amend the grep tests to test grep.threads
      59b43c01
    • J
      Merge branch 'sb/diff-blobfind-pickaxe' · c0d75f0e
      Junio C Hamano 提交于
      "diff" family of commands learned "--find-object=<object-id>" option
      to limit the findings to changes that involve the named object.
      
      * sb/diff-blobfind-pickaxe:
        diff: use HAS_MULTI_BITS instead of counting bits manually
        diff: properly error out when combining multiple pickaxe options
        diffcore: add a pickaxe option to find a specific blob
        diff: introduce DIFF_PICKAXE_KINDS_MASK
        diff: migrate diff_flags.pickaxe_ignore_case to a pickaxe_opts bit
        diff.h: make pickaxe_opts an unsigned bit field
      c0d75f0e