1. 11 8月, 2016 11 次提交
    • J
      Merge branch 'jc/grep-commandline-vs-configuration' into maint · 7b163e91
      Junio C Hamano 提交于
      "git -c grep.patternType=extended log --basic-regexp" misbehaved
      because the internal API to access the grep machinery was not
      designed well.
      
      * jc/grep-commandline-vs-configuration:
        grep: further simplify setting the pattern type
      7b163e91
    • J
      Merge branch 'jk/diff-do-not-reuse-wtf-needs-cleaning' into maint · cee6c5b4
      Junio C Hamano 提交于
      There is an optimization used in "git diff $treeA $treeB" to borrow
      an already checked-out copy in the working tree when it is known to
      be the same as the blob being compared, expecting that open/mmap of
      such a file is faster than reading it from the object store, which
      involves inflating and applying delta.  This however kicked in even
      when the checked-out copy needs to go through the convert-to-git
      conversion (including the clean filter), which defeats the whole
      point of the optimization.  The optimization has been disabled when
      the conversion is necessary.
      
      * jk/diff-do-not-reuse-wtf-needs-cleaning:
        diff: do not reuse worktree files that need "clean" conversion
      cee6c5b4
    • J
      Merge branch 'pm/build-persistent-https-with-recent-go' into maint · d1d9c3cc
      Junio C Hamano 提交于
      The build procedure for "git persistent-https" helper (in contrib/)
      has been updated so that it can be built with more recent versions
      of Go.
      
      * pm/build-persistent-https-with-recent-go:
        contrib/persistent-https: use Git version for build label
        contrib/persistent-https: update ldflags syntax for Go 1.7+
      d1d9c3cc
    • J
      Merge branch 'da/subtree-2.9-regression' into maint · 366d2d5f
      Junio C Hamano 提交于
      "git merge" in Git v2.9 was taught to forbid merging an unrelated
      lines of history by default, but that is exactly the kind of thing
      the "--rejoin" mode of "git subtree" (in contrib/) wants to do.
      "git subtree" has been taught to use the "--allow-unrelated-histories"
      option to override the default.
      
      * da/subtree-2.9-regression:
        subtree: fix "git subtree split --rejoin"
        t7900-subtree.sh: fix quoting and broken && chains
      366d2d5f
    • J
      Merge branch 'os/no-verify-skips-commit-msg-too' into maint · d9d7ab3b
      Junio C Hamano 提交于
      "git commit --help" said "--no-verify" is only about skipping the
      pre-commit hook, and failed to say that it also skipped the
      commit-msg hook.
      
      * os/no-verify-skips-commit-msg-too:
        commit: describe that --no-verify skips the commit-msg hook in the help text
      d9d7ab3b
    • J
      Merge branch 'rs/rm-strbuf-optim' into maint · b7fb136b
      Junio C Hamano 提交于
      The use of strbuf in "git rm" to build filename to remove was a bit
      suboptimal, which has been fixed.
      
      * rs/rm-strbuf-optim:
        rm: reuse strbuf for all remove_dir_recursively() calls
      b7fb136b
    • J
      Merge branch 'jk/parse-options-concat' into maint · 60b84ba2
      Junio C Hamano 提交于
      Users of the parse_options_concat() API function need to allocate
      extra slots in advance and fill them with OPT_END() when they want
      to decide the set of supported options dynamically, which makes the
      code error-prone and hard to read.  This has been corrected by tweaking
      the API to allocate and return a new copy of "struct option" array.
      
      * jk/parse-options-concat:
        parse_options: allocate a new array when concatenating
      60b84ba2
    • J
      Merge branch 'ls/travis-enable-httpd-tests' into maint · dbc5276f
      Junio C Hamano 提交于
      Allow http daemon tests in Travis CI tests.
      
      * ls/travis-enable-httpd-tests:
        travis-ci: enable web server tests t55xx on Linux
      dbc5276f
    • J
      Merge branch 'ew/autoconf-pthread' into maint · f98a20c5
      Junio C Hamano 提交于
      Existing autoconf generated test for the need to link with pthread
      library did not check all the functions from pthread libraries;
      recent FreeBSD has some functions in libc but not others, and we
      mistakenly thought linking with libc is enough when it is not.
      
      * ew/autoconf-pthread:
        configure.ac: stronger test for pthread linkage
      f98a20c5
    • J
      Merge branch 'rs/help-c-source-with-gitattributes' into maint · e223c2c7
      Junio C Hamano 提交于
      The .c/.h sources are marked as such in our .gitattributes file so
      that "git diff -W" and friends would work better.
      
      * rs/help-c-source-with-gitattributes:
        .gitattributes: set file type for C files
      e223c2c7
    • J
      Merge branch 'mm/status-suggest-merge-abort' into maint · 61efc5c2
      Junio C Hamano 提交于
      "git status" learned to suggest "merge --abort" during a conflicted
      merge, just like it already suggests "rebase --abort" during a
      conflicted rebase.
      
      * mm/status-suggest-merge-abort:
        status: suggest 'git merge --abort' when appropriate
      61efc5c2
  2. 09 8月, 2016 21 次提交
    • J
      Hopefully final batch for 2.9.3 · 00f27feb
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      00f27feb
    • J
      Merge branch 'sb/pack-protocol-doc-nak' into maint · 593be730
      Junio C Hamano 提交于
      A doc update.
      
      * sb/pack-protocol-doc-nak:
        Documentation: pack-protocol correct NAK response
      593be730
    • J
      Merge branch 'rs/submodule-config-code-cleanup' into maint · f7b01d3e
      Junio C Hamano 提交于
      Code cleanup.
      
      * rs/submodule-config-code-cleanup:
        submodule-config: fix test binary crashing when no arguments given
        submodule-config: combine early return code into one goto
        submodule-config: passing name reference for .gitmodule blobs
        submodule-config: use explicit empty string instead of strbuf in config_from()
      f7b01d3e
    • J
      Merge branch 'sb/submodule-deinit-all' into maint · 6a024a24
      Junio C Hamano 提交于
      A comment update for a topic that was merged to Git v2.8.
      
      * sb/submodule-deinit-all:
        submodule deinit: remove outdated comment
      6a024a24
    • J
      Merge branch 'rs/worktree-use-strbuf-absolute-path' into maint · 5131967e
      Junio C Hamano 提交于
      Code simplification.
      
      * rs/worktree-use-strbuf-absolute-path:
        worktree: use strbuf_add_absolute_path() directly
      5131967e
    • J
      Merge branch 'jc/doc-diff-filter-exclude' into maint · 2f8c654e
      Junio C Hamano 提交于
      Belated doc update for a feature added in v1.8.5.
      
      * jc/doc-diff-filter-exclude:
        diff: document diff-filter exclusion
      2f8c654e
    • J
      Merge branch 'nd/test-helpers' into maint · 970994de
      Junio C Hamano 提交于
      Build clean-up.
      
      * nd/test-helpers:
        t/test-lib.sh: fix running tests with --valgrind
        Makefile: use VCSSVN_LIB to refer to svn library
        Makefile: drop extra dependencies for test helpers
      970994de
    • J
      Merge branch 'rs/use-strbuf-addbuf' into maint · 48aa37ed
      Junio C Hamano 提交于
      Code cleanup.
      
      * rs/use-strbuf-addbuf:
        strbuf: avoid calling strbuf_grow() twice in strbuf_addbuf()
        use strbuf_addbuf() for appending a strbuf to another
      48aa37ed
    • J
      Merge branch 'lf/recv-sideband-cleanup' into maint · ee7fd70e
      Junio C Hamano 提交于
      Code simplification.
      
      * lf/recv-sideband-cleanup:
        sideband.c: small optimization of strbuf usage
        sideband.c: refactor recv_sideband()
      ee7fd70e
    • J
      Merge branch 'ah/unpack-trees-advice-messages' into maint · e69771c3
      Junio C Hamano 提交于
      Grammofix.
      
      * ah/unpack-trees-advice-messages:
        unpack-trees: fix English grammar in do-this-before-that messages
      e69771c3
    • J
      Merge branch 'lf/sideband-returns-void' into maint · 26256c01
      Junio C Hamano 提交于
      A small internal API cleanup.
      
      * lf/sideband-returns-void:
        upload-pack.c: make send_client_data() return void
        sideband.c: make send_sideband() return void
      26256c01
    • J
      Merge branch 'jk/send-pack-stdio' into maint · 1e274ef2
      Junio C Hamano 提交于
      Code clean-up.
      
      * jk/send-pack-stdio:
        write_or_die: remove the unused write_or_whine() function
        send-pack: use buffered I/O to talk to pack-objects
      1e274ef2
    • J
      Merge branch 'pb/commit-editmsg-path' into maint · a220e2bb
      Junio C Hamano 提交于
      Code clean-up.
      
      * pb/commit-editmsg-path:
        builtin/commit.c: memoize git-path for COMMIT_EDITMSG
      a220e2bb
    • J
      Merge branch 'ew/find-perl-on-freebsd-in-local' into maint · 8d642168
      Junio C Hamano 提交于
      Recent FreeBSD stopped making perl available at /usr/bin/perl;
      switch the default the built-in path to /usr/local/bin/perl on not
      too ancient FreeBSD releases.
      
      * ew/find-perl-on-freebsd-in-local:
        config.mak.uname: correct perl path on FreeBSD
      8d642168
    • J
      Merge branch 'ew/daemon-socket-keepalive' into maint · 172b8113
      Junio C Hamano 提交于
      Recent update to "git daemon" tries to enable the socket-level
      KEEPALIVE, but when it is spawned via inetd, the standard input
      file descriptor may not necessarily be connected to a socket.
      Suppress an ENOTSOCK error from setsockopt().
      
      * ew/daemon-socket-keepalive:
        Windows: add missing definition of ENOTSOCK
        daemon: ignore ENOTSOCK from setsockopt
      172b8113
    • J
      Merge branch 'nd/pack-ofs-4gb-limit' into maint · aa9136a8
      Junio C Hamano 提交于
      "git pack-objects" and "git index-pack" mostly operate with off_t
      when talking about the offset of objects in a packfile, but there
      were a handful of places that used "unsigned long" to hold that
      value, leading to an unintended truncation.
      
      * nd/pack-ofs-4gb-limit:
        fsck: use streaming interface for large blobs in pack
        pack-objects: do not truncate result in-pack object size on 32-bit systems
        index-pack: correct "offset" type in unpack_entry_data()
        index-pack: report correct bad object offsets even if they are large
        index-pack: correct "len" type in unpack_data()
        sha1_file.c: use type off_t* for object_info->disk_sizep
        pack-objects: pass length to check_pack_crc() without truncation
      aa9136a8
    • J
      Merge branch 'rs/notes-merge-no-toctou' into maint · 743fba85
      Junio C Hamano 提交于
      "git notes merge" had a code to see if a path exists (and fails if
      it does) and then open the path for writing (when it doesn't).
      Replace it with open with O_EXCL.
      
      * rs/notes-merge-no-toctou:
        notes-merge: use O_EXCL to avoid overwriting existing files
      743fba85
    • J
      Merge branch 'js/ignore-space-at-eol' into maint · a52fb9b8
      Junio C Hamano 提交于
      An age old bug that caused "git diff --ignore-space-at-eol"
      misbehave has been fixed.
      
      * js/ignore-space-at-eol:
        diff: fix a double off-by-one with --ignore-space-at-eol
        diff: demonstrate a bug with --patience and --ignore-space-at-eol
      a52fb9b8
    • J
      Merge branch 'jk/push-scrub-url' into maint · 71076e11
      Junio C Hamano 提交于
      "git fetch http://user:pass@host/repo..." scrubbed the userinfo
      part, but "git push" didn't.
      
      * jk/push-scrub-url:
        t5541: fix url scrubbing test when GPG is not set
        push: anonymize URL in status output
      71076e11
    • J
      Merge branch 'nd/cache-tree-ita' into maint · 880b3fee
      Junio C Hamano 提交于
      "git add -N dir/file && git write-tree" produced an incorrect tree
      when there are other paths in the same directory that sorts after
      "file".
      
      * nd/cache-tree-ita:
        cache-tree: do not generate empty trees as a result of all i-t-a subentries
        cache-tree.c: fix i-t-a entry skipping directory updates sometimes
        test-lib.sh: introduce and use $EMPTY_BLOB
        test-lib.sh: introduce and use $EMPTY_TREE
      880b3fee
    • J
      Merge branch 'mh/blame-worktree' into maint · 327b3f84
      Junio C Hamano 提交于
      "git blame file" allowed the lineage of lines in the uncommitted,
      unadded contents of "file" to be inspected, but it refused when
      "file" did not appear in the current commit.  When "file" was
      created by renaming an existing file (but the change has not been
      committed), this restriction was unnecessarily tight.
      
      * mh/blame-worktree:
        t/t8003-blame-corner-cases.sh: Use here documents
        blame: allow to blame paths freshly added to the index
      327b3f84
  3. 29 7月, 2016 8 次提交