msvc: Fix a compiler warning due to an incorrect pointer cast
[git/jnareb-git.git] / Documentation / RelNotes-1.7.0.txt
bloba3d0395f54dea7ab8044ca463ffd8c1ddc9a1f99
1 Git v1.7.0 Release Notes
2 ========================
4 Notes on behaviour change
5 -------------------------
7  * "git push" into a branch that is currently checked out (i.e. pointed by
8    HEAD in a repository that is not bare) is refused by default.
10    Similarly, "git push $there :$killed" to delete the branch $killed
11    in a remote repository $there, when $killed branch is the current
12    branch pointed at by its HEAD, will be refused by default.
14    Setting the configuration variables receive.denyCurrentBranch and
15    receive.denyDeleteCurrent to 'ignore' in the receiving repository
16    can be used to override these safety features.
18  * "git send-email" does not make deep threads by default when sending a
19    patch series with more than two messages.  All messages will be sent
20    as a reply to the first message, i.e. cover letter.
22    It has been possible to configure send-email to send "shallow thread"
23    by setting sendemail.chainreplyto configuration variable to false.  The
24    only thing this release does is to change the default when you haven't
25    configured that variable.
27  * "git status" is not "git commit --dry-run" anymore.  This change does
28    not affect you if you run the command without pathspec.
30  * "git diff" traditionally treated various "ignore whitespace" options
31    only as a way to filter the patch output.  "git diff --exit-code -b"
32    exited with non-zero status even if all changes were about changing the
33    ammount of whitespace and nothing else.  and "git diff -b" showed the
34    "diff --git" header line for such a change without patch text.
36    In this release, the "ignore whitespaces" options affect the semantics
37    of the diff operation.  A change that does not affect anything but
38    whitespaces is reported with zero exit status when run with
39    --exit-code, and there is no "diff --git" header for such a change.
42 Updates since v1.6.6
43 --------------------
45 (subsystems)
47  * "git fast-import" updates; adds "option" and "feature" to detect the
48    mismatch between fast-import and the frontends that produce the input
49    stream.
51 (portability)
53  * Some more MSVC portability patches for msysgit port.
55  * Minimum Pthreads emulation for msysgit port.
57 (performance)
59  * More performance improvement patches for msysgit port.
61 (usability, bells and whistles)
63  * More commands learned "--quiet" and "--[no-]progress" options.
65  * Various commands given by the end user (e.g. diff.type.textconv,
66    and GIT_EDITOR) can be specified with command line arguments.  E.g. it
67    is now possible to say "[diff "utf8doc"] textconv = nkf -w".
69  * "sparse checkout" feature allows only part of the work tree to be
70    checked out.
72  * HTTP transfer can use authentication scheme other than basic
73    (i.e./e.g. digest).
75  * Switching from a version of superproject that used to have a submodule
76    to another version of superproject that no longer has it did not remove
77    the submodule directory when it should (namely, when you are not
78    interested in the submodule at all and didn't clone/checkout).
80  * A new attribute conflict-marker-size can be used to change the size of
81    the conflict markers from the default 7; this is useful when tracked
82    contents (e.g. git-merge documentation) have strings that resemble the
83    conflict markers.
85  * "git checkout A...B" is a way to detach HEAD at the merge base between
86    A and B.
88  * "git checkout -m path" to reset the work tree file back into the
89    conflicted state works even when you already ran "git add path" and
90    resolved the conflicts.
92  * "git commit --date='<date>'" can be used to override the author date
93    just like "git commit --author='<name> <email>'" can be used to
94    override the author identity.
96  * "git commit --no-status" can be used to omit the listing of the index
97    and the work tree status in the editor used to prepare the log message.
99  * "git commit" warns a bit more aggressively until you configure user.email,
100    whose default value almost always is not (and fundamentally cannot be)
101    what you want.
103  * "git difftool" has been extended to make it easier to integrate it
104    with gitk.
106  * "git fetch --all" can now be used in place of "git remote update".
108  * "git grep" does not rely on external grep anymore.
110  * "git grep" learned "--no-index" option, to search inside contents that
111    are not managed by git.
113  * "git merge" learned to pass options specific to strategy-backends.  E.g.
115     - "git merge -Xsubtree=path/to/directory" can be used to tell the subtree
116       strategy how much to shift the trees explicitly.
118     - "git merge -Xtheirs" can be used to auto-merge as much as possible,
119       while discarding your own changes and taking merged version in
120       conflicted regions.
122  * "git push" learned "git push origin --delete branch", a syntactic sugar
123    for "git push origin :branch".
125  * "git push" learned "git push --set-upstream origin forker:forkee" that
126    lets you configure your "forker" branch to later pull from "forkee"
127    branch at "origin".
129  * "git rebase --onto A...B" means the history is replayed on top of the
130    merge base between A and B.
132  * "git rebase -i" learned new action "fixup", that squashes the change
133    but does not affect existing log message.
135  * "git rebase -i" also learned --autosquash option, that is useful
136    together with the new "fixup" action.
138  * "git rerere" learned "forget path" subcommand.  Together with "git
139    checkout -m path" it will be useful when you recorded a wrong
140    resolution.
142  * Use of "git reset --merge" has become easier when resetting away a
143    conflicted mess left in the work tree.
145  * "git rerere" had rerere.autoupdate configuration but there was no way
146    to countermand it from the command line; --no-rerere-autoupdate option
147    given to "merge", "revert", etc. fixes this.
149  * "git status" learned "-s(hort)" output format.
151 (developers)
153  * The infrastructure to build foreign SCM interface has been updated.
156 Fixes since v1.6.6
157 ------------------
159 All of the fixes in v1.6.6.X maintenance series are included in this
160 release, unless otherwise noted.
163 exec >/var/tmp/1
164 O=v1.6.6.1-379-gd4556c4
165 echo O=$(git describe master)
166 git shortlog --no-merges $O..master ^maint