Merge branch 'np/pack'
[git/gitweb.git] / Documentation / RelNotes-1.5.2.txt
blobd93da608c70c3544963ad7dfd50ca12d39bc7fa9
1 GIT v1.5.2 Release Notes (draft)
2 ========================
4 Updates since v1.5.1
5 --------------------
7 * New commands and options.
9   - "git bisect start" can optionally take a single bad commit and
10     zero or more good commits on the command line.
12   - "git shortlog" can optionally be told to wrap its output.
14   - "subtree" merge strategy allows another project to be merged in as
15     your subdirectory.
17   - "git format-patch" learned a new --subject-prefix=<string>
18     option, to override the built-in "[PATCH]".
20 * Updated behavior of existing commands.
22   - "git diff --stat" shows size of preimage and postimage blobs
23     for binary contents.  Earlier it only said "Bin".
25   - "git lost-found" shows stuff that are unreachable except
26     from reflogs.
28   - "git checkout branch^0" now detaches HEAD at the tip commit
29     on the named branch, instead of just switching to the
30     branch (use "git checkout branch" to switch to the branch,
31     as before).
33   - "git bisect next" can be used after giving only a bad commit
34     without giving a good one (this starts bisection half-way to
35     the root commit).  We used to refuse to operate without a
36     good and a bad commit.
38   - "git push", when pushing into more than one repository, does
39     not stop at the first error.
41   - "git archive" does not insist you to give --format parameter
42     anymore; it defaults to "tar".
44 * Builds
46   - git-p4import has never been installed; now there is an
47     installation option to do so.
49   - gitk and git-gui can be configured out.
51   - Generated documentation pages automatically get version
52     information from GIT_VERSION
54   - Parallel build with "make -j" descending into subdirectory
55     was fixed.
57 * Performance Tweaks
59   - optimized "git-rev-list --bisect" (hence "git-bisect").
61   - optimized "git-add $path" in a large directory, most of
62     whose contents are ignored.
65 Fixes since v1.5.1
66 ------------------
68 The following are all in v1.5.1.x series, unless otherwise noted.
70 * Documentation updates
72   - Various documentation updates from J. Bruce Fields, Frank
73     Lichtenheld, Alex Riesen and others.  Andrew Ruder started a
74     war on undocumented options.
76 * Bugfixes
78   - "git diff a/ b/" incorrectly fell in "diff between two
79     filesystem objects" codepath, when the user most likely
80     wanted to limit the extent of output to two tracked
81     directories.
83   - git-quiltimport had the same bug as we fixed for
84     git-applymbox in v1.5.1.1 -- it gave an alarming "did not
85     have any patch" message (but did not actually fail and was
86     harmless).
88   - various git-svn fixes.
90   - Sample update hook incorrectly always refused requests to
91     delete branches through push.
93   - git-blame on a very long working tree path had buffer
94     overrun problem.
96   - Switching branches with "git checkout" refused to work when
97     a path changes from a file to a directory between the
98     current branch and the new branch, in order not to lose
99     possible local changes in the directory that is being turned
100     into a file with the switch.  We now allow such a branch
101     switch after making sure that there is no locally modified
102     file nor un-ignored file in the directory.  This has not
103     been backported to 1.5.1.x series, as it is rather an
104     intrusive change.
106   - Merging branches that have a file in one and a directory in
107     another at the same path used to get quite confused.  We
108     handle such a case a bit more carefully, even though that is
109     still left as a conflict for the user to sort out.  This
110     will not be backported to 1.5.1.x series, as it is rather an
111     intrusive change.
113 * Performance Tweaks
116 exec >/var/tmp/1
117 O=v1.5.1.1-158-g86da9de
118 echo O=`git describe refs/heads/master`
119 git shortlog --no-merges $O..refs/heads/master ^refs/heads/maint