1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Git 2.10.0-RC0 发布 下载

Discussion in '软件资讯' started by 漂亮的石头, 2016-08-15.

  1. 漂亮的石头

    漂亮的石头 版主 Staff Member

    Joined:
    2012-02-10
    Messages:
    487,979
    Likes Received:
    47
    Git 2.10-RC0 发布了。

    主要更新如下:


    • "git pull --rebase --verify-signature" learned to warn the user that "--verify-signature" is a no-op when rebasing.


    • An upstream project can make a recommendation to shallowly clone some submodules in the .gitmodules file it ships.


    • "git worktree add" learned that '-' can be used as a short-hand for "@{-1}", the previous branch.


    • Update the funcname definition to support css files.


    • The completion script (in contrib/) learned to complete "git status" options.


    • Messages that are generated by auto gc during "git push" on the receiving end are now passed back to the sending end in such a way that they are shown with "remote: " prefix to avoid confusing the users.


    • "git add -i/-p" learned to honor diff.compactionHeuristic experimental knob, so that the user can work on the same hunk split as "git diff" output.

    Bug 修复


    • The commands in `git log` family take %C(auto) in a custom format string. This unconditionally turned the color on, ignoring --no-color or with --color=auto when the output is not connected to a tty; this was corrected to make the format truly behave as "auto".


    • "git rev-list --count" whose walk-length is limited with "-n" option did not work well with the counting optimized to look at the bitmap index.


    • "git show -W" (extend hunks to cover the entire function, delimited by lines that match the "funcname" pattern) used to show the entire file when a change added an entire function at the end of the file, which has been fixed.


    • The documentation set has been updated so that literal commands, configuration variables and environment variables are consistently typeset in fixed-width font and bold in manpages.


    • "git svn propset" subcommand that was added in 2.3 days is documented now.


    • The documentation tries to consistently spell "GPG"; when referring to the specific program name, "gpg" is used.


    • "git reflog" stopped upon seeing an entry that denotes a branch creation event (aka "unborn"), which made it appear as if the reflog was truncated.


    • The git-prompt scriptlet (in contrib/) was not friendly with those who uses "set -u", which has been fixed.


    • compat/regex code did not cleanly compile.

    详细更细列表:https://lkml.org/lkml/2016/8/14/835

    下载地址:

    Git 2.10.0-RC0 发布下载地址
     
Loading...