1. 25 8月, 2017 4 次提交
    • J
      Merge branch 'tc/curl-with-backports' · 6ea13d88
      Junio C Hamano 提交于
      Updates to the HTTP layer we made recently unconditionally used
      features of libCurl without checking the existence of them, causing
      compilation errors, which has been fixed.  Also migrate the code to
      check feature macros, not version numbers, to cope better with
      libCurl that vendor ships with backported features.
      
      * tc/curl-with-backports:
        http: use a feature check to enable GSSAPI delegation control
        http: fix handling of missing CURLPROTO_*
      6ea13d88
    • J
      Merge branch 'cc/subprocess-handshake-missing-capabilities' · d1615f93
      Junio C Hamano 提交于
      When handshake with a subprocess filter notices that the process
      asked for an unknown capability, Git did not report what program
      the offending subprocess was running.  This has been corrected.
      
      * cc/subprocess-handshake-missing-capabilities:
        sub-process: print the cmd when a capability is unsupported
      d1615f93
    • J
      Merge branch 'rs/object-id' · 11bd9560
      Junio C Hamano 提交于
      Conversion from uchar[20] to struct object_id continues.
      
      * rs/object-id:
        tree-walk: convert fill_tree_descriptor() to object_id
      11bd9560
    • J
      Merge branch 'lg/merge-signoff' · bdfc15fb
      Junio C Hamano 提交于
      "git merge" learned a "--signoff" option to add the Signed-off-by:
      trailer with the committer's name.
      
      * lg/merge-signoff:
        merge: add a --signoff flag
      bdfc15fb
  2. 24 8月, 2017 36 次提交
    • J
      Sync with maint · 39566494
      Junio C Hamano 提交于
      * maint:
        Prepare for 2.14.2
      39566494
    • J
      Prepare for 2.14.2 · edc74bc7
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      edc74bc7
    • J
      Merge branch 'jt/t1450-fsck-corrupt-packfile' into maint · 0f41b92c
      Junio C Hamano 提交于
      A test update.
      
      * jt/t1450-fsck-corrupt-packfile:
        tests: ensure fsck fails on corrupt packfiles
      0f41b92c
    • J
      Merge branch 'jb/t8008-cleanup' into maint · 86bf8e45
      Junio C Hamano 提交于
      Code clean-up.
      
      * jb/t8008-cleanup:
        t8008: rely on rev-parse'd HEAD instead of sha1 value
      86bf8e45
    • J
      Merge branch 'jt/subprocess-handshake' into maint · df2dd283
      Junio C Hamano 提交于
      Code cleanup.
      
      * jt/subprocess-handshake:
        sub-process: refactor handshake to common function
        Documentation: migrate sub-process docs to header
        convert: add "status=delayed" to filter process protocol
        convert: refactor capabilities negotiation
        convert: move multiple file filter error handling to separate function
        convert: put the flags field before the flag itself for consistent style
        t0021: write "OUT <size>" only on success
        t0021: make debug log file name configurable
        t0021: keep filter log files on comparison
      df2dd283
    • J
      Merge branch 'dc/fmt-merge-msg-microcleanup' into maint · de557036
      Junio C Hamano 提交于
      Code cleanup.
      
      * dc/fmt-merge-msg-microcleanup:
        fmt-merge-msg: fix coding style
      de557036
    • J
      Merge branch 'ah/doc-wserrorhighlight' into maint · b55b9360
      Junio C Hamano 提交于
      Doc update.
      
      * ah/doc-wserrorhighlight:
        doc: add missing values "none" and "default" for diff.wsErrorHighlight
      b55b9360
    • J
      Merge branch 'cc/ref-is-hidden-microcleanup' into maint · d0dffcac
      Junio C Hamano 提交于
      Code cleanup.
      
      * cc/ref-is-hidden-microcleanup:
        refs: use skip_prefix() in ref_is_hidden()
      d0dffcac
    • J
      Merge branch 'js/run-process-parallel-api-fix' into maint · 08692770
      Junio C Hamano 提交于
      API fix.
      
      * js/run-process-parallel-api-fix:
        run_processes_parallel: change confusing task_cb convention
      08692770
    • J
      Merge branch 'rs/pack-objects-pbase-cleanup' into maint · e22a48c4
      Junio C Hamano 提交于
      Code clean-up.
      
      * rs/pack-objects-pbase-cleanup:
        pack-objects: remove unnecessary NULL check
      e22a48c4
    • J
      Merge branch 'jt/fsck-code-cleanup' into maint · 697f11b6
      Junio C Hamano 提交于
      Code clean-up.
      
      * jt/fsck-code-cleanup:
        fsck: cleanup unused variable
        object: remove "used" field from struct object
        fsck: remove redundant parse_tree() invocation
      697f11b6
    • J
      Merge branch 'rs/stat-data-unaligned-reads-fix' into maint · 0d824bc7
      Junio C Hamano 提交于
      Code clean-up.
      
      * rs/stat-data-unaligned-reads-fix:
        dir: support platforms that require aligned reads
      0d824bc7
    • J
      Merge branch 'rs/move-array' into maint · d3b7ee08
      Junio C Hamano 提交于
      Code clean-up.
      
      * rs/move-array:
        ls-files: don't try to prune an empty index
        apply: use COPY_ARRAY and MOVE_ARRAY in update_image()
        use MOVE_ARRAY
        add MOVE_ARRAY
      d3b7ee08
    • J
      Merge branch 'rs/bswap-ubsan-fix' into maint · 752732c6
      Junio C Hamano 提交于
      Code clean-up.
      
      * rs/bswap-ubsan-fix:
        bswap: convert get_be16, get_be32 and put_be32 to inline functions
        bswap: convert to unsigned before shifting in get_be32
      752732c6
    • J
      Merge branch 'dl/credential-cache-socket-in-xdg-cache' into maint · cdc55aad
      Junio C Hamano 提交于
      A recently added test for the "credential-cache" helper revealed
      that EOF detection done around the time the connection to the cache
      daemon is torn down were flaky.  This was fixed by reacting to
      ECONNRESET and behaving as if we got an EOF.
      
      * dl/credential-cache-socket-in-xdg-cache:
        credential-cache: interpret an ECONNRESET as an EOF
      cdc55aad
    • J
      Merge branch 'hb/gitweb-project-list' into maint · b9e56be0
      Junio C Hamano 提交于
      When a directory is not readable, "gitweb" fails to build the
      project list.  Work this around by skipping such a directory.
      
      It might end up hiding a problem under the rug and a better
      solution might be to loudly complain to the administrator pointing
      out the problematic directory, but this will at least make it
      "work".
      
      * hb/gitweb-project-list:
        gitweb: skip unreadable subdirectories
      b9e56be0
    • J
      Merge branch 'ks/commit-abort-on-empty-message-fix' into maint · 01ced489
      Junio C Hamano 提交于
      "git commit" when seeing an totally empty message said "you did not
      edit the message", which is clearly wrong.  The message has been
      corrected.
      
      * ks/commit-abort-on-empty-message-fix:
        commit: check for empty message before the check for untouched template
      01ced489
    • J
      Merge branch 'jk/reflog-walk' into maint · 0cb526e0
      Junio C Hamano 提交于
      Numerous bugs in walking of reflogs via "log -g" and friends have
      been fixed.
      
      * jk/reflog-walk:
        reflog-walk: apply --since/--until to reflog dates
        reflog-walk: stop using fake parents
        rev-list: check reflog_info before showing usage
        get_revision_1(): replace do-while with an early return
        log: do not free parents when walking reflog
        log: clarify comment about reflog cycles
        revision: disallow reflog walking with revs->limited
        t1414: document some reflog-walk oddities
      0cb526e0
    • J
      Merge branch 'jc/http-sslkey-and-ssl-cert-are-paths' into maint · 72140a73
      Junio C Hamano 提交于
      The http.{sslkey,sslCert} configuration variables are to be
      interpreted as a pathname that honors "~[username]/" prefix, but
      weren't, which has been fixed.
      
      * jc/http-sslkey-and-ssl-cert-are-paths:
        http.c: http.sslcert and http.sslkey are both pathnames
      72140a73
    • J
      Merge branch 'jk/ref-filter-colors' into maint · 447f80f5
      Junio C Hamano 提交于
      "%C(color name)" in the pretty print format always produced ANSI
      color escape codes, which was an early design mistake.  They now
      honor the configuration (e.g. "color.ui = never") and also tty-ness
      of the output medium.
      
      * jk/ref-filter-colors:
        ref-filter: consult want_color() before emitting colors
        pretty: respect color settings for %C placeholders
        rev-list: pass diffopt->use_colors through to pretty-print
        for-each-ref: load config earlier
        color: check color.ui in git_default_config()
        ref-filter: pass ref_format struct to atom parsers
        ref-filter: factor out the parsing of sorting atoms
        ref-filter: make parse_ref_filter_atom a private function
        ref-filter: provide a function for parsing sort options
        ref-filter: move need_color_reset_at_eol into ref_format
        ref-filter: abstract ref format into its own struct
        ref-filter: simplify automatic color reset
        t: use test_decode_color rather than literal ANSI codes
        docs/for-each-ref: update pointer to color syntax
        check return value of verify_ref_format()
      447f80f5
    • J
      Merge branch 'js/git-gui-msgfmt-on-windows' into maint · f613b251
      Junio C Hamano 提交于
      Because recent Git for Windows do come with a real msgfmt, the
      build procedure for git-gui has been updated to use it instead of a
      hand-rolled substitute.
      
      * js/git-gui-msgfmt-on-windows:
        git-gui (MinGW): make use of MSys2's msgfmt
        git gui: allow for a long recentrepo list
        git gui: de-dup selected repo from recentrepo history
        git gui: cope with duplicates in _get_recentrepo
        git-gui: remove duplicate entries from .gitconfig's gui.recentrepo
      f613b251
    • J
      The third batch post 2.14 · ab86f93d
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ab86f93d
    • J
      Merge branch 'mg/format-ref-doc-fix' · 883bac8f
      Junio C Hamano 提交于
      Doc fix.
      
      * mg/format-ref-doc-fix:
        Documentation/git-for-each-ref: clarify peeling of tags for --format
        Documentation: use proper wording for ref format strings
      883bac8f
    • J
      Merge branch 'sb/submodule-parallel-update' · 4add209e
      Junio C Hamano 提交于
      Code clean-up.
      
      * sb/submodule-parallel-update:
        submodule.sh: remove unused variable
      4add209e
    • J
      Merge branch 'jc/diff-sane-truncate-no-more' · 0f8472a4
      Junio C Hamano 提交于
      Code clean-up.
      
      * jc/diff-sane-truncate-no-more:
        diff: retire sane_truncate_fn
      0f8472a4
    • J
      Merge branch 'hv/t5526-andand-chain-fix' · 45121b9e
      Junio C Hamano 提交于
      Test fix.
      
      * hv/t5526-andand-chain-fix:
        t5526: fix some broken && chains
      45121b9e
    • J
      Merge branch 'as/grep-quiet-no-match-exit-code-fix' · 85c81a74
      Junio C Hamano 提交于
      "git grep -L" and "git grep --quiet -L" reported different exit
      codes; this has been corrected.
      
      * as/grep-quiet-no-match-exit-code-fix:
        git-grep: correct exit code with --quiet and -L
      85c81a74
    • J
      Merge branch 'kw/commit-keep-index-when-pre-commit-is-not-run' · c3e034f0
      Junio C Hamano 提交于
      "git commit" used to discard the index and re-read from the filesystem
      just in case the pre-commit hook has updated it in the middle; this
      has been optimized out when we know we do not run the pre-commit hook.
      
      * kw/commit-keep-index-when-pre-commit-is-not-run:
        commit: skip discarding the index if there is no pre-commit hook
      c3e034f0
    • J
      Merge branch 'sb/sha1-file-cleanup' · 3830759c
      Junio C Hamano 提交于
      Code clean-up.
      
      * sb/sha1-file-cleanup:
        sha1_file: make read_info_alternates static
      3830759c
    • J
      Merge branch 'rs/t1002-do-not-use-sum' · 8a43d3ba
      Junio C Hamano 提交于
      Test simplification.
      
      * rs/t1002-do-not-use-sum:
        t1002: stop using sum(1)
      8a43d3ba
    • J
      Merge branch 'kd/stash-with-bash-4.4' · ef9408cf
      Junio C Hamano 提交于
      bash 4.4 or newer gave a warning on NUL byte in command
      substitution done in "git stash"; this has been squelched.
      
      * kd/stash-with-bash-4.4:
        stash: prevent warning about null bytes in input
      ef9408cf
    • J
      Merge branch 'ah/doc-empty-string-is-false' · 76be4487
      Junio C Hamano 提交于
      Doc update.
      
      * ah/doc-empty-string-is-false:
        doc: clarify "config --bool" behaviour with empty string
      76be4487
    • J
      Merge branch 'kw/rebase-progress' · ad7d3c3b
      Junio C Hamano 提交于
      "git rebase", especially when it is run by mistake and ends up
      trying to replay many changes, spent long time in silence.  The
      command has been taught to show progress report when it spends
      long time preparing these many changes to replay (which would give
      the user a chance to abort with ^C).
      
      * kw/rebase-progress:
        rebase: turn on progress option by default for format-patch
        format-patch: have progress option while generating patches
      ad7d3c3b
    • J
      Merge branch 'ks/prepare-commit-msg-sample-fix' · 75010153
      Junio C Hamano 提交于
      An "oops" fix to a topic that is already in 'master'.
      
      * ks/prepare-commit-msg-sample-fix:
        hook: use correct logical variable
      75010153
    • J
      Merge branch 'nm/stash-untracked' · 0ca2f324
      Junio C Hamano 提交于
      "git stash -u" used the contents of the committed version of the
      ".gitignore" file to decide which paths are ignored, even when the
      file has local changes.  The command has been taught to instead use
      the locally modified contents.
      
      * nm/stash-untracked:
        stash: clean untracked files before reset
      0ca2f324
    • J
      Merge branch 'jt/sha1-file-cleanup' · fa2a4bba
      Junio C Hamano 提交于
      Preparatory code clean-up.
      
      * jt/sha1-file-cleanup:
        sha1_file: remove read_packed_sha1()
        sha1_file: set whence in storage-specific info fn
      fa2a4bba