1. 04 9月, 2020 13 次提交
    • J
      Merge branch 'jc/post-checkout-doc' · 2f1757e6
      Junio C Hamano 提交于
      Doc update.
      
      * jc/post-checkout-doc:
        doc: clarify how exit status of post-checkout hook is used
      2f1757e6
    • J
      Merge branch 'pb/doc-sequence-editor-configuration' · ed9d8331
      Junio C Hamano 提交于
      Doc update.
      
      * pb/doc-sequence-editor-configuration:
        doc: mention GIT_SEQUENCE_EDITOR and 'sequence.editor' more
      ed9d8331
    • J
      Merge branch 'hl/bisect-doc-clarify-bad-good-ordering' · da6b99c3
      Junio C Hamano 提交于
      Doc update.
      
      * hl/bisect-doc-clarify-bad-good-ordering:
        bisect: swap command-line options in documentation
      da6b99c3
    • J
      Merge branch 'so/pretty-abbrev-doc' · b720ad26
      Junio C Hamano 提交于
      Documentation update for "--no-abbrev-commit".
      
      * so/pretty-abbrev-doc:
        pretty-options.txt: fix --no-abbrev-commit description
      b720ad26
    • J
      Merge branch 'mr/diff-hide-stat-wo-textual-change' · b58e47a9
      Junio C Hamano 提交于
      "git diff --stat -w" showed 0-line changes for paths whose changes
      were only whitespaces, which was not intuitive.  We now omit such
      paths from the stat output.
      
      * mr/diff-hide-stat-wo-textual-change:
        diff: teach --stat to ignore uninteresting modifications
      b58e47a9
    • J
      Merge branch 'jt/lazy-fetch' · b4100f36
      Junio C Hamano 提交于
      Updates to on-demand fetching code in lazily cloned repositories.
      
      * jt/lazy-fetch:
        fetch: no FETCH_HEAD display if --no-write-fetch-head
        fetch-pack: remove no_dependents code
        promisor-remote: lazy-fetch objects in subprocess
        fetch-pack: do not lazy-fetch during ref iteration
        fetch: only populate existing_refs if needed
        fetch: avoid reading submodule config until needed
        fetch: allow refspecs specified through stdin
        negotiator/noop: add noop fetch negotiator
      b4100f36
    • J
      Merge branch 'jc/run-command-use-embedded-args' · 3f02c0ad
      Junio C Hamano 提交于
      Various callers of run_command API has been modernized.
      
      * jc/run-command-use-embedded-args:
        run_command: teach API users to use embedded 'args' more
      3f02c0ad
    • J
      Merge branch 'jc/undash-in-tree-git-callers' · 18aff08e
      Junio C Hamano 提交于
      A handful of places in in-tree code still relied on being able to
      execute the git subcommands, especially built-ins, in "git-foo"
      form, which have been corrected.
      
      * jc/undash-in-tree-git-callers:
        credential-cache: use child_process.args
        cvsexportcommit: do not run git programs in dashed form
        transport-helper: do not run git-remote-ext etc. in dashed form
      18aff08e
    • J
      Merge branch 'jk/slimmed-down' · afd49c39
      Junio C Hamano 提交于
      Trim an unused binary and turn a bunch of commands into built-in.
      
      * jk/slimmed-down:
        drop vcs-svn experiment
        make git-fast-import a builtin
        make git-bugreport a builtin
        make credential helpers builtins
        Makefile: drop builtins from MSVC pdb list
      afd49c39
    • J
      Merge branch 'pw/add-p-allowed-options-fix' · cce5178c
      Junio C Hamano 提交于
      "git add -p" update.
      
      * pw/add-p-allowed-options-fix:
        add -p: fix checking of user input
        add -p: use ALLOC_GROW_BY instead of ALLOW_GROW
      cce5178c
    • J
      Merge branch 'jt/fetch-pack-loosen-validation-with-packfile-uri' · bdccf5e0
      Junio C Hamano 提交于
      Bugfix for "git fetch" when the packfile URI capability is in use.
      
      * jt/fetch-pack-loosen-validation-with-packfile-uri:
        fetch-pack: make packfile URIs work with transfer.fsckobjects
        fetch-pack: document only_packfile in get_pack()
        (various): document from_promisor parameter
      bdccf5e0
    • J
      Merge branch 'ss/t7401-modernize' · 3cbff011
      Junio C Hamano 提交于
      Test clean-up.
      
      * ss/t7401-modernize:
        t7401: add a NEEDSWORK
        t7401: change indentation for enhanced readability
        t7401: change syntax of test_i18ncmp calls for clarity
        t7401: use 'short' instead of 'verify' and cut in rev-parse calls
        t7401: modernize style
      3cbff011
    • J
      Merge branch 'pw/rebase-i-more-options' · 9c31b19d
      Junio C Hamano 提交于
      "git rebase -i" learns a bit more options.
      
      * pw/rebase-i-more-options:
        t3436: do not run git-merge-recursive in dashed form
        rebase: add --reset-author-date
        rebase -i: support --ignore-date
        rebase -i: support --committer-date-is-author-date
        am: stop exporting GIT_COMMITTER_DATE
        rebase -i: add --ignore-whitespace flag
      9c31b19d
  2. 03 9月, 2020 1 次提交
    • J
      fetch: no FETCH_HEAD display if --no-write-fetch-head · db3c293e
      Jonathan Tan 提交于
      887952b8 ("fetch: optionally allow disabling FETCH_HEAD update",
      2020-08-18) introduced the ability to disable writing to FETCH_HEAD
      during fetch, but did not suppress the "<source> -> FETCH_HEAD" message
      when this ability is used. This message is misleading in this case,
      because FETCH_HEAD is not written. Also, because "fetch" is used to
      lazy-fetch missing objects in a partial clone, this significantly
      clutters up the output in that case since the objects to be fetched are
      potentially numerous.
      
      Therefore, suppress this message when --no-write-fetch-head is passed
      (but not when --dry-run is set).
      Signed-off-by: NJonathan Tan <jonathantanmy@google.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      db3c293e
  3. 01 9月, 2020 15 次提交
    • J
      Twelfth batch · e1971363
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e1971363
    • J
      Merge branch 'ps/ref-transaction-hook' · 6ddd76fd
      Junio C Hamano 提交于
      Code simplification by removing ineffective optimization.
      
      * ps/ref-transaction-hook:
        refs: remove lookup cache for reference-transaction hook
      6ddd76fd
    • J
      Merge branch 'jk/rev-input-given-fix' · cacab0c8
      Junio C Hamano 提交于
      Feeding "$ZERO_OID" to "git log --ignore-missing --stdin", and
      running "git log --ignore-missing $ZERO_OID" fell back to start
      digging from HEAD; it has been corrected to become a no-op, like
      "git log --tags=no-tag-matches-this-pattern" does.
      
      * jk/rev-input-given-fix:
        revision: set rev_input_given in handle_revision_arg()
      cacab0c8
    • J
      Merge branch 'jc/ident-whose-ident' · e9bd00ab
      Junio C Hamano 提交于
      Error message update.
      
      * jc/ident-whose-ident:
        ident: say whose identity is missing when giving user.name hint
      e9bd00ab
    • J
      Merge branch 'rp/apply-cached-doc' · 1393f56f
      Junio C Hamano 提交于
      The description of --cached/--index options in "git apply --help"
      has been updated.
      
      * rp/apply-cached-doc:
        git-apply.txt: update descriptions of --cached, --index
      1393f56f
    • J
      Merge branch 'rs/checkout-no-overlay-pathspec-fix' · c57afd73
      Junio C Hamano 提交于
      "git restore/checkout --no-overlay" with wildcarded pathspec
      mistakenly removed matching paths in subdirectories, which has been
      corrected.
      
      * rs/checkout-no-overlay-pathspec-fix:
        checkout, restore: make pathspec recursive
      c57afd73
    • J
      Merge branch 'al/bisect-first-parent' · b9ccc5e2
      Junio C Hamano 提交于
      Finishing touches.
      
      * al/bisect-first-parent:
        bisect: add first-parent option to documentation
      b9ccc5e2
    • J
      Merge branch 'jk/refspecs-cleanup' · cca424ba
      Junio C Hamano 提交于
      Preliminary code clean-up before introducing "negative refspec".
      
      * jk/refspecs-cleanup:
        refspec: make sure stack refspec_item variables are zeroed
        refspec: fix documentation referring to refspec_item
      cca424ba
    • J
      Merge branch 'hn/refs-pseudorefs' · e699684c
      Junio C Hamano 提交于
      Accesses to two pseudorefs have been updated to properly use ref
      API.
      
      * hn/refs-pseudorefs:
        sequencer: treat REVERT_HEAD as a pseudo ref
        builtin/commit: suggest update-ref for pseudoref removal
        sequencer: treat CHERRY_PICK_HEAD as a pseudo ref
        refs: make refs_ref_exists public
      e699684c
    • J
      Merge branch 'jk/index-pack-w-more-threads' · 53015c9d
      Junio C Hamano 提交于
      Long ago, we decided to use 3 threads by default when running the
      index-pack task in parallel, which has been adjusted a bit upwards.
      
      * jk/index-pack-w-more-threads:
        index-pack: adjust default threading cap
        p5302: count up to online-cpus for thread tests
        p5302: disable thread-count parameter tests by default
      53015c9d
    • J
      Merge branch 'hv/ref-filter-trailers-atom-parsing-fix' · e1772384
      Junio C Hamano 提交于
      The parser for "git for-each-ref --format=..." was too loose when
      parsing the "%(trailers...)" atom, and forgot that "trailers" and
      "trailers:<modifiers>" are the only two allowed forms, which has
      been corrected.
      
      * hv/ref-filter-trailers-atom-parsing-fix:
        ref-filter: 'contents:trailers' show error if `:` is missing
        t6300: unify %(trailers) and %(contents:trailers) tests
      e1772384
    • J
      Merge branch 'jt/promisor-pack-fix' · 63728e48
      Junio C Hamano 提交于
      Updates into a lazy/partial clone with a submodule did not work
      well with transfer.fsckobjects set.
      
      * jt/promisor-pack-fix:
        fetch-pack: in partial clone, pass --promisor
      63728e48
    • J
      Merge branch 'dd/diff-customize-index-line-abbrev' · 096c948d
      Junio C Hamano 提交于
      The output from the "diff" family of the commands had abbreviated
      object names of blobs involved in the patch, but its length was not
      affected by the --abbrev option.  Now it is.
      
      * dd/diff-customize-index-line-abbrev:
        diff: index-line: respect --abbrev in object's name
        t4013: improve diff-post-processor logic
      096c948d
    • J
      Merge branch 'am/ci-wsfix' · 1a753720
      Junio C Hamano 提交于
      Aesthetic fix to a CI configuration file.
      
      * am/ci-wsfix:
        ci: fix inconsistent indentation
      1a753720
    • P
      doc: mention GIT_SEQUENCE_EDITOR and 'sequence.editor' more · 902a126e
      Philippe Blain 提交于
      The environment variable `GIT_SEQUENCE_EDITOR`, and the configuration
      variable 'sequence.editor', which were added in 821881d8 ("rebase -i":
      support special-purpose editor to edit insn sheet, 2011-10-17), are
      mentioned in the `git config` man page but not anywhere else.
      
      Include `config/sequencer.txt` in `git-rebase.txt`, so that both the
      environment variable and the configuration setting are mentioned there.
      
      Also, add `GIT_SEQUENCE_EDITOR` to the list of environment variables
      in `git(1)`.
      Signed-off-by: NPhilippe Blain <levraiphilippeblain@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      902a126e
  4. 29 8月, 2020 2 次提交
  5. 28 8月, 2020 6 次提交
    • J
      doc: clarify how exit status of post-checkout hook is used · 3100fd55
      Junio C Hamano 提交于
      Because the hook runs after the main checkout operation finishes, it
      cannot affect what branch will be the current branch, what paths are
      updated in the working tree, etc., which was described as "cannot
      affect the outcome of 'checkout'".
      
      However, the exit status of the hook is used as the exit status of
      the 'checkout' command and is observable by anybody who spawned the
      'checkout', which was missing from the documentation.  Fix this.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3100fd55
    • J
      Eleventh batch · 20de7e7e
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      20de7e7e
    • J
      Merge branch 'hn/refs-fetch-head-is-special' · 98df75b2
      Junio C Hamano 提交于
      The FETCH_HEAD is now always read from the filesystem regardless of
      the ref backend in use, as its format is much richer than the
      normal refs, and written directly by "git fetch" as a plain file..
      
      * hn/refs-fetch-head-is-special:
        refs: read FETCH_HEAD and MERGE_HEAD generically
        refs: move gitdir into base ref_store
        refs: fix comment about submodule ref_stores
        refs: split off reading loose ref data in separate function
      98df75b2
    • J
      Merge branch 'rz/complete-more-options' · bd3ae9fb
      Junio C Hamano 提交于
      Command line completion (in contrib/) usually omits redundant,
      deprecated and/or dangerous options from its output; it learned to
      optionally include all of them.
      
      * rz/complete-more-options:
        completion: add GIT_COMPLETION_SHOW_ALL env var
        parse-options: add --git-completion-helper-all
      bd3ae9fb
    • J
      Merge branch 'jk/leakfix' · 0d9a8e33
      Junio C Hamano 提交于
      Code clean-up.
      
      * jk/leakfix:
        submodule--helper: fix leak of core.worktree value
        config: fix leak in git_config_get_expiry_in_days()
        config: drop git_config_get_string_const()
        config: fix leaks from git_config_get_string_const()
        checkout: fix leak of non-existent branch names
        submodule--helper: use strbuf_release() to free strbufs
        clear_pattern_list(): clear embedded hashmaps
      0d9a8e33
    • J
      Merge branch 'en/mem-pool' · edab8a8d
      Junio C Hamano 提交于
      API update.
      
      * en/mem-pool:
        mem-pool: use consistent pool variable name
        mem-pool: use more standard initialization and finalization
        mem-pool: add convenience functions for strdup and strndup
      edab8a8d
  6. 27 8月, 2020 3 次提交