1. 30 9月, 2016 1 次提交
    • P
      http: control GSSAPI credential delegation · 26a7b234
      Petr Stodulka 提交于
      Delegation of credentials is disabled by default in libcurl since
      version 7.21.7 due to security vulnerability CVE-2011-2192. Which
      makes troubles with GSS/kerberos authentication when delegation
      of credentials is required. This can be changed with option
      CURLOPT_GSSAPI_DELEGATION in libcurl with set expected parameter
      since libcurl version 7.22.0.
      
      This patch provides new configuration variable http.delegation
      which corresponds to curl parameter "--delegation" (see man 1 curl).
      
      The following values are supported:
      
      * none (default).
      * policy
      * always
      Signed-off-by: NPetr Stodulka <pstodulk@redhat.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      26a7b234
  2. 20 9月, 2016 16 次提交
    • J
      Start preparing for 2.10.1 · 7c0304af
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7c0304af
    • J
      Merge branch 'sb/diff-cleanup' into maint · ddf8ee85
      Junio C Hamano 提交于
      Code cleanup.
      
      * sb/diff-cleanup:
        diff: remove dead code
        diff: omit found pointer from emit_callback
        diff.c: use diff_options directly
      ddf8ee85
    • J
      Merge branch 'ah/misc-message-fixes' into maint · 9f3d73e8
      Junio C Hamano 提交于
      Message cleanup.
      
      * ah/misc-message-fixes:
        unpack-trees: do not capitalize "working"
        git-merge-octopus: do not capitalize "octopus"
        git-rebase--interactive: fix English grammar
        cat-file: put spaces around pipes in usage string
        am: put spaces around pipe in usage string
      9f3d73e8
    • J
      Merge branch 'sb/transport-report-missing-submodule-on-stderr' into maint · 03039390
      Junio C Hamano 提交于
      Message cleanup.
      
      * sb/transport-report-missing-submodule-on-stderr:
        transport: report missing submodule pushes consistently on stderr
      03039390
    • J
      Merge branch 'sb/xdiff-remove-unused-static-decl' into maint · 51673a71
      Junio C Hamano 提交于
      Code cleanup.
      
      * sb/xdiff-remove-unused-static-decl:
        xdiff: remove unneeded declarations
      51673a71
    • J
      Merge branch 'js/t9903-chaining' into maint · 294573e6
      Junio C Hamano 提交于
      Test fix.
      
      * js/t9903-chaining:
        t9903: fix broken && chain
      294573e6
    • J
      Merge branch 'rs/hex2chr' into maint · c3befaea
      Junio C Hamano 提交于
      Code cleanup.
      
      * rs/hex2chr:
        introduce hex2chr() for converting two hexadecimal digits to a character
      c3befaea
    • J
      Merge branch 'rs/compat-strdup' into maint · 815a73f7
      Junio C Hamano 提交于
      Code cleanup.
      
      * rs/compat-strdup:
        compat: move strdup(3) replacement to its own file
      815a73f7
    • J
      Merge branch 'jk/squelch-false-warning-from-gcc-o3' into maint · 3d54b93f
      Junio C Hamano 提交于
      Compilation fix.
      
      * jk/squelch-false-warning-from-gcc-o3:
        color_parse_mem: initialize "struct color" temporary
        error_errno: use constant return similar to error()
      3d54b93f
    • J
      Merge branch 'ep/use-git-trace-curl-in-tests' into maint · 1e28677e
      Junio C Hamano 提交于
      Update a few tests that used to use GIT_CURL_VERBOSE to use the
      newer GIT_TRACE_CURL.
      
      * ep/use-git-trace-curl-in-tests:
        t5551-http-fetch-smart.sh: use the GIT_TRACE_CURL environment var
        t5550-http-fetch-dumb.sh: use the GIT_TRACE_CURL environment var
        test-lib.sh: preserve GIT_TRACE_CURL from the environment
        t5541-http-push-smart.sh: use the GIT_TRACE_CURL environment var
      1e28677e
    • J
      Merge branch 'js/t6026-clean-up' into maint · 8e265358
      Junio C Hamano 提交于
      A test spawned a short-lived background process, which sometimes
      prevented the test directory from getting removed at the end of the
      script on some platforms.
      
      * js/t6026-clean-up:
        t6026-merge-attr: clean up background process at end of test case
      8e265358
    • J
      Merge branch 'jc/forbid-symbolic-ref-d-HEAD' into maint · d6645312
      Junio C Hamano 提交于
      "git symbolic-ref -d HEAD" happily removes the symbolic ref, but
      the resulting repository becomes an invalid one.  Teach the command
      to forbid removal of HEAD.
      
      * jc/forbid-symbolic-ref-d-HEAD:
        symbolic-ref -d: do not allow removal of HEAD
      d6645312
    • J
      Merge branch 'jc/submodule-anchor-git-dir' into maint · 4c10c311
      Junio C Hamano 提交于
      Having a submodule whose ".git" repository is somehow corrupt
      caused a few commands that recurse into submodules loop forever.
      
      * jc/submodule-anchor-git-dir:
        submodule: avoid auto-discovery in prepare_submodule_repo_env()
      4c10c311
    • J
      Merge branch 'jk/test-lib-drop-pid-from-results' into maint · 79b51ebf
      Junio C Hamano 提交于
      The test framework left the number of tests and success/failure
      count in the t/test-results directory, keyed by the name of the
      test script plus the process ID.  The latter however turned out not
      to serve any useful purpose.  The process ID part of the filename
      has been removed.
      
      * jk/test-lib-drop-pid-from-results:
        test-lib: drop PID from test-results/*.count
      79b51ebf
    • J
      Merge branch 'bh/diff-highlight-graph' into maint · 276661ff
      Junio C Hamano 提交于
      "diff-highlight" script (in contrib/) learned to work better with
      "git log -p --graph" output.
      
      * bh/diff-highlight-graph:
        diff-highlight: avoid highlighting combined diffs
        diff-highlight: add multi-byte tests
        diff-highlight: ignore test cruft
        diff-highlight: add support for --graph output
        diff-highlight: add failing test for handling --graph output
        diff-highlight: add some tests
      276661ff
    • J
      Merge branch 'po/range-doc' into maint · f0b2db22
      Junio C Hamano 提交于
      Clarify various ways to specify the "revision ranges" in the
      documentation.
      
      * po/range-doc:
        doc: revisions: sort examples and fix alignment of the unchanged
        doc: revisions: show revision expansion in examples
        doc: revisions - clarify reachability examples
        doc: revisions - define `reachable`
        doc: gitrevisions - clarify 'latter case' is revision walk
        doc: gitrevisions - use 'reachable' in page description
        doc: revisions: single vs multi-parent notation comparison
        doc: revisions: extra clarification of <rev>^! notation effects
        doc: revisions: give headings for the two and three dot notations
        doc: show the actual left, right, and boundary marks
        doc: revisions - name the left and right sides
        doc: use 'symmetric difference' consistently
      f0b2db22
  3. 13 9月, 2016 1 次提交
  4. 11 9月, 2016 2 次提交
  5. 09 9月, 2016 20 次提交
    • J
      Start maintenance track for 2.10.x series · 49981d8a
      Junio C Hamano 提交于
      49981d8a
    • J
      Prepare for 2.9.4 · 0202c411
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      0202c411
    • J
      Merge branch 'hv/doc-commit-reference-style' into maint · 3e8e69a6
      Junio C Hamano 提交于
      A small doc update.
      
      * hv/doc-commit-reference-style:
        SubmittingPatches: use gitk's "Copy commit summary" format
        SubmittingPatches: document how to reference previous commits
      3e8e69a6
    • J
      Merge branch 'sg/reflog-past-root' into maint · b5abd302
      Junio C Hamano 提交于
      A small test clean-up for a topic introduced in v2.9.1 and later.
      
      * sg/reflog-past-root:
        t1410: remove superfluous 'git reflog' from the 'walk past root' test
      b5abd302
    • J
      Merge branch 'rs/mailinfo-lib' into maint · 71165f02
      Junio C Hamano 提交于
      Small code clean-up.
      
      * rs/mailinfo-lib:
        mailinfo: recycle strbuf in check_header()
      71165f02
    • J
      Merge branch 'jk/tighten-alloc' into maint · 9bef6422
      Junio C Hamano 提交于
      Small code and comment clean-up.
      
      * jk/tighten-alloc:
        receive-pack: use FLEX_ALLOC_MEM in queue_command()
        correct FLEXPTR_* example in comment
      9bef6422
    • J
      Merge branch 'rs/use-strbuf-add-unique-abbrev' into maint · 5e469ab6
      Junio C Hamano 提交于
      A small code clean-up.
      
      * rs/use-strbuf-add-unique-abbrev:
        use strbuf_add_unique_abbrev() for adding short hashes
      5e469ab6
    • J
      Merge branch 'rs/merge-recursive-string-list-init' into maint · f14883b9
      Junio C Hamano 提交于
      A small code clean-up.
      
      * rs/merge-recursive-string-list-init:
        merge-recursive: use STRING_LIST_INIT_NODUP
      f14883b9
    • J
      Merge branch 'rs/merge-add-strategies-simplification' into maint · 24c88ad8
      Junio C Hamano 提交于
      A small code clean-up.
      
      * rs/merge-add-strategies-simplification:
        merge: use string_list_split() in add_strategies()
      24c88ad8
    • J
      Merge branch 'ls/packet-line-protocol-doc-fix' into maint · a75341c7
      Junio C Hamano 提交于
      Correct an age-old calco (is that a typo-like word for calc)
      in the documentation.
      
      * ls/packet-line-protocol-doc-fix:
        pack-protocol: fix maximum pkt-line size
      a75341c7
    • J
      Merge branch 'bw/mingw-avoid-inheriting-fd-to-lockfile' into maint · c0e8b3b4
      Junio C Hamano 提交于
      The tempfile (hence its user lockfile) API lets the caller to open
      a file descriptor to a temporary file, write into it and then
      finalize it by first closing the filehandle and then either
      removing or renaming the temporary file.  When the process spawns a
      subprocess after obtaining the file descriptor, and if the
      subprocess has not exited when the attempt to remove or rename is
      made, the last step fails on Windows, because the subprocess has
      the file descriptor still open.  Open tempfile with O_CLOEXEC flag
      to avoid this (on Windows, this is mapped to O_NOINHERIT).
      
      * bw/mingw-avoid-inheriting-fd-to-lockfile:
        mingw: ensure temporary file handles are not inherited by child processes
        t6026-merge-attr: child processes must not inherit index.lock handles
      c0e8b3b4
    • J
      Merge branch 'dg/document-git-c-in-git-config-doc' into maint · 15a27298
      Junio C Hamano 提交于
      The "git -c var[=val] cmd" facility to append a configuration
      variable definition at the end of the search order was described in
      git(1) manual page, but not in git-config(1), which was more likely
      place for people to look for when they ask "can I make a one-shot
      override, and if so how?"
      
      * dg/document-git-c-in-git-config-doc:
        doc: mention `git -c` in git-config(1)
      15a27298
    • J
      Merge branch 'js/no-html-bypass-on-windows' into maint · ba22efd8
      Junio C Hamano 提交于
      On Windows, help.browser configuration variable used to be ignored,
      which has been corrected.
      
      * js/no-html-bypass-on-windows:
        Revert "display HTML in default browser using Windows' shell API"
      ba22efd8
    • J
      Merge branch 'jk/difftool-command-not-found' into maint · bde42f08
      Junio C Hamano 提交于
      "git difftool" by default ignores the error exit from the backend
      commands it spawns, because often they signal that they found
      differences by exiting with a non-zero status code just like "diff"
      does; the exit status codes 126 and above however are special in
      that they are used to signal that the command is not executable,
      does not exist, or killed by a signal.  "git difftool" has been
      taught to notice these exit status codes.
      
      * jk/difftool-command-not-found:
        difftool: always honor fatal error exit codes
      bde42f08
    • J
      Merge branch 'sb/checkout-explit-detach-no-advice' into maint · 7c964719
      Junio C Hamano 提交于
      "git checkout --detach <branch>" used to give the same advice
      message as that is issued when "git checkout <tag>" (or anything
      that is not a branch name) is given, but asking with "--detach" is
      an explicit enough sign that the user knows what is going on.  The
      advice message has been squelched in this case.
      
      * sb/checkout-explit-detach-no-advice:
        checkout: do not mention detach advice for explicit --detach option
      7c964719
    • J
      Merge branch 'rs/pull-signed-tag' into maint · 69307312
      Junio C Hamano 提交于
      When "git merge-recursive" works on history with many criss-cross
      merges in "verbose" mode, the names the command assigns to the
      virtual merge bases could have overwritten each other by unintended
      reuse of the same piece of memory.
      
      * rs/pull-signed-tag:
        commit: use FLEX_ARRAY in struct merge_remote_desc
        merge-recursive: fix verbose output for multiple base trees
        commit: factor out set_merge_remote_desc()
        commit: use xstrdup() in get_merge_parent()
      69307312
    • J
      Merge branch 'js/test-lint-pathname' into maint · 86df11b1
      Junio C Hamano 提交于
      The "t/" hierarchy is prone to get an unusual pathname; "make test"
      has been taught to make sure they do not contain paths that cannot
      be checked out on Windows (and the mechanism can be reusable to
      catch pathnames that are not portable to other platforms as need
      arises).
      
      * js/test-lint-pathname:
        t/Makefile: ensure that paths are valid on platforms we care
      86df11b1
    • J
      Merge branch 'js/mv-dir-to-new-directory' into maint · 8e7c580e
      Junio C Hamano 提交于
      "git mv dir non-existing-dir/" did not work in some environments
      the same way as existing mainstream platforms.  The code now moves
      "dir" to "non-existing-dir", without relying on rename("A", "B/")
      that strips the trailing slash of '/'.
      
      * js/mv-dir-to-new-directory:
        git mv: do not keep slash in `git mv dir non-existing-dir/`
      8e7c580e
    • J
      Merge branch 'js/import-tars-hardlinks' into maint · 5e09f1dd
      Junio C Hamano 提交于
      "import-tars" fast-import script (in contrib/) used to ignore a
      hardlink target and replaced it with an empty file, which has been
      corrected to record the same blob as the other file the hardlink is
      shared with.
      
      * js/import-tars-hardlinks:
        import-tars: support hard links
      5e09f1dd
    • J
      Merge branch 'ms/document-pack-window-memory-is-per-thread' into maint · c343e491
      Junio C Hamano 提交于
      * ms/document-pack-window-memory-is-per-thread:
        document git-repack interaction of pack.threads and pack.windowMemory
      c343e491