1Git v1.7.0 Release Notes
2========================
34
Notes on behaviour change
5-------------------------
67
* "git push" into a branch that is currently checked out (i.e. pointed by
8HEAD in a repository that is not bare) is refused by default.
910
Similarly, "git push $there :$killed" to delete the branch $killed
11in a remote repository $there, when $killed branch is the current
12branch pointed at by its HEAD, will be refused by default.
1314
Setting the configuration variables receive.denyCurrentBranch and
15receive.denyDeleteCurrent to 'ignore' in the receiving repository
16can be used to override these safety features.
1718
* "git send-email" does not make deep threads by default when sending a
19patch series with more than two messages. All messages will be sent
20as a reply to the first message, i.e. cover letter.
2122
It has been possible to configure send-email to send "shallow thread"
23by setting sendemail.chainreplyto configuration variable to false. The
24only thing this release does is to change the default when you haven't
25configured that variable.
2627
* "git status" is not "git commit --dry-run" anymore. This change does
28not affect you if you run the command without pathspec.
2930
* "git diff" traditionally treated various "ignore whitespace" options
31only as a way to filter the patch output. "git diff --exit-code -b"
32exited with non-zero status even if all changes were about changing the
33ammount of whitespace and nothing else. and "git diff -b" showed the
34"diff --git" header line for such a change without patch text.
3536
In this release, the "ignore whitespaces" options affect the semantics
37of the diff operation. A change that does not affect anything but
38whitespaces is reported with zero exit status when run with
39--exit-code, and there is no "diff --git" header for such a change.
4041
42
Updates since v1.6.6
43--------------------
4445
(subsystems)
4647
* "git fast-import" updates; adds "option" and "feature" to detect the
48mismatch between fast-import and the frontends that produce the input
49stream.
5051
* "git svn" support of subversion "merge tickets" and miscellaneous fixes.
5253
* "gitk" updates.
5455
(portability)
5657
* Some more MSVC portability patches for msysgit port.
5859
* Minimum Pthreads emulation for msysgit port.
6061
(performance)
6263
* More performance improvement patches for msysgit port.
6465
(usability, bells and whistles)
6667
* More commands learned "--quiet" and "--[no-]progress" options.
6869
* Various commands given by the end user (e.g. diff.type.textconv,
70and GIT_EDITOR) can be specified with command line arguments. E.g. it
71is now possible to say "[diff "utf8doc"] textconv = nkf -w".
7273
* "sparse checkout" feature allows only part of the work tree to be
74checked out.
7576
* HTTP transfer can use authentication scheme other than basic
77(i.e./e.g. digest).
7879
* Switching from a version of superproject that used to have a submodule
80to another version of superproject that no longer has it did not remove
81the submodule directory when it should (namely, when you are not
82interested in the submodule at all and didn't clone/checkout).
8384
* A new attribute conflict-marker-size can be used to change the size of
85the conflict markers from the default 7; this is useful when tracked
86contents (e.g. git-merge documentation) have strings that resemble the
87conflict markers.
8889
* A new syntax "<branch>@{upstream}" can be used on the command line to
90substitute the name of the "upstream" of the branch. Missing branch
91defaults to the current branch, so "git fetch && git merge @{upstream}"
92will be equivalent to "git pull".
9394
* "git branch --set-upstream" can be used to update the (surprise!) upstream
95i.e. where the branch is supposed to pull and merge from (or rebase onto).
9697
* "git checkout A...B" is a way to detach HEAD at the merge base between
98A and B.
99100
* "git checkout -m path" to reset the work tree file back into the
101conflicted state works even when you already ran "git add path" and
102resolved the conflicts.
103104
* "git commit --date='<date>'" can be used to override the author date
105just like "git commit --author='<name> <email>'" can be used to
106override the author identity.
107108
* "git commit --no-status" can be used to omit the listing of the index
109and the work tree status in the editor used to prepare the log message.
110111
* "git commit" warns a bit more aggressively until you configure user.email,
112whose default value almost always is not (and fundamentally cannot be)
113what you want.
114115
* "git difftool" has been extended to make it easier to integrate it
116with gitk.
117118
* "git fetch --all" can now be used in place of "git remote update".
119120
* "git grep" does not rely on external grep anymore. It can use more than
121one threads to accelerate the operation.
122123
* "git grep" learned "--no-index" option, to search inside contents that
124are not managed by git.
125126
* "git grep" learned "--quiet" option.
127128
* "git log" and friends learned "--glob=heads/*" syntax that is a more
129flexible way to complement "--branches/--tags/--remotes".
130131
* "git merge" learned to pass options specific to strategy-backends. E.g.
132133
- "git merge -Xsubtree=path/to/directory" can be used to tell the subtree
134strategy how much to shift the trees explicitly.
135136
- "git merge -Xtheirs" can be used to auto-merge as much as possible,
137while discarding your own changes and taking merged version in
138conflicted regions.
139140
* "git push" learned "git push origin --delete branch", a syntactic sugar
141for "git push origin :branch".
142143
* "git push" learned "git push --set-upstream origin forker:forkee" that
144lets you configure your "forker" branch to later pull from "forkee"
145branch at "origin".
146147
* "git rebase --onto A...B" means the history is replayed on top of the
148merge base between A and B.
149150
* "git rebase -i" learned new action "fixup", that squashes the change
151but does not affect existing log message.
152153
* "git rebase -i" also learned --autosquash option, that is useful
154together with the new "fixup" action.
155156
* "git remote" learned set-url subcommand, to update (surprise!) url
157for an existing remote nickname.
158159
* "git rerere" learned "forget path" subcommand. Together with "git
160checkout -m path" it will be useful when you recorded a wrong
161resolution.
162163
* Use of "git reset --merge" has become easier when resetting away a
164conflicted mess left in the work tree.
165166
* "git rerere" had rerere.autoupdate configuration but there was no way
167to countermand it from the command line; --no-rerere-autoupdate option
168given to "merge", "revert", etc. fixes this.
169170
* "git status" learned "-s(hort)" output format.
171172
(developers)
173174
* The infrastructure to build foreign SCM interface has been updated.
175176
* Many more commands are now built-in.
177178
Fixes since v1.6.6
179------------------
180181
All of the fixes in v1.6.6.X maintenance series are included in this
182release, unless otherwise noted.
183184
* "git branch -d branch" used to refuse deleting the branch even when
185the branch is fully merged to its upstream branch if it is not merged
186to the current branch. It now deletes it in such a case.
187188
* "git config -f <relative path>" run from a subdirectory misbehaved.
18965807ee (builtin-config: Fix crash when using "-f <relative path>"
190from non-root dir, 2010-01-26) may be merged to older maintenance
191branches.
192193
* When "git diff" is asked to compare the work tree with something,
194it used to consider that a checked-out submodule with uncommitted
195changes is not modified; this could cause people to forget committing
196these changes in the submodule before committing in the superproject.
197It now considers such a change as a modification.
198199
--
200exec >/var/tmp/1
201O=v1.7.0-rc0-48-gdace5dd
202O=v1.7.0-rc0-67-gb10b918
203echo O=$(git describe master)
204git shortlog --no-merges $O..master ^maint