1GIT v1.5.4 Release Notes2========================34Removal5-------67* "git svnimport" was removed in favor of "git svn". It is still there8in the source tree (contrib/examples) but unsupported.910* As git-commit and git-status have been rewritten, "git runstatus"11helper script lost all its users and has been removed.121314Temporarily Disabled15--------------------1617* "git http-push" is known not to work well with cURL library older18than 7.16, and we had reports of repository corruption. It is19disabled on such platforms for now. Unfortunately, 1.5.3.8 shares20the same issue. In other words, this does not mean you will be21fine if you stick to an older git release. For now, please do not22use http-push from older git with cURL older than 7.16 if you23value your data. A proper fix will hopefully materialize in24later versions.252627Deprecation notices28-------------------2930* The next feature release of git (this change is scheduled for v1.6.0)31will by default install dashed form of commands (e.g. "git-commit")32outside of users' normal $PATH, and will install only selected33commands ("git" itself, and "gitk") in $PATH. This implies:3435- Using dashed forms of git commands (e.g. "git-commit") from the36command line has been informally deprecated since early 2006, but37now it officially is, and will be removed in the future. Use38dashless forms (e.g. "git commit") instead.3940- Using dashed forms from your scripts, without first prepending the41return value from "git --exec-path" to the scripts' PATH, has been42informally deprecated since early 2006, but now it officially is.4344- Use of dashed forms with "PATH=$(git --exec-path):$PATH; export45PATH" early in your script is not deprecated with this change.4647Users are strongly encouraged to adjust their habits and scripts now48to prepare for this.4950* The post-receive hook was introduced in March 2007 to supersede51the post-update hook, primarily to overcome the command line length52limitation of the latter. Use of post-update hook will be deprecated53in future versions of git, starting from v1.6.0.5455* "git lost-found" was deprecated in favor of "git fsck"'s --lost-found56option, and will be removed in the future.5758* "git peek-remote" is deprecated, as "git ls-remote" was written in C59and works for all transports; "git peek-remote" will be removed in60the future.6162* "git repo-config" which was an old name for "git config" command63has been supported without being advertised for a long time. The64next feature release will remove it.6566* From v1.6.0, the repack.usedeltabaseoffset config option will default67to true, which will give denser packfiles (i.e. more efficient storage).68The downside is that git older than version 1.4.4 will not be able69to directly use a repository packed using this setting.7071* From v1.6.0, the pack.indexversion config option will default to 2,72which is slightly more efficient, and makes repacking more immune to73data corruptions. Git older than version 1.5.2 may revert to version 174of the pack index with a manual "git index-pack" to be able to directly75access corresponding pack files.767778Updates since v1.5.379--------------------8081* Comes with much improved gitk, with i18n.8283* Comes with "git gui" 0.9.1 with i18n.8485* gitk is now merged as a subdirectory of git.git project, in86preparation for its i18n.8788* progress displays from many commands are a lot nicer to the eye.89Transfer commands show throughput data.9091* many commands that pay attention to per-directory .gitignore now do92so lazily, which makes the usual case go much faster.9394* Output processing for '--pretty=format:<user format>' has been95optimized.9697* Rename detection of diff family while detecting exact matches has98been greatly optimized.99100* Rename detection of diff family tries to make more natural looking101pairing. Earlier, if multiple identical rename sources were102found in the preimage, the source used was picked pretty much at random.103104* Value "true" for color.diff and color.status configuration used to105mean "always" (even when the output is not going to a terminal).106This has been corrected to mean the same thing as "auto".107108* "git diff" Porcelain now respects diff.external configuration, which109is another way to specify GIT_EXTERNAL_DIFF.110111* "git diff" can be told to use different prefixes other than112"a/" and "b/" e.g. "git diff --src-prefix=l/ --dst-prefix=k/".113114* "git diff" sometimes did not quote paths with funny115characters properly.116117* "git log" (and any revision traversal commands) misbehaved118when --diff-filter is given but was not asked to actually119produce diff.120121* HTTP proxy can be specified per remote repository using122remote.*.httpproxy configuration, or global http.proxy configuration123variable.124125* Various Perforce importer updates.126127* Example update and post-receive hooks have been improved.128129* Any command that wants to take a commit object name can now use130":/string" syntax to name a commit.131132* "git reset" is now built-in and its output can be squelched with -q.133134* "git reset --hard" does not make any sense in a bare135repository, but did not error out; fixed.136137* "git send-email" can optionally talk over ssmtp and use SMTP-AUTH.138139* "git rebase" learned --whitespace option.140141* In "git rebase", when you decide not to replay a particular change142after the command stopped with a conflict, you can say "git rebase143--skip" without first running "git reset --hard", as the command now144runs it for you.145146* "git rebase --interactive" mode can now work on detached HEAD.147148* Other minor to serious bugs in "git rebase -i" have been fixed.149150* "git rebase" now detaches head during its operation, so after a151successful "git rebase" operation, the reflog entry branch@{1} for152the current branch points at the commit before the rebase was153started.154155* "git rebase -i" also triggers rerere to help your repeated merges.156157* "git merge" can call the "post-merge" hook.158159* "git pack-objects" can optionally run deltification with multiple160threads.161162* "git archive" can optionally substitute keywords in files marked with163export-subst attribute.164165* "git cherry-pick" made a misguided attempt to repeat the original166command line in the generated log message, when told to cherry-pick a167commit by naming a tag that points at it. It does not anymore.168169* "git for-each-ref" learned %(xxxdate:<dateformat>) syntax to show the170various date fields in different formats.171172* "git gc --auto" is a low-impact way to automatically run a variant of173"git repack" that does not lose unreferenced objects (read: safer174than the usual one) after the user accumulates too many loose175objects.176177* "git clean" has been rewritten in C.178179* You need to explicitly set clean.requireForce to "false" to allow180"git clean" without -f to do any damage (lack of the configuration181variable used to mean "do not require -f option to lose untracked182files", but we now use the safer default).183184* The kinds of whitespace errors "git diff" and "git apply" notice (and185fix) can be controlled via 'core.whitespace' configuration variable186and 'whitespace' attribute in .gitattributes file.187188* "git push" learned --dry-run option to show what would happen if a189push is run.190191* "git push" does not update a tracking ref on the local side when the192remote refused to update the corresponding ref.193194* "git push" learned --mirror option. This is to push the local refs195one-to-one to the remote, and deletes refs from the remote that do196not exist anymore in the repository on the pushing side.197198* "git push" can remove a corrupt ref at the remote site with the usual199":ref" refspec.200201* "git remote" knows --mirror mode. This is to set up configuration to202push into a remote repository to store local branch heads to the same203branch on the remote side, and remove branch heads locally removed204from local repository at the same time. Suitable for pushing into a205back-up repository.206207* "git remote" learned "rm" subcommand.208209* "git cvsserver" can be run via "git shell". Also, "cvs" is210recognized as a synonym for "git cvsserver", so that CVS users211can be switched to git just by changing their login shell.212213* "git cvsserver" acts more like receive-pack by running post-receive214and post-update hooks.215216* "git am" and "git rebase" are far less verbose.217218* "git pull" learned to pass --[no-]ff option to underlying "git219merge".220221* "git pull --rebase" is a different way to integrate what you fetched222into your current branch.223224* "git fast-export" produces datastream that can be fed to fast-import225to reproduce the history recorded in a git repository.226227* "git add -i" takes pathspecs to limit the set of files to work on.228229* "git add -p" is a short-hand to go directly to the selective patch230subcommand in the interactive command loop and to exit when done.231232* "git add -i" UI has been colorized. The interactive prompt233and menu can be colored by setting color.interactive234configuration. The diff output (including the hunk picker)235are colored with color.diff configuration.236237* "git commit --allow-empty" allows you to create a single-parent238commit that records the same tree as its parent, overriding the usual239safety valve.240241* "git commit --amend" can amend a merge that does not change the tree242from its first parent.243244* "git commit" used to unconditionally strip comment lines that245began with '#' and removed excess blank lines. This246behaviour has been made configurable.247248* "git commit" has been rewritten in C.249250* "git stash random-text" does not create a new stash anymore. It was251a UI mistake. Use "git stash save random-text", or "git stash"252(without extra args) for that.253254* "git stash clear extra-text" does not clear the whole stash255anymore. It is tempting to expect "git stash clear stash@{2}"256to drop only a single named stash entry, and it is rude to257discard everything when that is asked (but not provided).258259* "git prune --expire <time>" can exempt young loose objects from260getting pruned.261262* "git branch --contains <commit>" can list branches that are263descendants of a given commit.264265* "git log" learned --early-output option to help interactive GUI266implementations.267268* "git bisect" learned "skip" action to mark untestable commits.269270* "git bisect visualize" learned a shorter synonym "git bisect view".271272* "git bisect visualize" runs "git log" in a non-windowed273environments. It also can be told what command to run (e.g. "git274bisect visualize tig").275276* "git format-patch" learned "format.numbered" configuration variable277to automatically turn --numbered option on when more than one commits278are formatted.279280* "git ls-files" learned "--exclude-standard" to use the canned set of281exclude files.282283* "git tag -a -f existing" begins the editor session using the existing284annotation message.285286* "git tag -m one -m bar" (multiple -m options) behaves similarly to287"git commit"; the parameters to -m options are formatted as separate288paragraphs.289290* The format "git show" outputs an annotated tag has been updated to291include "Tagger: " and "Date: " lines from the tag itself. Strictly292speaking this is a backward incompatible change, but this is a293reasonable usability fix and people's scripts shouldn't have been294relying on the exact output from "git show" Porcelain anyway.295296* "git cvsimport" did not notice errors from underlying "cvsps"297and produced a corrupt import silently.298299* "git cvsexportcommit" learned -w option to specify and switch to the300CVS working directory.301302* "git checkout" from a subdirectory learned to use "../path" to allow303checking out a path outside the current directory without cd'ing up.304305* "git checkout" from and to detached HEAD leaves a bit more306information in the reflog.307308* "git send-email --dry-run" shows full headers for easier diagnosis.309310* "git merge-ours" is now built-in.311312* "git svn" learned "info" and "show-externals" subcommands.313314* "git svn" run from a subdirectory failed to read settings from the315.git/config.316317* "git svn" learned --use-log-author option, which picks up more318descriptive name from From: and Signed-off-by: lines in the commit319message.320321* "git svn" wasted way too much disk to record revision mappings322between svn and git; a new representation that is much more compact323for this information has been introduced to correct this.324325* "git svn" left temporary index files it used without cleaning them326up; this was corrected.327328* "git status" from a subdirectory now shows relative paths, which329makes copy-and-pasting for git-checkout/git-add/git-rm easier. The330traditional behaviour to show the full path relative to the top of331the work tree can be had by setting status.relativepaths332configuration variable to false.333334* "git blame" kept text for each annotated revision in core needlessly;335this has been corrected.336337* "git shortlog" learned to default to HEAD when the standard input is338a terminal and the user did not give any revision parameter.339340* "git shortlog" learned "-e" option to show e-mail addresses as well as341authors' names.342343* "git help" learned "-w" option to show documentation in browsers.344345* In addition there are quite a few internal clean-ups. Notably346347- many fork/exec have been replaced with run-command API,348brought from the msysgit effort.349350- introduction and more use of the option parser API.351352- enhancement and more use of the strbuf API.353354355Fixes since v1.5.3356------------------357358All of the fixes in v1.5.3 maintenance series are included in359this release, unless otherwise noted.360361These fixes are only in v1.5.4 and not backported to v1.5.3 maintenance362series.363364* The way "git diff --check" behaves is much more consistent with the way365"git apply --whitespace=warn" works.366367* "git svn" talking with the SVN over http will correctly quote branch368and project names.369370* "git config" did not work correctly on platforms that define371REG_NOMATCH to an even number.372373* Recent versions of AsciiDoc 8 has a change to break our374documentation; a workaround has been implemented.375376* "git diff --color-words" colored context lines in a wrong color.377378--379exec >/var/tmp/1380O=v1.5.4-rc4381echo O=`git describe refs/heads/master`382git shortlog --no-merges $O..refs/heads/master ^refs/heads/maint