1. 29 7月, 2016 17 次提交
    • J
      Some fixes for 2.9.3 · 08df31ee
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      08df31ee
    • J
      Merge branch 'ak/lazy-prereq-mktemp' into maint · 1ecc6b29
      Junio C Hamano 提交于
      A test that unconditionally used "mktemp" learned that the command
      is not necessarily available everywhere.
      
      * ak/lazy-prereq-mktemp:
        t7610: test for mktemp before test execution
      1ecc6b29
    • J
      Merge branch 'nd/icase' into maint · 6cbec0da
      Junio C Hamano 提交于
      "git grep -i" has been taught to fold case in non-ascii locales
      correctly.
      
      * nd/icase:
        grep.c: reuse "icase" variable
        diffcore-pickaxe: support case insensitive match on non-ascii
        diffcore-pickaxe: Add regcomp_or_die()
        grep/pcre: support utf-8
        gettext: add is_utf8_locale()
        grep/pcre: prepare locale-dependent tables for icase matching
        grep: rewrite an if/else condition to avoid duplicate expression
        grep/icase: avoid kwsset when -F is specified
        grep/icase: avoid kwsset on literal non-ascii strings
        test-regex: expose full regcomp() to the command line
        test-regex: isolate the bug test code
        grep: break down an "if" stmt in preparation for next changes
      6cbec0da
    • J
      Merge branch 'sb/submodule-parallel-fetch' into maint · 8e4571e5
      Junio C Hamano 提交于
      Fix recently introduced codepaths that are involved in parallel
      submodule operations, which gave up on reading too early, and
      could have wasted CPU while attempting to write under a corner
      case condition.
      
      * sb/submodule-parallel-fetch:
        hoist out handle_nonblock function for xread and xwrite
        xwrite: poll on non-blocking FDs
        xread: retry after poll on EAGAIN/EWOULDBLOCK
      8e4571e5
    • J
      Merge branch 'dk/blame-move-no-reason-for-1-line-context' into maint · c81d2836
      Junio C Hamano 提交于
      "git blame -M" missed a single line that was moved within the file.
      
      * dk/blame-move-no-reason-for-1-line-context:
        blame: require 0 context lines while finding moved lines with -M
      c81d2836
    • J
      Merge branch 'jk/test-match-signal' into maint · e5a730a1
      Junio C Hamano 提交于
      The test framework learned a new helper test_match_signal to
      check an exit code from getting killed by an expected signal.
      
      * jk/test-match-signal:
        t/lib-git-daemon: use test_match_signal
        test_must_fail: use test_match_signal
        t0005: use test_match_signal as appropriate
        tests: factor portable signal check out of t0005
      e5a730a1
    • J
      Merge branch 'js/am-call-theirs-theirs-in-fallback-3way' into maint · 174f9e62
      Junio C Hamano 提交于
      One part of "git am" had an oddball helper function that called
      stuff from outside "his" as opposed to calling what we have "ours",
      which was not gender-neutral and also inconsistent with the rest of
      the system where outside stuff is usuall called "theirs" in
      contrast to "ours".
      
      * js/am-call-theirs-theirs-in-fallback-3way:
        am: counteract gender bias
      174f9e62
    • J
      Merge branch 'js/t3404-grammo-fix' into maint · 8a81d5f5
      Junio C Hamano 提交于
      Grammofix.
      
      * js/t3404-grammo-fix:
        t3404: fix a grammo (commands are ran -> commands are run)
      8a81d5f5
    • J
      Merge branch 'nd/doc-new-command' into maint · dcfb9d7d
      Junio C Hamano 提交于
      Typofix in a doc.
      
      * nd/doc-new-command:
        new-command.txt: correct the command description file
      dcfb9d7d
    • J
      Merge branch 'ew/gc-auto-pack-limit-fix' into maint · 87be95b6
      Junio C Hamano 提交于
      "gc.autoPackLimit" when set to 1 should not trigger a repacking
      when there is only one pack, but the code counted poorly and did
      so.
      
      * ew/gc-auto-pack-limit-fix:
        gc: fix off-by-one error with gc.autoPackLimit
      87be95b6
    • J
      Merge branch 'js/color-on-windows-comment' into maint · 52d637c4
      Junio C Hamano 提交于
      For a long time, we carried an in-code comment that said our
      colored output would work only when we use fprintf/fputs on
      Windows, which no longer is the case for the past few years.
      
      * js/color-on-windows-comment:
        color.h: remove obsolete comment about limitations on Windows
      52d637c4
    • J
      Merge branch 'mm/doc-tt' into maint · 1032eb9c
      Junio C Hamano 提交于
      More mark-up updates to typeset strings that are expected to
      literally typed by the end user in fixed-width font.
      
      * mm/doc-tt:
        doc: typeset HEAD and variants as literal
        CodingGuidelines: formatting HEAD in documentation
        doc: typeset long options with argument as literal
        doc: typeset '--' as literal
        doc: typeset long command-line options as literal
        doc: typeset short command-line options as literal
        Documentation/git-mv.txt: fix whitespace indentation
      1032eb9c
    • J
      Merge branch 'js/sign-empty-commit-fix' into maint · 475495ff
      Junio C Hamano 提交于
      "git commit --amend --allow-empty-message -S" for a commit without
      any message body could have misidentified where the header of the
      commit object ends.
      
      * js/sign-empty-commit-fix:
        commit -S: avoid invalid pointer with empty message
      475495ff
    • J
      Merge branch 'ps/rebase-i-auto-unstash-upon-abort' into maint · ae8daba6
      Junio C Hamano 提交于
      "git rebase -i --autostash" did not restore the auto-stashed change
      when the operation was aborted.
      
      * ps/rebase-i-auto-unstash-upon-abort:
        rebase -i: restore autostash on abort
      ae8daba6
    • J
      Merge branch 'nd/ita-cleanup' into maint · c12c71fa
      Junio C Hamano 提交于
      Git does not know what the contents in the index should be for a
      path added with "git add -N" yet, so "git grep --cached" should not
      show hits (or show lack of hits, with -L) in such a path, but that
      logic does not apply to "git grep", i.e. searching in the working
      tree files.  But we did so by mistake, which has been corrected.
      
      * nd/ita-cleanup:
        grep: fix grepping for "intent to add" files
        t7810-grep.sh: fix a whitespace inconsistency
        t7810-grep.sh: fix duplicated test name
      c12c71fa
    • J
      Merge branch 'js/find-commit-subject-ignore-leading-blanks' into maint · 4966b58f
      Junio C Hamano 提交于
      A helper function that takes the contents of a commit object and
      finds its subject line did not ignore leading blank lines, as is
      commonly done by other codepaths.  Make it ignore leading blank
      lines to match.
      
      * js/find-commit-subject-ignore-leading-blanks:
        reset --hard: skip blank lines when reporting the commit subject
        sequencer: use skip_blank_lines() to find the commit subject
        commit -C: skip blank lines at the beginning of the message
        commit.c: make find_commit_subject() more robust
        pretty: make the skip_blank_lines() function public
      4966b58f
    • J
      Merge branch 'dg/subtree-rebase-test' into maint · 053e2fb5
      Junio C Hamano 提交于
      Add a test to specify the desired behaviour that currently is not
      available in "git rebase -Xsubtree=...".
      
      * dg/subtree-rebase-test:
        contrib/subtree: Add a test for subtree rebase that loses commits
      053e2fb5
  2. 16 7月, 2016 3 次提交
  3. 12 7月, 2016 18 次提交
  4. 09 7月, 2016 1 次提交
    • J
      am: counteract gender bias · 715a51bc
      Johannes Schindelin 提交于
      Since 47f0b6d5 (Fall back to three-way merge when applying a patch.,
      2005-10-06), i.e. for almost 11 years already, we used a male form
      to describe "the other tree".
      
      While it was unintended, this gave the erroneous impression as if
      the Git developers thought of users as male, and were unaware of the
      important role in software development played by female actors such
      as Ada Lovelace, Grace Hopper and Margaret Hamilton. In fact, the
      first professional software developers were all female.
      
      Let's change those unfortunate references to the gender neutral
      "their tree".  Doing so also makes the fallback_merge_recursive(),
      which is an oddball, more in line with the other parts of the system
      where we contrast what we have vs what we obtain from others by
      saying "ours" vs "theirs".  This inconsistency was also unintended.
      Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      715a51bc
  5. 07 7月, 2016 1 次提交