1. 12 12月, 2017 3 次提交
  2. 28 11月, 2017 7 次提交
    • J
      Sync with v2.15.1 · 1a4e40aa
      Junio C Hamano 提交于
      1a4e40aa
    • J
      RelNotes: the seventh batch · afc63cb6
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      afc63cb6
    • J
      Merge branch 'rs/include-comments-before-the-function-header' · f0349016
      Junio C Hamano 提交于
      "git grep -W", "git diff -W" and their friends learned a heuristic
      to extend a pre-context beyond the line that matches the "function
      pattern" (aka "diff.*.xfuncname") to include a comment block, if
      exists, that immediately precedes it.
      
      * rs/include-comments-before-the-function-header:
        grep: show non-empty lines before functions with -W
        grep: update boundary variable for pre-context
        t7810: improve check of -W with user-defined function lines
        xdiff: show non-empty lines before functions with -W
        xdiff: factor out is_func_rec()
        t4051: add test for comments preceding function lines
      f0349016
    • J
      Merge branch 'ma/branch-list-paginate' · 3b49e1b0
      Junio C Hamano 提交于
      "git branch --list" learned to show its output through the pager by
      default when the output is going to a terminal, which is controlled
      by the pager.branch configuration variable.  This is similar to a
      recent change to "git tag --list".
      
      * ma/branch-list-paginate:
        branch: change default of `pager.branch` to "on"
        branch: respect `pager.branch` in list-mode only
        t7006: add tests for how git branch paginates
      3b49e1b0
    • J
      Merge branch 'jc/branch-name-sanity' · 16169285
      Junio C Hamano 提交于
      "git branch" and "git checkout -b" are now forbidden from creating
      a branch whose name is "HEAD".
      
      * jc/branch-name-sanity:
        builtin/branch: remove redundant check for HEAD
        branch: correctly reject refs/heads/{-dash,HEAD}
        branch: split validate_new_branchname() into two
        branch: streamline "attr_only" handling in validate_new_branchname()
      16169285
    • J
      Git 2.15.1 · 9b185bef
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      9b185bef
    • J
      Merge branch 'rs/config-write-section-fix' into maint · b201e96f
      Junio C Hamano 提交于
      There was a recent semantic mismerge in the codepath to write out a
      section of a configuration section, which has been corrected.
      
      * rs/config-write-section-fix:
        config: flip return value of write_section()
      b201e96f
  3. 27 11月, 2017 23 次提交
    • J
      RelNotes: the sixth batch for 2.16 · 5f9953d2
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      5f9953d2
    • J
      Sync with maint · 0c24fdc2
      Junio C Hamano 提交于
      * maint:
        A bit more fixes for 2.15.1
        RelNotes: minor typo fixes in 2.15.1 draft
      0c24fdc2
    • J
      Merge branch 'sw/pull-ipv46-passthru' · c2b6135a
      Junio C Hamano 提交于
      Contrary to the documentation, "git pull -4/-6 other-args" did not
      ask the underlying "git fetch" to go over IPv4/IPv6, which has been
      corrected.
      
      * sw/pull-ipv46-passthru:
        pull: pass -4/-6 option to 'git fetch'
      c2b6135a
    • J
      Merge branch 'ks/rebase-no-git-foo' · 88e2efcb
      Junio C Hamano 提交于
      Mentions of "git-rebase" and "git-am" (dashed form) still remained
      in end-user visible strings emitted by the "git rebase" command;
      they have been corrected.
      
      * ks/rebase-no-git-foo:
        git-rebase: clean up dashed-usages in messages
      88e2efcb
    • J
      Merge branch 'rs/config-write-section-fix' · 51affbd5
      Junio C Hamano 提交于
      There was a recent semantic mismerge in the codepath to write out a
      section of a configuration section, which has been corrected.
      
      * rs/config-write-section-fix:
        config: flip return value of write_section()
      51affbd5
    • J
      Merge branch 'ew/rebase-mboxrd' · 12e87e29
      Junio C Hamano 提交于
      When "git rebase" prepared an mailbox of changes and fed it to "git
      am" to replay them, it was confused when a stray "From " happened
      to be in the log message of one of the replayed changes.  This has
      been corrected.
      
      * ew/rebase-mboxrd:
        rebase: use mboxrd format to avoid split errors
      12e87e29
    • J
      Merge branch 'tb/add-renormalize' · af6e0fe3
      Junio C Hamano 提交于
      "git add --renormalize ." is a new and safer way to record the fact
      that you are correcting the end-of-line convention and other
      "convert_to_git()" glitches in the in-repository data.
      
      * tb/add-renormalize:
        add: introduce "--renormalize"
      af6e0fe3
    • J
      Merge branch 'tz/complete-branch-copy' · 93bfe62a
      Junio C Hamano 提交于
      Command line completion (in contrib/) has been taught about the
      "--copy" option of "git branch".
      
      * tz/complete-branch-copy:
        completion: add '--copy' option to 'git branch'
      93bfe62a
    • J
      Merge branch 'rs/apply-inaccurate-eof-with-incomplete-line' · d78a122e
      Junio C Hamano 提交于
      "git apply --inaccurate-eof" when used with "--ignore-space-change"
      triggered an internal sanity check, which has been fixed.
      
      * rs/apply-inaccurate-eof-with-incomplete-line:
        apply: update line lengths for --inaccurate-eof
      d78a122e
    • J
      Merge branch 'pw/sequencer-recover-from-unlockable-index' · c2ed6834
      Junio C Hamano 提交于
      The sequencer machinery (used by "git cherry-pick A..B", and "git
      rebase -i", among other things) would have lost a commit if stopped
      due to an unlockable index file, which has been fixed.
      
      * pw/sequencer-recover-from-unlockable-index:
        sequencer: reschedule pick if index can't be locked
      c2ed6834
    • J
      Merge branch 'sd/branch-copy' · 6254330e
      Junio C Hamano 提交于
      Code clean-up.
      
      * sd/branch-copy:
        config: avoid "write_in_full(fd, buf, len) != len" pattern
      6254330e
    • J
      Merge branch 'sb/test-cherry-pick-submodule-getting-in-a-way' · f70a50fc
      Junio C Hamano 提交于
      The three-way merge performed by "git cherry-pick" was confused
      when a new submodule was added in the meantime, which has been
      fixed (or "papered over").
      
      * sb/test-cherry-pick-submodule-getting-in-a-way:
        merge-recursive: handle addition of submodule on our side of history
        t/3512: demonstrate unrelated submodule/file conflict as cherry-pick failure
      f70a50fc
    • J
      Merge branch 'tz/notes-error-to-stderr' · c5e76308
      Junio C Hamano 提交于
      "git notes" sent its error message to its standard output stream,
      which was corrected.
      
      * tz/notes-error-to-stderr:
        notes: send "Automatic notes merge failed" messages to stderr
      c5e76308
    • J
      Merge branch 'tz/redirect-fix' · dec01eee
      Junio C Hamano 提交于
      A few scripts (both in production and tests) incorrectly redirected
      their error output.  These have been corrected.
      
      * tz/redirect-fix:
        rebase: fix stderr redirect in apply_autostash()
        t/lib-gpg: fix gpgconf stderr redirect to /dev/null
      dec01eee
    • J
      Merge branch 'rv/sendemail-tocmd-in-config-and-completion' · f3f671b9
      Junio C Hamano 提交于
      Teach "sendemail.tocmd" to places that know about "sendemail.to",
      like documentation and shell completion (in contrib/).
      
      * rv/sendemail-tocmd-in-config-and-completion:
        completion: add git config sendemail.tocmd
        Documentation/config: add sendemail.tocmd to list preceding "See git-send-email(1)"
      f3f671b9
    • J
      Merge branch 'jc/merge-base-fork-point-doc' · 022dd4a0
      Junio C Hamano 提交于
      Clarify and enhance documentation for "merge-base --fork-point", as
      it was clear what it computed but not why/what for.
      
      * jc/merge-base-fork-point-doc:
        merge-base --fork-point doc: clarify the example and failure modes
      022dd4a0
    • J
      Merge branch 'jc/ignore-cr-at-eol' · 10f65c23
      Junio C Hamano 提交于
      The "diff" family of commands learned to ignore differences in
      carriage return at the end of line.
      
      * jc/ignore-cr-at-eol:
        diff: --ignore-cr-at-eol
        xdiff: reassign xpparm_t.flags bits
      10f65c23
    • J
      A bit more fixes for 2.15.1 · 7bc77766
      Junio C Hamano 提交于
      We've been waiting long enough, a few more would not hurt ;-)
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7bc77766
    • J
      Merge branch 'ma/reduce-heads-leakfix' into maint · 80a0e0fd
      Junio C Hamano 提交于
      Leak fixes.
      
      * ma/reduce-heads-leakfix:
        reduce_heads: fix memory leaks
        builtin/merge-base: free commit lists
      80a0e0fd
    • J
      Merge branch 'ma/bisect-leakfix' into maint · 03e8004f
      Junio C Hamano 提交于
      Leak fixes.
      
      * ma/bisect-leakfix:
        bisect: fix memory leak when returning best element
        bisect: fix off-by-one error in `best_bisection_sorted()`
        bisect: fix memory leak in `find_bisection()`
        bisect: change calling-convention of `find_bisection()`
      03e8004f
    • J
      Merge branch 'rs/apply-fuzzy-match-fix' into maint · df481b99
      Junio C Hamano 提交于
      A fix for an ancient bug in "git apply --ignore-space-change" codepath.
      
      * rs/apply-fuzzy-match-fix:
        apply: avoid out-of-bounds access in fuzzy_matchlines()
      df481b99
    • J
      Merge branch 'ad/submitting-patches-title-decoration' into maint · b51df7d3
      Junio C Hamano 提交于
      Doc update around use of "format-patch --subject-prefix" etc.
      
      * ad/submitting-patches-title-decoration:
        doc/SubmittingPatches: correct subject guidance
      b51df7d3
    • J
      Merge branch 'rs/imap-send-next-arg-fix' into maint · 95bf6151
      Junio C Hamano 提交于
      Error checking in "git imap-send" for empty response has been
      improved.
      
      * rs/imap-send-next-arg-fix:
        imap-send: handle missing response codes gracefully
        imap-send: handle NULL return of next_arg()
      95bf6151
  4. 26 11月, 2017 1 次提交
  5. 21 11月, 2017 6 次提交
    • J
      Sync with maint · 14c63a9d
      Junio C Hamano 提交于
      * maint:
        Almost ready for 2.15.1
      14c63a9d
    • J
      RelNotes: the fifth batch for 2.16 · 719c7020
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      719c7020
    • J
      Merge branch 'rs/apply-fuzzy-match-fix' · 5ed69ca6
      Junio C Hamano 提交于
      A fix for an ancient bug in "git apply --ignore-space-change" codepath.
      
      * rs/apply-fuzzy-match-fix:
        apply: avoid out-of-bounds access in fuzzy_matchlines()
      5ed69ca6
    • J
      Merge branch 'ad/submitting-patches-title-decoration' · 1a5f2e44
      Junio C Hamano 提交于
      Doc update around use of "format-patch --subject-prefix" etc.
      
      * ad/submitting-patches-title-decoration:
        doc/SubmittingPatches: correct subject guidance
      1a5f2e44
    • J
      Merge branch 'av/fsmonitor' · c9fdbca9
      Junio C Hamano 提交于
      Various fixes to bp/fsmonitor topic.
      
      * av/fsmonitor:
        fsmonitor: simplify determining the git worktree under Windows
        fsmonitor: store fsmonitor bitmap before splitting index
        fsmonitor: read from getcwd(), not the PWD environment variable
        fsmonitor: delay updating state until after split index is merged
        fsmonitor: document GIT_TRACE_FSMONITOR
        fsmonitor: don't bother pretty-printing JSON from watchman
        fsmonitor: set the PWD to the top of the working tree
      c9fdbca9
    • J
      Merge branch 'bp/fsmonitor' · e05336bd
      Junio C Hamano 提交于
      We learned to talk to watchman to speed up "git status" and other
      operations that need to see which paths have been modified.
      
      * bp/fsmonitor:
        fsmonitor: preserve utf8 filenames in fsmonitor-watchman log
        fsmonitor: read entirety of watchman output
        fsmonitor: MINGW support for watchman integration
        fsmonitor: add a performance test
        fsmonitor: add a sample integration script for Watchman
        fsmonitor: add test cases for fsmonitor extension
        split-index: disable the fsmonitor extension when running the split index test
        fsmonitor: add a test tool to dump the index extension
        update-index: add fsmonitor support to update-index
        ls-files: Add support in ls-files to display the fsmonitor valid bit
        fsmonitor: add documentation for the fsmonitor extension.
        fsmonitor: teach git to optionally utilize a file system monitor to speed up detecting new or changed files.
        update-index: add a new --force-write-index option
        preload-index: add override to enable testing preload-index
        bswap: add 64 bit endianness helper get_be64
      e05336bd