1. 02 11月, 2018 18 次提交
    • J
      Merge branch 'mg/gpg-fingerprint' · 11cc180f
      Junio C Hamano 提交于
      New "--pretty=format:" placeholders %GF and %GP that show the GPG
      key fingerprints have been invented.
      
      * mg/gpg-fingerprint:
        gpg-interface.c: obtain primary key fingerprint as well
        gpg-interface.c: support getting key fingerprint via %GF format
        gpg-interface.c: use flags to determine key/signer info presence
      11cc180f
    • J
      Merge branch 'mg/gpg-parse-tighten' · 02561896
      Junio C Hamano 提交于
      Detect and reject a signature block that has more than one GPG
      signature.
      
      * mg/gpg-parse-tighten:
        gpg-interface.c: detect and reject multiple signatures on commits
      02561896
    • J
      Merge branch 'en/merge-cleanup-more' · ff8e25e9
      Junio C Hamano 提交于
      Further clean-up of merge-recursive machinery.
      
      * en/merge-cleanup-more:
        merge-recursive: avoid showing conflicts with merge branch before HEAD
        merge-recursive: improve auto-merging messages with path collisions
      ff8e25e9
    • J
      Eighth batch for 2.20 · d582ea20
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      d582ea20
    • J
      rebase: apply cocci patch · b17ca8f9
      Junio C Hamano 提交于
      Favor oideq() over !oidcmp() when checking for equality.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b17ca8f9
    • J
      Merge branch 'js/rebase-i-shortopt' · 85fcf1cb
      Junio C Hamano 提交于
      "git rebase -i" learned to take 'b' as the short form of 'break'
      option in the todo list.
      
      * js/rebase-i-shortopt:
        rebase -i: recognize short commands without arguments
      85fcf1cb
    • J
      Merge branch 'js/rebase-i-break' · 789b1f70
      Junio C Hamano 提交于
      "git rebase -i" learned a new insn, 'break', that the user can
      insert in the to-do list.  Upon hitting it, the command returns
      control back to the user.
      
      * js/rebase-i-break:
        rebase -i: introduce the 'break' command
        rebase -i: clarify what happens on a failed `exec`
      789b1f70
    • J
      Merge branch 'js/rebase-autostash-fix' · b78c5fe9
      Junio C Hamano 提交于
      "git rebase" that has recently been rewritten in C had a few issues
      in its "--autstash" feature, which have been corrected.
      
      * js/rebase-autostash-fix:
        rebase --autostash: fix issue with dirty submodules
        rebase --autostash: demonstrate a problem with dirty submodules
        rebase (autostash): use an explicit OID to apply the stash
        rebase (autostash): store the full OID in <state-dir>/autostash
        rebase (autostash): avoid duplicate call to state_dir_path()
      b78c5fe9
    • J
      Merge branch 'cb/printf-empty-format' · 9d322282
      Junio C Hamano 提交于
      Build fix for a topic in flight.
      
      * cb/printf-empty-format:
        sequencer: cleanup for gcc warning in non developer mode
      9d322282
    • J
      Merge branch 'jc/rebase-in-c-5-test-typofix' · 7ce32f72
      Junio C Hamano 提交于
      Typofix.
      
      * jc/rebase-in-c-5-test-typofix:
        rebase: fix typoes in error messages
      7ce32f72
    • J
      Merge branch 'pk/rebase-in-c-6-final' · ee5e9043
      Junio C Hamano 提交于
      The final step of rewriting "rebase -i" in C.
      
      * pk/rebase-in-c-6-final:
        rebase: default to using the builtin rebase
      ee5e9043
    • J
      Merge branch 'js/rebase-in-c-5.5-work-with-rebase-i-in-c' · 4b3517ee
      Junio C Hamano 提交于
      "rebase" that has been rewritten learns the new calling convention
      used by "rebase -i" that was rewritten in C, tying the loose end
      between two GSoC topics that stomped on each other's toes.
      
      * js/rebase-in-c-5.5-work-with-rebase-i-in-c:
        builtin rebase: prepare for builtin rebase -i
      4b3517ee
    • J
      Merge branch 'pk/rebase-in-c-5-test' · fd1a9e90
      Junio C Hamano 提交于
      Rewrite "git rebase" in C.
      
      * pk/rebase-in-c-5-test:
        builtin rebase: error out on incompatible option/mode combinations
        builtin rebase: use no-op editor when interactive is "implied"
        builtin rebase: show progress when connected to a terminal
        builtin rebase: fast-forward to onto if it is a proper descendant
        builtin rebase: optionally pass custom reflogs to reset_head()
        builtin rebase: optionally auto-detect the upstream
      fd1a9e90
    • J
      Merge branch 'pk/rebase-in-c-4-opts' · 02931217
      Junio C Hamano 提交于
      Rewrite "git rebase" in C.
      
      * pk/rebase-in-c-4-opts:
        builtin rebase: support --root
        builtin rebase: add support for custom merge strategies
        builtin rebase: support `fork-point` option
        merge-base --fork-point: extract libified function
        builtin rebase: support --rebase-merges[=[no-]rebase-cousins]
        builtin rebase: support `--allow-empty-message` option
        builtin rebase: support `--exec`
        builtin rebase: support `--autostash` option
        builtin rebase: support `-C` and `--whitespace=<type>`
        builtin rebase: support `--gpg-sign` option
        builtin rebase: support `--autosquash`
        builtin rebase: support `keep-empty` option
        builtin rebase: support `ignore-date` option
        builtin rebase: support `ignore-whitespace` option
        builtin rebase: support --committer-date-is-author-date
        builtin rebase: support --rerere-autoupdate
        builtin rebase: support --signoff
        builtin rebase: allow selecting the rebase "backend"
      02931217
    • J
      Merge branch 'pk/rebase-in-c-3-acts' · 39f73315
      Junio C Hamano 提交于
      Rewrite "git rebase" in C.
      
      * pk/rebase-in-c-3-acts:
        builtin rebase: stop if `git am` is in progress
        builtin rebase: actions require a rebase in progress
        builtin rebase: support --edit-todo and --show-current-patch
        builtin rebase: support --quit
        builtin rebase: support --abort
        builtin rebase: support --skip
        builtin rebase: support --continue
      39f73315
    • J
      Merge branch 'pk/rebase-in-c-2-basic' · e0720a38
      Junio C Hamano 提交于
      Rewrite "git rebase" in C.
      
      * pk/rebase-in-c-2-basic:
        builtin rebase: support `git rebase <upstream> <switch-to>`
        builtin rebase: only store fully-qualified refs in `options.head_name`
        builtin rebase: start a new rebase only if none is in progress
        builtin rebase: support --force-rebase
        builtin rebase: try to fast forward when possible
        builtin rebase: require a clean worktree
        builtin rebase: support the `verbose` and `diffstat` options
        builtin rebase: support --quiet
        builtin rebase: handle the pre-rebase hook and --no-verify
        builtin rebase: support `git rebase --onto A...B`
        builtin rebase: support --onto
      e0720a38
    • J
      Merge branch 'ag/rebase-i-in-c' · b49ef560
      Junio C Hamano 提交于
      Rewrite of the remaining "rebase -i" machinery in C.
      
      * ag/rebase-i-in-c:
        rebase -i: move rebase--helper modes to rebase--interactive
        rebase -i: remove git-rebase--interactive.sh
        rebase--interactive2: rewrite the submodes of interactive rebase in C
        rebase -i: implement the main part of interactive rebase as a builtin
        rebase -i: rewrite init_basic_state() in C
        rebase -i: rewrite write_basic_state() in C
        rebase -i: rewrite the rest of init_revisions_and_shortrevisions() in C
        rebase -i: implement the logic to initialize $revisions in C
        rebase -i: remove unused modes and functions
        rebase -i: rewrite complete_action() in C
        t3404: todo list with commented-out commands only aborts
        sequencer: change the way skip_unnecessary_picks() returns its result
        sequencer: refactor append_todo_help() to write its message to a buffer
        rebase -i: rewrite checkout_onto() in C
        rebase -i: rewrite setup_reflog_action() in C
        sequencer: add a new function to silence a command, except if it fails
        rebase -i: rewrite the edit-todo functionality in C
        editor: add a function to launch the sequence editor
        rebase -i: rewrite append_todo_help() in C
        sequencer: make three functions and an enum from sequencer.c public
      b49ef560
    • J
      Merge branch 'pk/rebase-in-c' · 5ae50845
      Junio C Hamano 提交于
      Rewrite of the "rebase" machinery in C.
      
      * pk/rebase-in-c:
        builtin/rebase: support running "git rebase <upstream>"
        rebase: refactor common shell functions into their own file
        rebase: start implementing it as a builtin
      5ae50845
  2. 30 10月, 2018 22 次提交
    • J
      Seventh batch for 2.20 · 4ede3d42
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4ede3d42
    • J
      Merge branch 'jk/uploadpack-packobjectshook-fix' · 32d5d732
      Junio C Hamano 提交于
      Code clean-up that results in a small bugfix.
      
      * jk/uploadpack-packobjectshook-fix:
        upload-pack: fix broken if/else chain in config callback
      32d5d732
    • J
      Merge branch 'uk/merge-subtree-doc-update' · 5d8b3e5d
      Junio C Hamano 提交于
      Belated documentation update to adjust to a new world order that
      happened a yew years ago.
      
      * uk/merge-subtree-doc-update:
        howto/using-merge-subtree: mention --allow-unrelated-histories
      5d8b3e5d
    • J
      Merge branch 'cb/compat-mmap-is-private-read-only' · a70d7827
      Junio C Hamano 提交于
      Code tightening.
      
      * cb/compat-mmap-is-private-read-only:
        compat: make sure git_mmap is not expected to write
      a70d7827
    • J
      Merge branch 'dl/mergetool-gui-option' · 87c15d1c
      Junio C Hamano 提交于
      "git mergetool" learned to take the "--[no-]gui" option, just like
      "git difftool" does.
      
      * dl/mergetool-gui-option:
        doc: document diff/merge.guitool config keys
        completion: support `git mergetool --[no-]gui`
        mergetool: accept -g/--[no-]gui as arguments
      87c15d1c
    • J
      Merge branch 'js/mingw-load-sys-dll' · 97ffca6c
      Junio C Hamano 提交于
      The way DLLs are loaded on the Windows port has been improved.
      
      * js/mingw-load-sys-dll:
        mingw: load system libraries the recommended way
      97ffca6c
    • J
      Merge branch 'js/mingw-getcwd' · cc674872
      Junio C Hamano 提交于
      The way the Windows port figures out the current directory has been
      improved.
      
      * js/mingw-getcwd:
        mingw: fix getcwd when the parent directory cannot be queried
        mingw: ensure `getcwd()` reports the correct case
      cc674872
    • J
      Merge branch 'cb/khash-maybe-unused-function' · d1622fdb
      Junio C Hamano 提交于
      Build fix.
      
      * cb/khash-maybe-unused-function:
        khash: silence -Wunused-function for delta-islands
        commit-slabs: move MAYBE_UNUSED out
      d1622fdb
    • J
      Merge branch 'jc/cocci-preincr' · da3e0752
      Junio C Hamano 提交于
      Code cleanup.
      
      * jc/cocci-preincr:
        fsck: s/++i > 1/i++/
        cocci: simplify "if (++u > 1)" to "if (u++)"
      da3e0752
    • J
      Merge branch 'ss/rename-tests' · 67224b7b
      Junio C Hamano 提交于
      Reorganize some tests and rename them; "ls t/" now gives a better
      overview of what is tested for these scripts than before.
      
      * ss/rename-tests:
        t7501: rename commit test to comply with naming convention
        t7500: rename commit tests script to comply with naming convention
        t7502: rename commit test script to comply with naming convention
        t7509: cleanup description and filename
        t2000: rename and combine checkout clash tests
      67224b7b
    • J
      Merge branch 'ah/doc-updates' · 90d228b0
      Junio C Hamano 提交于
      Doc updates.
      
      * ah/doc-updates:
        doc: fix formatting in git-update-ref
        doc: fix indentation of listing blocks in gitweb.conf.txt
        doc: fix descripion for 'git tag --format'
        doc: fix inappropriate monospace formatting
        doc: fix ASCII art tab spacing
        doc: clarify boundaries of 'git worktree list --porcelain'
      90d228b0
    • J
      Merge branch 'ds/reachable' · f2d1c83d
      Junio C Hamano 提交于
      Trivial bugfix.
      
      * ds/reachable:
        commit-reach: fix cast in compare_commits_by_gen()
      f2d1c83d
    • J
      Merge branch 'jc/receive-deny-current-branch-fix' · 4c7f5440
      Junio C Hamano 提交于
      The receive.denyCurrentBranch=updateInstead codepath kicked in even
      when the push should have been rejected due to other reasons, such
      as it does not fast-forward or the update-hook rejects it, which
      has been corrected.
      
      * jc/receive-deny-current-branch-fix:
        receive: denyCurrentBranch=updateinstead should not blindly update
      4c7f5440
    • J
      Merge branch 'ds/ci-commit-graph-and-midx' · 5742ba50
      Junio C Hamano 提交于
      One of our CI tests to run with "unusual/experimental/random"
      settings now also uses commit-graph and midx.
      
      * ds/ci-commit-graph-and-midx:
        ci: add optional test variables
      5742ba50
    • J
      Merge branch 'jk/unused-function' · c5cde07a
      Junio C Hamano 提交于
      Developer support.
      
      * jk/unused-function:
        config.mak.dev: enable -Wunused-function
      c5cde07a
    • J
      Merge branch 'cb/remove-dead-init' · 48542e32
      Junio C Hamano 提交于
      Code clean-up.
      
      * cb/remove-dead-init:
        multi-pack-index: avoid dead store for struct progress
        unpack-trees: avoid dead store for struct progress
      48542e32
    • J
      Merge branch 'js/diff-notice-has-drive-prefix' · 99499e22
      Junio C Hamano 提交于
      Under certain circumstances, "git diff D:/a/b/c D:/a/b/d" on
      Windows would strip initial parts from the paths because they
      were not recognized as absolute, which has been corrected.
      
      * js/diff-notice-has-drive-prefix:
        diff: don't attempt to strip prefix from absolute Windows paths
      99499e22
    • J
      Merge branch 'ot/ref-filter-plug-leaks' · 9d00100c
      Junio C Hamano 提交于
      Plugging a handful of memory leaks in the ref-filter codepath.
      
      * ot/ref-filter-plug-leaks:
        ref-filter: free item->value and item->value->s
        ls-remote: release memory instead of UNLEAK
        ref-filter: free memory from used_atom
      9d00100c
    • J
      Merge branch 'ds/reachable-first-parent-fix' · 68fa2ebd
      Junio C Hamano 提交于
      Correct performance regression in commit ancestry computation when
      generation numbers are involved.
      
      * ds/reachable-first-parent-fix:
        commit-reach: fix first-parent heuristic
      68fa2ebd
    • J
      Merge branch 'rj/header-guards' · 0a1006c5
      Junio C Hamano 提交于
      Code clean-up.
      
      * rj/header-guards:
        headers: normalize the spelling of some header guards
      0a1006c5
    • J
      Merge branch 'jk/test-tool-help' · 11914675
      Junio C Hamano 提交于
      Developer support.
      
      * jk/test-tool-help:
        test-tool: show tool list on error
      11914675
    • J
      Merge branch 'sg/doc-show-branch-typofix' · 4b73fdae
      Junio C Hamano 提交于
      Docfix.
      
      * sg/doc-show-branch-typofix:
        doc: fix small typo in git show-branch
      4b73fdae