Code

Display warning for default git push with no push.default config
[git.git] / Documentation / RelNotes-1.6.3.txt
1 GIT v1.6.3 Release Notes
2 ========================
4 With the next major release, "git push" into a branch that is
5 currently checked out will be refused by default.  You can choose
6 what should happen upon such a push by setting the configuration
7 variable receive.denyCurrentBranch in the receiving repository.
9 To ease the transition plan, the receiving repository of such a
10 push running this release will issue a big warning when the
11 configuration variable is missing.  Please refer to:
13   http://git.or.cz/gitwiki/GitFaq#non-bare
14   http://thread.gmane.org/gmane.comp.version-control.git/107758/focus=108007
16 for more details on the reason why this change is needed and the
17 transition plan.
19 For a similar reason, "git push $there :$killed" to delete the branch
20 $killed in a remote repository $there, if $killed branch is the current
21 branch pointed at by its HEAD, gets a large warning.  You can choose what
22 should happen upon such a push by setting the configuration variable
23 receive.denyDeleteCurrent in the receiving repository.
25 In a future release, the default of "git push" without further
26 arguments might be changed. Currently, it will push all matching
27 refspecs to the current remote.  A configuration variable push.default
28 has been introduced to select the default behaviour.  To ease the
29 transition, a big warning is issued if this is not configured and a
30 git push without arguments is attempted.
33 Updates since v1.6.2
34 --------------------
36 (subsystems)
38 (performance)
40 (usability, bells and whistles)
42 * "--pretty=<style>" option to the log family of commands can now be
43   spelled as "--format=<style>".  In addition, --format=%formatstring
44   is a short-hand for --pretty=tformat:%formatstring.
46 * "--oneline" is a synonym for "--pretty=oneline --abbrev=commit".
48 * If you realize that you botched the patch when you are editing hunks
49   with the 'edit' action in git-add -i/-p, you can abort the editor to
50   tell git not to apply it.
52 * git-archive learned --output=<file> option.
54 * git-bisect shows not just the number of remaining commits whose goodness
55   is unknown, but also shows the estimated number of remaining rounds.
57 * git-branch -r shows HEAD symref that points at a remote branch in
58   interest of each tracked remote repository.
60 * git-config learned -e option to open an editor to edit the config file
61   directly.
63 * git-format-patch can be told to use attachment with a new configuration,
64   format.attach.
66 * git-imap-send learned to work around Thunderbird's inability to easily
67   disable format=flowed with a new configuration, imap.preformattedHTML.
69 * git-rebase can be told to rebase the series even if your branch is a
70   descendant of the commit you are rebasing onto with --force-rebase
71   option.
73 * git-send-email learned --confirm option to review the Cc: list before
74   sending the messages out.
76 (developers)
78 * Test scripts can be run under valgrind.
81 Fixes since v1.6.2
82 ------------------
84 All of the fixes in v1.6.2.X maintenance series are included in this
85 release, unless otherwise noted.
87 Here are fixes that this release has, but have not been backported to
88 v1.6.2.X series.
90 * .gitignore learned to handle backslash as a quoting mechanism for
91   comment introduction character "#" (backport by merging dd482ee if
92   needed).
94 * timestamp output in --date=relative mode used to display timestamps that
95   are long time ago in the default mode; it now uses "N years M months
96   ago", and "N years ago" (backport by picking 10edf37 if needed).
98 * git-add -i/-p now works with non-ASCII pathnames (backport by picking
99   8851f48 if needed).
101 * "git hash-object -w" did not read from the configuration file from the
102   correct .git directory (backport by merging 272459a if needed).
104 * git-send-email learned to correctly handle multiple Cc: addresses
105   (backport by merging afe756c if needed).
107 ---
108 exec >/var/tmp/1
109 O=v1.6.2-77-g8cc3fe4
110 echo O=$(git describe master)
111 git shortlog --no-merges $O..master ^maint