blob: e31ae6a2938d3aa3d3668584ed29175bb7b61952 [file] [log] [blame]
Junio C Hamanoe670d0d2008-02-17 20:14:591GIT v1.5.5 Release Notes
2========================
3
4Updates since v1.5.4
5--------------------
6
Junio C Hamano8e225882008-03-03 18:59:287(subsystems)
8
Junio C Hamano4de61f822008-03-16 10:23:029 * Comes with git-gui 0.9.3.
10
11(portability)
12
13 * We shouldn't ask for BSD group ownership semantics by setting g+s bit
14 on directories on older BSD systems that refuses chmod() by non root
15 users. BSD semantics is the default there anyway.
16
17 * Bunch of portability improvement patches coming from an effort to port
18 to Solaris has been applied.
Junio C Hamano8e225882008-03-03 18:59:2819
Junio C Hamanoe670d0d2008-02-17 20:14:5920(performance)
21
22 * On platforms with suboptimal qsort(3) implementation, there
23 is an option to use more reasonable substitute we ship with
24 our software.
25
26 * New configuration variable "pack.packsizelimit" can be used
27 in place of command line option --max-pack-size.
28
29 * "git fetch" over the native git protocol used to make a
30 connection to find out the set of current remote refs and
31 another to actually download the pack data. We now use only
32 one connection for these tasks.
33
34 * "git commit" does not run lstat(2) more than necessary
35 anymore.
36
37(usability, bells and whistles)
38
Junio C Hamano4de61f822008-03-16 10:23:0239 * Bash completion script (in contrib) are aware of more commands and
40 options.
41
Junio C Hamanoe670d0d2008-02-17 20:14:5942 * You can be warned when core.autocrlf conversion is applied in
43 such a way that results in an irreversible conversion.
44
Junio C Hamano40f54d32008-02-29 09:21:5045 * A catch-all "color.ui" configuration variable can be used to
46 enable coloring of all color-capable commands, instead of
47 individual ones such as "color.status" and "color.branch".
48
49 * The commands refused to take absolute pathnames where they
50 require pathnames relative to the work tree or the current
51 subdirectory. They now can take absolute pathnames in such a
52 case as long as the pathnames do not refer outside of the
53 work tree. E.g. "git add $(pwd)/foo" now works.
54
55 * Error messages used to be sent to stderr, only to get hidden,
56 when $PAGER was in use. They now are sent to stdout along
57 with the command output to be shown in the $PAGER.
58
Junio C Hamanoe670d0d2008-02-17 20:14:5959 * A pattern "foo/" in .gitignore file now matches a directory
60 "foo". Pattern "foo" also matches as before.
61
Junio C Hamano40f54d32008-02-29 09:21:5062 * bash completion's prompt helper function can talk about
63 operation in-progress (e.g. merge, rebase, etc.).
64
65 * Configuration variables "url.<usethis>.insteadof = <otherurl>" can be
66 used to tell "git-fetch" and "git-push" to use different URL than what
67 is given from the command line.
68
Junio C Hamano40f54d32008-02-29 09:21:5069 * "git add -i" behaves better even before you make an initial commit.
70
Junio C Hamano8e225882008-03-03 18:59:2871 * "git am" refused to run from a subdirectory without a good reason.
72
Junio C Hamano40f54d32008-02-29 09:21:5073 * After "git apply --whitespace=fix" fixes whitespace errors in a patch,
74 a line before the fix can appear as a context or preimage line in a
75 later patch, causing the patch not to apply. The command now knows to
76 see through whitespace fixes done to context lines to successfully
77 apply such a patch series.
78
79 * "git branch" (and "git checkout -b") to branch from a local branch can
80 optionally set "branch.<name>.merge" to mark the new branch to build on
81 the other local branch, when "branch.autosetupmerge" is set to
82 "always". By default, this does not happen when branching from a local
83 branch.
84
85 * "git checkout" to switch to a branch that has "branch.<name>.merge" set
86 (i.e. marked to build on another branch) reports how much the branch
87 and the other branch diverged.
88
89 * When "git checkout" has to update a lot of paths, it used to be silent
90 for 4 seconds before it showed any progress report. It is now a bit
91 more impatient and starts showing progress report early.
92
93 * "git commit" learned a new hook "prepare-commit-msg" that can
94 inspect what is going to be committed and prepare the commit
95 log message template to be edited.
96
Junio C Hamano8e225882008-03-03 18:59:2897 * "git cvsimport" can now take more than one -M options.
98
Junio C Hamanoe670d0d2008-02-17 20:14:5999 * "git describe" learned to limit the tags to be used for
100 naming with --match option.
101
102 * "git describe --contains" now barfs when the named commit
103 cannot be described.
104
Junio C Hamano40f54d32008-02-29 09:21:50105 * "git describe --exact-match" describes only commits that are tagged.
Junio C Hamanoe670d0d2008-02-17 20:14:59106
Junio C Hamano8e225882008-03-03 18:59:28107 * "git describe --long" describes a tagged commit as $tag-0-$sha1,
108 instead of just showing the exact tagname.
109
110 * "git describe" warns when using a tag whose name and path contradict
111 with each other.
112
Junio C Hamano40f54d32008-02-29 09:21:50113 * "git diff" learned "--relative" option to limit and output paths
114 relative to the current directory when working in a subdirectory.
115
116 * "git diff" learned "--dirstat" option to show birds-eye-summary of
117 changes more concisely than "--diffstat".
118
119 * "git format-patch" learned --cover-letter option to generate a cover
120 letter template.
121
Junio C Hamano8e225882008-03-03 18:59:28122 * "git gc" learned --quiet option.
123
Junio C Hamano4de61f822008-03-16 10:23:02124 * "git gc" now automatically prunes unreachable objects that are two
125 weeks old or older.
126
Junio C Hamano40f54d32008-02-29 09:21:50127 * "git grep" now knows "--name-only" is a synonym for the "-l" option.
128
129 * "git help <alias>" now reports "'git <alias>' is alias to <what>",
130 instead of saying "No manual entry for git-<alias>".
131
Junio C Hamano4de61f822008-03-16 10:23:02132 * "git help" can use different backends to show manual pages and this can
133 be configured using "man.viewer" configuration.
134
135 * "gitk" does not restore window position from $HOME/.gitk anymore (it
136 still restores the size).
137
Junio C Hamano40f54d32008-02-29 09:21:50138 * "git log --grep=<what>" learned "--fixed-strings" option to look for
139 <what> without treating it as a regular expression.
Junio C Hamanoe670d0d2008-02-17 20:14:59140
141 * "git gui" learned an auto-spell checking.
142
Junio C Hamano4de61f822008-03-16 10:23:02143 * "git push <somewhere> HEAD" and "git push <somewhere> +HEAD" works as
144 expected; they push the current branch (and only the current branch).
145 In addition, HEAD can be written as the value of "remote.<there>.push"
146 configuration variable.
147
148 * When the configuration variable "pack.threads" is set to 0, "git
149 repack" auto detects the number of CPUs and uses that many threads.
150
Junio C Hamanoe670d0d2008-02-17 20:14:59151 * "git send-email" learned to prompt for passwords
152 interactively.
153
154 * "git send-email" learned an easier way to suppress CC
155 recipients.
156
Junio C Hamano4de61f822008-03-16 10:23:02157 * "git stash" learned "pop" command, that applies the latest stash and
158 removes it from the stash, and "drop" command to discard the named
159 stash entry.
160
161 * "git submodule" learned a new subcommand "summary" to show the
162 symmetric difference between the HEAD version and the work tree version
163 of the submodule commits.
Junio C Hamano40f54d32008-02-29 09:21:50164
Junio C Hamanoe670d0d2008-02-17 20:14:59165 * Various "git cvsimport", "git cvsexportcommit", "git svn" and
166 "git p4" improvements.
167
168(internal)
169
170 * Duplicated code between git-help and git-instaweb that
171 launches user's preferred browser has been refactored.
172
173 * It is now easier to write test scripts that records known
174 breakages.
175
Junio C Hamano40f54d32008-02-29 09:21:50176 * "git checkout" is rewritten in C.
177
Junio C Hamano4de61f822008-03-16 10:23:02178 * "git remote" is rewritten in C.
179
Junio C Hamano40f54d32008-02-29 09:21:50180 * Two conflict hunks that are separated by a very short span of common
181 lines are now coalesced into one larger hunk, to make the result easier
182 to read.
183
184 * Run-command API's use of file descriptors is documented clearer and
185 is more consistent now.
186
Junio C Hamano4de61f822008-03-16 10:23:02187 * diff output can be sent to FILE * that is different from stdout. This
188 will help reimplementing more things in C.
Junio C Hamanoe670d0d2008-02-17 20:14:59189
190Fixes since v1.5.4
191------------------
192
193All of the fixes in v1.5.4 maintenance series are included in
194this release, unless otherwise noted.
195
Junio C Hamano8e225882008-03-03 18:59:28196 * "git-http-push" did not allow deletion of remote ref with the usual
197 "push <remote> :<branch>" syntax.
198
Junio C Hamano8e225882008-03-03 18:59:28199 * "git-rebase --abort" did not go back to the right location if
200 "git-reset" was run during the "git-rebase" session.
201
Junio C Hamanoe670d0d2008-02-17 20:14:59202---
203exec >/var/tmp/1
Junio C Hamano4de61f822008-03-16 10:23:02204O=v1.5.4.4-620-gc817faa
Junio C Hamanoe670d0d2008-02-17 20:14:59205echo O=`git describe refs/heads/master`
206git shortlog --no-merges $O..refs/heads/master ^refs/heads/maint