1. 15 3月, 2018 8 次提交
  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 18 次提交
    • 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
    • J
      Merge branch 'jk/test-helper-v-output-fix' · 148bce96
      Junio C Hamano 提交于
      Test framework update.
      
      * jk/test-helper-v-output-fix:
        t: send verbose test-helper output to fd 4
      148bce96
    • J
      Merge branch 'jk/cached-commit-buffer' · e33c3322
      Junio C Hamano 提交于
      Code clean-up.
      
      * jk/cached-commit-buffer:
        revision: drop --show-all option
        commit: drop uses of get_cached_commit_buffer()
      e33c3322
    • J
      Merge branch 'bw/doc-submodule-recurse-config-with-clone' · 96608043
      Junio C Hamano 提交于
      Doc update.
      
      * bw/doc-submodule-recurse-config-with-clone:
        submodule: indicate that 'submodule.recurse' doesn't apply to clone
      96608043
    • J
      Merge branch 'jc/allow-ff-merging-kept-tags' · f88590e6
      Junio C Hamano 提交于
      Since Git 1.7.9, "git merge" defaulted to --no-ff (i.e. even when
      the side branch being merged is a descendant of the current commit,
      create a merge commit instead of fast-forwarding) when merging a
      tag object.  This was appropriate default for integrators who pull
      signed tags from their downstream contributors, but caused an
      unnecessary merges when used by downstream contributors who
      habitually "catch up" their topic branches with tagged releases
      from the upstream.  Update "git merge" to default to --no-ff only
      when merging a tag object that does *not* sit at its usual place in
      refs/tags/ hierarchy, and allow fast-forwarding otherwise, to
      mitigate the problem.
      
      * jc/allow-ff-merging-kept-tags:
        merge: allow fast-forward when merging a tracked tag
      f88590e6
    • J
      Merge branch 'ab/simplify-perl-makefile' · f6557071
      Junio C Hamano 提交于
      Hotfix for a topic already in 'master'.
      
      * ab/simplify-perl-makefile:
        Makefile: generate Git(3pm) as dependency of the 'doc' and 'man' targets
      f6557071
    • J
      Merge branch 'pw/add-p-single' · 60f8b895
      Junio C Hamano 提交于
      "git add -p" used to offer "/" (look for a matching hunk) as a
      choice, even there was only one hunk, which has been corrected.
      Also the single-key help is now given only for keys that are
      enabled (e.g. help for '/' won't be shown when there is only one
      hunk).
      
      * pw/add-p-single:
        add -p: improve error messages
        add -p: only bind search key if there's more than one hunk
        add -p: only display help for active keys
      60f8b895
    • J
      Merge branch 'sg/t6300-modernize' · 44f2f3f9
      Junio C Hamano 提交于
      Test update.
      
      * sg/t6300-modernize:
        t6300-for-each-ref: fix "more than one quoting style" tests
      44f2f3f9
    • J
      Merge branch 'sb/color-h-cleanup' · f2fd27c6
      Junio C Hamano 提交于
      Devdoc update.
      
      * sb/color-h-cleanup:
        color.h: document and modernize header
      f2fd27c6
    • J
      Merge branch 'nd/rebase-show-current-patch' · 9ca488c0
      Junio C Hamano 提交于
      The new "--show-current-patch" option gives an end-user facing way
      to get the diff being applied when "git rebase" (and "git am")
      stops with a conflict.
      
      * nd/rebase-show-current-patch:
        rebase: introduce and use pseudo-ref REBASE_HEAD
        rebase: add --show-current-patch
        am: add --show-current-patch
      9ca488c0
    • J
      Merge branch 'xz/send-email-batch-size' · 2cd91ec1
      Junio C Hamano 提交于
      "git send-email" learned to complain when the batch-size option is
      not defined when the relogin-delay option is, since these two are
      mutually required.
      
      * xz/send-email-batch-size:
        send-email: error out when relogin delay is missing
      2cd91ec1
    • J
      Merge branch 'ab/fetch-prune' · c1a7902f
      Junio C Hamano 提交于
      Clarify how configured fetch refspecs interact with the "--prune"
      option of "git fetch", and also add a handy short-hand for getting
      rid of stale tags that are locally held.
      
      * ab/fetch-prune:
        fetch: make the --prune-tags work with <url>
        fetch: add a --prune-tags option and fetch.pruneTags config
        fetch tests: add scaffolding for the new fetch.pruneTags
        git-fetch & config doc: link to the new PRUNING section
        git remote doc: correct dangerous lies about what prune does
        git fetch doc: add a new section to explain the ins & outs of pruning
        fetch tests: fetch <url> <spec> as well as fetch [<remote>]
        fetch tests: expand case/esac for later change
        fetch tests: double quote a variable for interpolation
        fetch tests: test --prune and refspec interaction
        fetch tests: add a tag to be deleted to the pruning tests
        fetch tests: re-arrange arguments for future readability
        fetch tests: refactor in preparation for testing tag pruning
        remote: add a macro for "refs/tags/*:refs/tags/*"
        fetch: stop accessing "remote" variable indirectly
        fetch: trivially refactor assignment to ref_nr
        fetch: don't redundantly NULL something calloc() gave us
      c1a7902f
    • J
      Merge branch 'sm/mv-dry-run-update' · a4ae2e5a
      Junio C Hamano 提交于
      Code clean-up.
      
      * sm/mv-dry-run-update:
        mv: remove unneeded 'if (!show_only)'
        t7001: add test case for --dry-run
      a4ae2e5a