1. 15 3月, 2018 20 次提交
  2. 09 3月, 2018 14 次提交
    • J
      Eighth batch for 2.17 · d0db9edb
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d0db9edb
    • J
      Merge branch 'ag/userdiff-go-funcname' · 077cde91
      Junio C Hamano 提交于
      "git diff" and friends learned funcname patterns for Go language
      source files.
      
      * ag/userdiff-go-funcname:
        userdiff: add built-in pattern for golang
      077cde91
    • J
      Merge branch 'ab/gc-auto-in-commit' · 9bb8eb0c
      Junio C Hamano 提交于
      "git commit" used to run "gc --auto" near the end, which was lost
      when the command was reimplemented in C by mistake.
      
      * ab/gc-auto-in-commit:
        commit: run git gc --auto just before the post-commit hook
      9bb8eb0c
    • J
      Merge branch 'bp/untracked-cache-noflush' · cdda65ac
      Junio C Hamano 提交于
      Writing out the index file when the only thing that changed in it
      is the untracked cache information is often wasteful, and this has
      been optimized out.
      
      * bp/untracked-cache-noflush:
        untracked cache: use git_env_bool() not getenv() for customization
        dir.c: don't flag the index as dirty for changes to the untracked cache
      cdda65ac
    • J
      Merge branch 'rs/perf-repeat-thrice-by-default' · 74735c9c
      Junio C Hamano 提交于
      Perf test regression fix.
      
      * rs/perf-repeat-thrice-by-default:
        perf: use GIT_PERF_REPEAT_COUNT=3 by default even without config file
      74735c9c
    • J
      Merge branch 'mk/doc-pretty-fill' · cd3d56a9
      Junio C Hamano 提交于
      Docfix.
      
      * mk/doc-pretty-fill:
        docs/pretty-formats: fix typo '% <(<N>)' -> '%<|(<N>)'
      cd3d56a9
    • J
      Merge branch 'jc/test-must-be-empty' · a8d45dcf
      Junio C Hamano 提交于
      Test framework tweak to catch developer thinko.
      
      * jc/test-must-be-empty:
        test_must_be_empty: make sure the file exists, not just empty
      a8d45dcf
    • J
      Merge branch 'ds/mark-parents-uninteresting-optim' · d5120dab
      Junio C Hamano 提交于
      Micro optimization in revision traversal code.
      
      * ds/mark-parents-uninteresting-optim:
        revision.c: reduce object database queries
      d5120dab
    • J
      Merge branch 'ds/find-unique-abbrev-optim' · 7519a60f
      Junio C Hamano 提交于
      While finding unique object name abbreviation, the code may
      accidentally have read beyond the end of the array of object names
      in a pack.
      
      * ds/find-unique-abbrev-optim:
        sha1_name: fix uninitialized memory errors
      7519a60f
    • J
      Merge branch 'sg/subtree-signed-commits' · 65ebfec5
      Junio C Hamano 提交于
      "git subtree" script (in contrib/) scripted around "git log", whose
      output got affected by end-user configuration like log.showsignature
      
      * sg/subtree-signed-commits:
        subtree: fix add and pull for GPG-signed commits
      65ebfec5
    • J
      Merge branch 'rv/grep-cleanup' · 5fc4a7ed
      Junio C Hamano 提交于
      Threaded "git grep" has been optimized to avoid allocation in code
      section that is covered under a mutex.
      
      * rv/grep-cleanup:
        grep: simplify grep_oid and grep_file
        grep: move grep_source_init outside critical section
      5fc4a7ed
    • J
      Merge branch 'ot/ref-filter-cleanup' · 9e69a148
      Junio C Hamano 提交于
      Code cleanup.
      
      * ot/ref-filter-cleanup:
        ref-filter: get rid of goto
        ref-filter: get rid of duplicate code
      9e69a148
    • J
      Merge branch 'jh/status-no-ahead-behind' · 4094e47f
      Junio C Hamano 提交于
      "git status" can spend a lot of cycles to compute the relation
      between the current branch and its upstream, which can now be
      disabled with "--no-ahead-behind" option.
      
      * jh/status-no-ahead-behind:
        status: support --no-ahead-behind in long format
        status: update short status to respect --no-ahead-behind
        status: add --[no-]ahead-behind to status and commit for V2 format.
        stat_tracking_info: return +1 when branches not equal
      4094e47f
    • J
      Merge branch 'sg/travis-build-during-script-phase' · c710d182
      Junio C Hamano 提交于
      Build the executable in 'script' phase in Travis CI integration, to
      follow the established practice, rather than during 'before_script'
      phase.  This allows the CI categorize the failures better ('failed'
      is project's fault, 'errored' is build environment's).
      
      * sg/travis-build-during-script-phase:
        travis-ci: build Git during the 'script' phase
      c710d182
  3. 07 3月, 2018 6 次提交
    • J
      Seventh batch for 2.17 · c6284da4
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      c6284da4
    • J
      Merge branch 'bw/perl-timegm-timelocal-fix' · 179e1f53
      Junio C Hamano 提交于
      Y2k20 fix ;-) for our perl scripts.
      
      * bw/perl-timegm-timelocal-fix:
        perl: call timegm and timelocal with 4-digit year
      179e1f53
    • J
      Merge branch 'jk/strbuf-read-file-close-error' · 6c3e6f6f
      Junio C Hamano 提交于
      Code clean-up.
      
      * jk/strbuf-read-file-close-error:
        strbuf_read_file(): preserve errno across close() call
      6c3e6f6f
    • J
      Merge branch 'bw/c-plus-plus' · 169c9c01
      Junio C Hamano 提交于
      Avoid using identifiers that clash with C++ keywords.  Even though
      it is not a goal to compile Git with C++ compilers, changes like
      this help use of code analysis tools that targets C++ on our
      codebase.
      
      * bw/c-plus-plus: (37 commits)
        replace: rename 'new' variables
        trailer: rename 'template' variables
        tempfile: rename 'template' variables
        wrapper: rename 'template' variables
        environment: rename 'namespace' variables
        diff: rename 'template' variables
        environment: rename 'template' variables
        init-db: rename 'template' variables
        unpack-trees: rename 'new' variables
        trailer: rename 'new' variables
        submodule: rename 'new' variables
        split-index: rename 'new' variables
        remote: rename 'new' variables
        ref-filter: rename 'new' variables
        read-cache: rename 'new' variables
        line-log: rename 'new' variables
        imap-send: rename 'new' variables
        http: rename 'new' variables
        entry: rename 'new' variables
        diffcore-delta: rename 'new' variables
        ...
      169c9c01
    • J
      Merge branch 'rs/strbuf-read-file-or-whine' · c14d5f99
      Junio C Hamano 提交于
      Code clean-up.
      
      * rs/strbuf-read-file-or-whine:
        sequencer: factor out strbuf_read_file_or_whine()
      c14d5f99
    • J
      Merge branch 'ms/non-ascii-ticks' · 327e524d
      Junio C Hamano 提交于
      Doc markup fix.
      
      * ms/non-ascii-ticks:
        Documentation/gitsubmodules.txt: avoid non-ASCII apostrophes
      327e524d