Git 2.8.2最近发布,Git是一个自由和开源的分布式版本控制系统,旨在应对从速度和效率从小到非常大的项目。 Git是简单易学,体积微小,快如闪电的性能。
Git 2.8.2更新日志
- The embedded args argv-array in the child process is used to build the command line to run pack-objects instead of using a separate array of strings.
- Bunch of tests on “git clone” has been renumbered for better organization.
- The tests that involve running httpd leaked the system-wide configuration in /etc/gitconfig to the tested environment.
- “index-pack –keep=<msg>” was broken since v2.1.0 timeframe.
- “git config –get-urlmatch”, unlike other variants of the “git config –get” family, did not signal error with its exit status when there was no matching configuration.
- The “–local-env-vars” and “–resolve-git-dir” options of “git rev-parse” failed to work outside a repository when the command’s option parsing was rewritten in 1.8.5 era.
- Fetching of history by naming a commit object name directly didn’t work across remote-curl transport.
- A small memory leak in an error codepath has been plugged in xdiff code.
- strbuf_getwholeline() did not NUL-terminate the buffer on certain corner cases in its error codepath.
- The startup_info data, which records if we are working inside a repository (among other things), are now uniformly available to Git subcommand implementations, and Git avoids attempting to touch references when we are not in a repository.
- “git mergetool” did not work well with conflicts that both sides deleted.
- “git send-email” had trouble parsing alias file in mailrc format when lines in it had trailing whitespaces on them.
- When “git merge –squash” stopped due to conflict, the concluding “git commit” failed to read in the SQUASH_MSG that shows the log messages from all the squashed commits.
- “git merge FETCH_HEAD” dereferenced NULL pointer when merging nothing into an unborn history (which is arguably unusual usage, which perhaps was the reason why nobody noticed it).
- Build updates for MSVC.
- “git diff -M” used to work better when two originally identical files A and B got renamed to X/A and X/B by pairing A to X/A and B to X/B, but this was broken in the 2.0 timeframe.
- “git send-pack –all <there>” was broken when its command line option parsing was written in the 2.6 timeframe.
- When running “git blame $path” with unnormalized data in the index for the path, the data in the working tree was blamed, even though “git add” would not have changed what is already in the index, due to “safe crlf” that disables the line-end conversion. It has been corrected.
Ubuntu Linux 系统安装GIT 2.8.2
sudo apt-add-repository ppa:git-core/ppa sudo apt-get update sudo apt-get install git
Git 教程系列文章:
GitHub 使用教程图文详解 http://www.linuxidc.com/Linux/2014-09/106230.htm
Git 标签管理详解 http://www.linuxidc.com/Linux/2014-09/106231.htm
Git 分支管理详解 http://www.linuxidc.com/Linux/2014-09/106232.htm
Git 远程仓库详解 http://www.linuxidc.com/Linux/2014-09/106233.htm
Git 本地仓库(Repository)详解 http://www.linuxidc.com/Linux/2014-09/106234.htm
Git 服务器搭建与客户端安装 http://www.linuxidc.com/Linux/2014-05/101830.htm
Git 概述 http://www.linuxidc.com/Linux/2014-05/101829.htm
分享实用的GitHub 使用教程 http://www.linuxidc.com/Linux/2014-04/100556.htm
Ubuntu下Git服务器的搭建与使用指南 http://www.linuxidc.com/Linux/2015-07/120617.htm
本文永久更新链接地址:http://www.linuxidc.com/Linux/2016-05/130954.htm
