Junio C Hamano | 048d4d9 | 2013-03-18 15:01:19 -0700 | [diff] [blame] | 1 | Git v1.8.3 Release Notes |
| 2 | ======================== |
| 3 | |
| 4 | Backward compatibility notes (for Git 2.0) |
| 5 | ------------------------------------------ |
| 6 | |
| 7 | When "git push [$there]" does not say what to push, we have used the |
| 8 | traditional "matching" semantics so far (all your branches were sent |
| 9 | to the remote as long as there already are branches of the same name |
| 10 | over there). In Git 2.0, the default will change to the "simple" |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 11 | semantics that pushes only the current branch to the branch with the same |
| 12 | name, and only when the current branch is set to integrate with that |
| 13 | remote branch. Use the user preference configuration variable |
Junio C Hamano | 048d4d9 | 2013-03-18 15:01:19 -0700 | [diff] [blame] | 14 | "push.default" to change this. If you are an old-timer who is used |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 15 | to the "matching" semantics, you can set the variable to "matching" |
| 16 | to keep the traditional behaviour. If you want to live in the future |
| 17 | early, you can set it to "simple" today without waiting for Git 2.0. |
Junio C Hamano | 048d4d9 | 2013-03-18 15:01:19 -0700 | [diff] [blame] | 18 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 19 | When "git add -u" (and "git add -A") is run inside a subdirectory and |
| 20 | does not specify which paths to add on the command line, it |
| 21 | will operate on the entire tree in Git 2.0 for consistency |
| 22 | with "git commit -a" and other commands. There will be no |
| 23 | mechanism to make plain "git add -u" behave like "git add -u .". |
| 24 | Current users of "git add -u" (without a pathspec) should start |
| 25 | training their fingers to explicitly say "git add -u ." |
| 26 | before Git 2.0 comes. A warning is issued when these commands are |
Junio C Hamano | d2949c7 | 2013-04-19 13:53:44 -0700 | [diff] [blame] | 27 | run without a pathspec and when you have local changes outside the |
| 28 | current directory, because the behaviour in Git 2.0 will be different |
| 29 | from today's version in such a situation. |
Junio C Hamano | 048d4d9 | 2013-03-18 15:01:19 -0700 | [diff] [blame] | 30 | |
Junio C Hamano | b75cdfa | 2013-04-26 15:45:09 -0700 | [diff] [blame] | 31 | In Git 2.0, "git add <path>" will behave as "git add -A <path>", so |
| 32 | that "git add dir/" will notice paths you removed from the directory |
| 33 | and record the removal. Versions before Git 2.0, including this |
| 34 | release, will keep ignoring removals, but the users who rely on this |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 35 | behaviour are encouraged to start using "git add --ignore-removal <path>" |
| 36 | now before 2.0 is released. |
Junio C Hamano | b75cdfa | 2013-04-26 15:45:09 -0700 | [diff] [blame] | 37 | |
Junio C Hamano | 048d4d9 | 2013-03-18 15:01:19 -0700 | [diff] [blame] | 38 | |
| 39 | Updates since v1.8.2 |
| 40 | -------------------- |
| 41 | |
Junio C Hamano | 3d88f83 | 2013-04-22 11:18:43 -0700 | [diff] [blame] | 42 | Foreign interface |
| 43 | |
Junio C Hamano | ab84621 | 2013-05-13 11:09:42 -0700 | [diff] [blame] | 44 | * remote-hg and remote-bzr helpers (in contrib/ since v1.8.2) have |
Junio C Hamano | edca415 | 2013-05-24 11:34:46 -0700 | [diff] [blame] | 45 | been updated; especially, the latter has been done in an |
| 46 | accelerated schedule (read: we may not have merged to this release |
| 47 | if we were following the usual "cook sufficiently in next before |
| 48 | unleashing it to the world" workflow) in order to help Emacs folks, |
| 49 | whose primary SCM seems to be stagnating. |
Junio C Hamano | ab84621 | 2013-05-13 11:09:42 -0700 | [diff] [blame] | 50 | |
Junio C Hamano | 3d88f83 | 2013-04-22 11:18:43 -0700 | [diff] [blame] | 51 | |
Junio C Hamano | 048d4d9 | 2013-03-18 15:01:19 -0700 | [diff] [blame] | 52 | UI, Workflows & Features |
| 53 | |
Junio C Hamano | ab84621 | 2013-05-13 11:09:42 -0700 | [diff] [blame] | 54 | * A handful of updates applied to gitk, including an addition of |
| 55 | "revert" action, showing dates in tags in a nicer way, making |
| 56 | colors configurable, and support for -G'pickaxe' search. |
| 57 | |
Junio C Hamano | de0977d | 2013-05-01 15:32:24 -0700 | [diff] [blame] | 58 | * The prompt string generator (in contrib/completion/) learned to |
| 59 | show how many changes there are in total and how many have been |
| 60 | replayed during a "git rebase" session. |
| 61 | |
Junio C Hamano | d2949c7 | 2013-04-19 13:53:44 -0700 | [diff] [blame] | 62 | * "git branch --vv" learned to paint the name of the branch it |
| 63 | integrates with in a different color (color.branch.upstream, |
| 64 | which defaults to blue). |
| 65 | |
Junio C Hamano | 3d88f83 | 2013-04-22 11:18:43 -0700 | [diff] [blame] | 66 | * In a sparsely populated working tree, "git checkout <pathspec>" no |
| 67 | longer unmarks paths that match the given pathspec that were |
| 68 | originally ignored with "--sparse" (use --ignore-skip-worktree-bits |
| 69 | option to resurrect these paths out of the index if you really want |
| 70 | to). |
| 71 | |
Junio C Hamano | 562af5b | 2013-04-23 11:27:15 -0700 | [diff] [blame] | 72 | * "git log --format" specifier learned %C(auto) token that tells Git |
| 73 | to use color when interpolating %d (decoration), %h (short commit |
| 74 | object name), etc. for terminal output. |
| 75 | |
Junio C Hamano | 3d88f83 | 2013-04-22 11:18:43 -0700 | [diff] [blame] | 76 | * "git bisect" leaves the final outcome as a comment in its bisect |
| 77 | log file. |
| 78 | |
| 79 | * "git clone --reference" can now refer to a gitfile "textual symlink" |
| 80 | that points at the real location of the repository. |
| 81 | |
Junio C Hamano | d2949c7 | 2013-04-19 13:53:44 -0700 | [diff] [blame] | 82 | * "git count-objects" learned "--human-readable" aka "-H" option to |
| 83 | show various large numbers in Ki/Mi/GiB scaled as necessary. |
| 84 | |
| 85 | * "git cherry-pick $blob" and "git cherry-pick $tree" are nonsense, |
| 86 | and a more readable error message e.g. "can't cherry-pick a tree" |
| 87 | is given (we used to say "expected exactly one commit"). |
| 88 | |
Junio C Hamano | 1468a58 | 2013-04-18 12:02:42 -0700 | [diff] [blame] | 89 | * The "--annotate" option to "git send-email" can be turned on (or |
| 90 | off) by default with sendemail.annotate configuration variable (you |
| 91 | can use --no-annotate from the command line to override it). |
| 92 | |
| 93 | * The "--cover-letter" option to "git format-patch" can be turned on |
| 94 | (or off) by default with format.coverLetter configuration |
| 95 | variable. By setting it to 'auto', you can turn it on only for a |
| 96 | series with two or more patches. |
| 97 | |
| 98 | * The bash completion support (in contrib/) learned that cherry-pick |
| 99 | takes a few more options than it already knew about. |
| 100 | |
Junio C Hamano | 7ece7ee | 2013-04-11 16:03:55 -0700 | [diff] [blame] | 101 | * "git help" learned "-g" option to show the list of guides just like |
| 102 | list of commands are given with "-a". |
| 103 | |
Junio C Hamano | c17b651 | 2013-04-07 14:40:26 -0700 | [diff] [blame] | 104 | * A triangular "pull from one place, push to another place" workflow |
| 105 | is supported better by new remote.pushdefault (overrides the |
| 106 | "origin" thing) and branch.*.pushremote (overrides the |
| 107 | branch.*.remote) configuration variables. |
| 108 | |
| 109 | * "git status" learned to report that you are in the middle of a |
| 110 | revert session, just like it does for a cherry-pick and a bisect |
| 111 | session. |
| 112 | |
Junio C Hamano | 7ece7ee | 2013-04-11 16:03:55 -0700 | [diff] [blame] | 113 | * The handling by "git branch --set-upstream-to" against various forms |
| 114 | of erroneous inputs was suboptimal and has been improved. |
Junio C Hamano | c17b651 | 2013-04-07 14:40:26 -0700 | [diff] [blame] | 115 | |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 116 | * When the interactive access to git-shell is not enabled, it issues |
Junio C Hamano | edca415 | 2013-05-24 11:34:46 -0700 | [diff] [blame] | 117 | a message meant to help the system administrator to enable it. An |
| 118 | explicit way has been added to issue custom messages to refuse an |
| 119 | access over the network to help the end users who connect to the |
| 120 | service expecting an interactive shell. |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 121 | |
Junio C Hamano | cc3e4eb | 2013-04-01 09:13:31 -0700 | [diff] [blame] | 122 | * In addition to the case where the user edits the log message with |
| 123 | the "e)dit" option of "am -i", replace the "Applying: this patch" |
| 124 | message with the final log message contents after applymsg hook |
| 125 | munges it. |
| 126 | |
| 127 | * "git status" suggests users to look into using --untracked=no option |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 128 | when it takes too long. |
| 129 | |
Junio C Hamano | edca415 | 2013-05-24 11:34:46 -0700 | [diff] [blame] | 130 | * "git status" shows a bit more information during a rebase/bisect |
| 131 | session. |
Junio C Hamano | cc3e4eb | 2013-04-01 09:13:31 -0700 | [diff] [blame] | 132 | |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 133 | * "git fetch" learned to fetch a commit at the tip of an unadvertised |
| 134 | ref by specifying a raw object name from the command line when the |
| 135 | server side supports this feature. |
| 136 | |
Junio C Hamano | aec3f77 | 2013-04-15 12:45:15 -0700 | [diff] [blame] | 137 | * Output from "git log --graph" works better with submodule log |
| 138 | output now. |
| 139 | |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 140 | * "git count-objects -v" learned to report leftover temporary |
| 141 | packfiles and other garbage in the object store. |
| 142 | |
| 143 | * A new read-only credential helper (in contrib/) to interact with |
| 144 | the .netrc/.authinfo files has been added. |
| 145 | |
| 146 | * "git send-email" can be used with the credential helper system. |
Junio C Hamano | 048d4d9 | 2013-03-18 15:01:19 -0700 | [diff] [blame] | 147 | |
Junio C Hamano | 7632cd2 | 2013-03-25 14:08:00 -0700 | [diff] [blame] | 148 | * There was no Porcelain way to say "I no longer am interested in |
| 149 | this submodule", once you express your interest in a submodule with |
| 150 | "submodule init". "submodule deinit" is the way to do so. |
| 151 | |
| 152 | * "git pull --rebase" learned to pass "-v/-q" options to underlying |
| 153 | "git rebase". |
| 154 | |
| 155 | * The new "--follow-tags" option tells "git push" to push relevant |
| 156 | annotated tags when pushing branches out. |
| 157 | |
Junio C Hamano | 21ccebe | 2013-04-05 14:19:57 -0700 | [diff] [blame] | 158 | * "git merge" and "git pull" can optionally be told to inspect and |
| 159 | reject when merging a commit that does not carry a trusted GPG |
| 160 | signature. |
| 161 | |
Junio C Hamano | 2bba2f0 | 2013-03-26 13:01:27 -0700 | [diff] [blame] | 162 | * "git mergetool" now feeds files to the "p4merge" backend in the |
| 163 | order that matches the p4 convention, where "theirs" is usually |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 164 | shown on the left side, which is the opposite from what other backends |
| 165 | expect. |
Junio C Hamano | 048d4d9 | 2013-03-18 15:01:19 -0700 | [diff] [blame] | 166 | |
Junio C Hamano | 961c512 | 2013-04-02 15:14:26 -0700 | [diff] [blame] | 167 | * "show/log" now honors gpg.program configuration just like other |
| 168 | parts of the code that use GnuPG. |
| 169 | |
| 170 | * "git log" that shows the difference between the parent and the |
| 171 | child has been optimized somewhat. |
| 172 | |
Junio C Hamano | 8d994db | 2013-04-03 09:43:47 -0700 | [diff] [blame] | 173 | * "git difftool" allows the user to write into the temporary files |
| 174 | being shown; if the user makes changes to the working tree at the |
Junio C Hamano | de0977d | 2013-05-01 15:32:24 -0700 | [diff] [blame] | 175 | same time, it now refrains from overwriting the copy in the working |
| 176 | tree and leaves the temporary file so that changes can be merged |
| 177 | manually. |
Junio C Hamano | 8d994db | 2013-04-03 09:43:47 -0700 | [diff] [blame] | 178 | |
| 179 | * There was no good way to ask "I have a random string that came from |
| 180 | outside world. I want to turn it into a 40-hex object name while |
| 181 | making sure such an object exists". A new peeling suffix ^{object} |
| 182 | can be used for that purpose, together with "rev-parse --verify". |
| 183 | |
Junio C Hamano | 048d4d9 | 2013-03-18 15:01:19 -0700 | [diff] [blame] | 184 | |
| 185 | Performance, Internal Implementation, etc. |
| 186 | |
Junio C Hamano | 7b9a419 | 2013-03-19 12:30:25 -0700 | [diff] [blame] | 187 | * Updates for building under msvc. |
Junio C Hamano | 048d4d9 | 2013-03-18 15:01:19 -0700 | [diff] [blame] | 188 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 189 | * A handful of issues in the code that traverses the working tree to find |
Junio C Hamano | 562af5b | 2013-04-23 11:27:15 -0700 | [diff] [blame] | 190 | untracked and/or ignored files have been fixed, and the general |
| 191 | codepath involved in "status -u" and "clean" have been cleaned up |
| 192 | and optimized. |
| 193 | |
Junio C Hamano | 1468a58 | 2013-04-18 12:02:42 -0700 | [diff] [blame] | 194 | * The stack footprint of some codepaths that access an object from a |
| 195 | pack has been shrunk. |
| 196 | |
Junio C Hamano | 7ece7ee | 2013-04-11 16:03:55 -0700 | [diff] [blame] | 197 | * The logic to coalesce the same lines removed from the parents in |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 198 | the output from "diff -c/--cc" has been updated, but with O(n^2) |
Junio C Hamano | 7ece7ee | 2013-04-11 16:03:55 -0700 | [diff] [blame] | 199 | complexity, so this might turn out to be undesirable. |
| 200 | |
Junio C Hamano | c17b651 | 2013-04-07 14:40:26 -0700 | [diff] [blame] | 201 | * The code to enforce permission bits on files in $GIT_DIR/ for |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 202 | shared repositories has been simplified. |
Junio C Hamano | c17b651 | 2013-04-07 14:40:26 -0700 | [diff] [blame] | 203 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 204 | * A few codepaths know how much data they need to put in the |
| 205 | hashtables they use when they start, but still began with small tables |
| 206 | and repeatedly grew and rehashed them. |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 207 | |
Junio C Hamano | 2bba2f0 | 2013-03-26 13:01:27 -0700 | [diff] [blame] | 208 | * The API to walk reflog entries from the latest to older, which was |
| 209 | necessary for operations such as "git checkout -", was cumbersome |
| 210 | to use correctly and also inefficient. |
| 211 | |
Junio C Hamano | cc3e4eb | 2013-04-01 09:13:31 -0700 | [diff] [blame] | 212 | * Codepaths that inspect log-message-to-be and decide when to add a |
| 213 | new Signed-off-by line in various commands have been consolidated. |
| 214 | |
| 215 | * The pkt-line API, implementation and its callers have been cleaned |
| 216 | up to make them more robust. |
| 217 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 218 | * The Cygwin port has a faster-but-lying lstat(2) emulation whose |
Junio C Hamano | 961c512 | 2013-04-02 15:14:26 -0700 | [diff] [blame] | 219 | incorrectness does not matter in practice except for a few |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 220 | codepaths, and setting permission bits on directories is a codepath |
Junio C Hamano | 961c512 | 2013-04-02 15:14:26 -0700 | [diff] [blame] | 221 | that needs to use a more correct one. |
| 222 | |
Junio C Hamano | 8d994db | 2013-04-03 09:43:47 -0700 | [diff] [blame] | 223 | * "git checkout" had repeated pathspec matches on the same paths, |
| 224 | which have been consolidated. Also a bug in "git checkout dir/" |
| 225 | that is started from an unmerged index has been fixed. |
| 226 | |
Junio C Hamano | 7ece7ee | 2013-04-11 16:03:55 -0700 | [diff] [blame] | 227 | * A few bugfixes to "git rerere" working on corner case merge |
| 228 | conflicts have been applied. |
| 229 | |
Junio C Hamano | 048d4d9 | 2013-03-18 15:01:19 -0700 | [diff] [blame] | 230 | |
Junio C Hamano | 1468a58 | 2013-04-18 12:02:42 -0700 | [diff] [blame] | 231 | Also contains various documentation updates and code clean-ups. |
Junio C Hamano | 048d4d9 | 2013-03-18 15:01:19 -0700 | [diff] [blame] | 232 | |
| 233 | |
| 234 | Fixes since v1.8.2 |
| 235 | ------------------ |
| 236 | |
| 237 | Unless otherwise noted, all the fixes since v1.8.2 in the maintenance |
| 238 | track are contained in this release (see release notes to them for |
| 239 | details). |
Junio C Hamano | 7b9a419 | 2013-03-19 12:30:25 -0700 | [diff] [blame] | 240 | |
Junio C Hamano | de0977d | 2013-05-01 15:32:24 -0700 | [diff] [blame] | 241 | * Recent versions of File::Temp (used by "git svn") started blowing |
| 242 | up when its tempfile sub is called as a class method; updated the |
| 243 | callsite to call it as a plain vanilla function to fix it. |
| 244 | (merge eafc2dd hb/git-pm-tempfile later to maint). |
| 245 | |
| 246 | * Various subcommands of "git remote" simply ignored extraneous |
| 247 | command line arguments instead of diagnosing them as errors. |
Junio C Hamano | de0977d | 2013-05-01 15:32:24 -0700 | [diff] [blame] | 248 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 249 | * When receive-pack detects an error in the pack header it received in |
Junio C Hamano | 562af5b | 2013-04-23 11:27:15 -0700 | [diff] [blame] | 250 | order to decide which of unpack-objects or index-pack to run, it |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 251 | returned without closing the error stream, which led to a hung |
Junio C Hamano | 562af5b | 2013-04-23 11:27:15 -0700 | [diff] [blame] | 252 | sideband thread. |
Junio C Hamano | 562af5b | 2013-04-23 11:27:15 -0700 | [diff] [blame] | 253 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 254 | * Zsh completion forgot that the '%' character used to signal untracked |
Junio C Hamano | 562af5b | 2013-04-23 11:27:15 -0700 | [diff] [blame] | 255 | files needs to be escaped with another '%'. |
Junio C Hamano | 562af5b | 2013-04-23 11:27:15 -0700 | [diff] [blame] | 256 | |
Junio C Hamano | 3d88f83 | 2013-04-22 11:18:43 -0700 | [diff] [blame] | 257 | * A commit object whose author or committer ident are malformed |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 258 | crashed some code that trusted that a name, an email and a |
Junio C Hamano | 3d88f83 | 2013-04-22 11:18:43 -0700 | [diff] [blame] | 259 | timestamp can always be found in it. |
Junio C Hamano | 3d88f83 | 2013-04-22 11:18:43 -0700 | [diff] [blame] | 260 | |
Junio C Hamano | d2949c7 | 2013-04-19 13:53:44 -0700 | [diff] [blame] | 261 | * When "upload-pack" fails while generating a pack in response to |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 262 | "git fetch" (or "git clone"), the receiving side had |
| 263 | a programming error that triggered the die handler |
Junio C Hamano | d2949c7 | 2013-04-19 13:53:44 -0700 | [diff] [blame] | 264 | recursively. |
Junio C Hamano | d2949c7 | 2013-04-19 13:53:44 -0700 | [diff] [blame] | 265 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 266 | * "rev-list --stdin" and friends kept bogus pointers into the input |
| 267 | buffer around as human readable object names. This was not a huge |
Junio C Hamano | d2949c7 | 2013-04-19 13:53:44 -0700 | [diff] [blame] | 268 | problem but was exposed by a new change that uses these names in |
| 269 | error output. |
Junio C Hamano | d2949c7 | 2013-04-19 13:53:44 -0700 | [diff] [blame] | 270 | |
Junio C Hamano | 1468a58 | 2013-04-18 12:02:42 -0700 | [diff] [blame] | 271 | * Smart-capable HTTP servers were not restricted via the |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 272 | GIT_NAMESPACE mechanism when talking with commit-walking clients, |
| 273 | like they are when talking with smart HTTP clients. |
Junio C Hamano | 1468a58 | 2013-04-18 12:02:42 -0700 | [diff] [blame] | 274 | (merge 6130f86 jk/http-dumb-namespaces later to maint). |
| 275 | |
| 276 | * "git merge-tree" did not omit a merge result that is identical to |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 277 | the "our" side in certain cases. |
Junio C Hamano | 1468a58 | 2013-04-18 12:02:42 -0700 | [diff] [blame] | 278 | (merge aacecc3 jk/merge-tree-added-identically later to maint). |
| 279 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 280 | * Perl scripts like "git-svn" closed (instead of redirecting to /dev/null) |
Junio C Hamano | aec3f77 | 2013-04-15 12:45:15 -0700 | [diff] [blame] | 281 | the standard error stream, which is not a very smart thing to do. |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 282 | A later open may return file descriptor #2 for an unrelated purpose, and |
| 283 | error reporting code may write into it. |
Junio C Hamano | aec3f77 | 2013-04-15 12:45:15 -0700 | [diff] [blame] | 284 | |
| 285 | * "git show-branch" was not prepared to show a very long run of |
| 286 | ancestor operators e.g. foobar^2~2^2^2^2...^2~4 correctly. |
Junio C Hamano | aec3f77 | 2013-04-15 12:45:15 -0700 | [diff] [blame] | 287 | |
| 288 | * "git diff --diff-algorithm algo" is also understood as "git diff |
| 289 | --diff-algorithm=algo". |
Junio C Hamano | aec3f77 | 2013-04-15 12:45:15 -0700 | [diff] [blame] | 290 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 291 | * The new core.commentchar configuration was not applied in a few |
Junio C Hamano | aec3f77 | 2013-04-15 12:45:15 -0700 | [diff] [blame] | 292 | places. |
Junio C Hamano | aec3f77 | 2013-04-15 12:45:15 -0700 | [diff] [blame] | 293 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 294 | * "git bundle" erroneously bailed out when parsing a valid bundle |
| 295 | containing a prerequisite commit without a commit message. |
Junio C Hamano | aec3f77 | 2013-04-15 12:45:15 -0700 | [diff] [blame] | 296 | |
Junio C Hamano | 7ece7ee | 2013-04-11 16:03:55 -0700 | [diff] [blame] | 297 | * "git log -S/-G" started paying attention to textconv filter, but |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 298 | there was no way to disable this. Make it honor the --no-textconv |
Junio C Hamano | 7ece7ee | 2013-04-11 16:03:55 -0700 | [diff] [blame] | 299 | option. |
Junio C Hamano | 7ece7ee | 2013-04-11 16:03:55 -0700 | [diff] [blame] | 300 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 301 | * When used with the "-d temporary-directory" option, "git filter-branch" |
Junio C Hamano | c17b651 | 2013-04-07 14:40:26 -0700 | [diff] [blame] | 302 | failed to come back to the original working tree to perform the |
| 303 | final clean-up procedure. |
Junio C Hamano | c17b651 | 2013-04-07 14:40:26 -0700 | [diff] [blame] | 304 | |
Junio C Hamano | 21ccebe | 2013-04-05 14:19:57 -0700 | [diff] [blame] | 305 | * "git merge $(git rev-parse v1.8.2)" behaved quite differently from |
| 306 | "git merge v1.8.2", as if v1.8.2 were written as v1.8.2^0 and did |
| 307 | not pay much attention to the annotated tag payload. Make the code |
| 308 | notice the type of the tag object, in addition to the dwim_ref() |
| 309 | based classification the current code uses (i.e. the name appears |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 310 | in refs/tags/) to decide when to special-case tag merging. |
Junio C Hamano | 21ccebe | 2013-04-05 14:19:57 -0700 | [diff] [blame] | 311 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 312 | * Fix a 1.8.1.x regression that stopped matching "dir" (without a |
Junio C Hamano | 8d994db | 2013-04-03 09:43:47 -0700 | [diff] [blame] | 313 | trailing slash) to a directory "dir". |
Junio C Hamano | 8d994db | 2013-04-03 09:43:47 -0700 | [diff] [blame] | 314 | |
| 315 | * "git apply --whitespace=fix" was not prepared to see a line getting |
| 316 | longer after fixing whitespaces (e.g. tab-in-indent aka Python). |
Junio C Hamano | 8d994db | 2013-04-03 09:43:47 -0700 | [diff] [blame] | 317 | |
| 318 | * The prompt string generator (in contrib/completion/) did not notice |
| 319 | when we are in a middle of a "git revert" session. |
Junio C Hamano | 8d994db | 2013-04-03 09:43:47 -0700 | [diff] [blame] | 320 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 321 | * "submodule summary --summary-limit" option did not support the |
Junio C Hamano | 8d994db | 2013-04-03 09:43:47 -0700 | [diff] [blame] | 322 | "--option=value" form. |
Junio C Hamano | 8d994db | 2013-04-03 09:43:47 -0700 | [diff] [blame] | 323 | |
Junio C Hamano | 7ece7ee | 2013-04-11 16:03:55 -0700 | [diff] [blame] | 324 | * "index-pack --fix-thin" used an uninitialized value to compute |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 325 | the delta depths of objects it appends to the resulting pack. |
Junio C Hamano | cc3e4eb | 2013-04-01 09:13:31 -0700 | [diff] [blame] | 326 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 327 | * "index-pack --verify-stat" used a few counters outside the protection |
| 328 | of a mutex, possibly showing incorrect numbers. |
Junio C Hamano | cc3e4eb | 2013-04-01 09:13:31 -0700 | [diff] [blame] | 329 | |
| 330 | * The code to keep track of what directory names are known to Git on |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 331 | platforms with case insensitive filesystems could get confused upon a |
| 332 | hash collision between these pathnames and would loop forever. |
Junio C Hamano | cc3e4eb | 2013-04-01 09:13:31 -0700 | [diff] [blame] | 333 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 334 | * Annotated tags outside the refs/tags/ hierarchy were not advertised |
| 335 | correctly to ls-remote and fetch with recent versions of Git. |
Junio C Hamano | 7632cd2 | 2013-03-25 14:08:00 -0700 | [diff] [blame] | 336 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 337 | * Recent optimizations broke shallow clones. |
Junio C Hamano | 7632cd2 | 2013-03-25 14:08:00 -0700 | [diff] [blame] | 338 | |
| 339 | * "git cmd -- ':(top'" was not diagnosed as an invalid syntax, and |
| 340 | instead the parser kept reading beyond the end of the string. |
Junio C Hamano | 7632cd2 | 2013-03-25 14:08:00 -0700 | [diff] [blame] | 341 | |
| 342 | * "git tag -f <tag>" always said "Updated tag '<tag>'" even when |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 343 | creating a new tag (i.e. neither overwriting nor updating). |
Junio C Hamano | 7632cd2 | 2013-03-25 14:08:00 -0700 | [diff] [blame] | 344 | |
| 345 | * "git p4" did not behave well when the path to the root of the P4 |
| 346 | client was not its real path. |
| 347 | (merge bbd8486 pw/p4-symlinked-root later to maint). |
| 348 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 349 | * "git archive" reported a failure when asked to create an archive out |
| 350 | of an empty tree. It is more intuitive to give an empty |
Junio C Hamano | 7632cd2 | 2013-03-25 14:08:00 -0700 | [diff] [blame] | 351 | archive back in such a case. |
Junio C Hamano | 7632cd2 | 2013-03-25 14:08:00 -0700 | [diff] [blame] | 352 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 353 | * When "format-patch" quoted a non-ascii string in header files, |
Junio C Hamano | 7632cd2 | 2013-03-25 14:08:00 -0700 | [diff] [blame] | 354 | it incorrectly applied rfc2047 and chopped a single character in |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 355 | the middle of the string. |
Junio C Hamano | 7632cd2 | 2013-03-25 14:08:00 -0700 | [diff] [blame] | 356 | |
| 357 | * An aliased command spawned from a bare repository that does not say |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 358 | it is bare with "core.bare = yes" was treated as non-bare by mistake. |
Junio C Hamano | 7632cd2 | 2013-03-25 14:08:00 -0700 | [diff] [blame] | 359 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 360 | * In "git reflog expire", the REACHABLE bit was not cleared from the |
Junio C Hamano | 7632cd2 | 2013-03-25 14:08:00 -0700 | [diff] [blame] | 361 | correct objects. |
Junio C Hamano | 7632cd2 | 2013-03-25 14:08:00 -0700 | [diff] [blame] | 362 | |
| 363 | * The logic used by "git diff -M --stat" to shorten the names of |
| 364 | files before and after a rename did not work correctly when the |
| 365 | common prefix and suffix between the two filenames overlapped. |
Junio C Hamano | 7632cd2 | 2013-03-25 14:08:00 -0700 | [diff] [blame] | 366 | |
| 367 | * The "--match=<pattern>" option of "git describe", when used with |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 368 | "--all" to allow refs that are not annotated tags to be a |
Junio C Hamano | 7632cd2 | 2013-03-25 14:08:00 -0700 | [diff] [blame] | 369 | base of description, did not restrict the output from the command |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 370 | to those refs that match the given pattern. |
Junio C Hamano | 7632cd2 | 2013-03-25 14:08:00 -0700 | [diff] [blame] | 371 | |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 372 | * Clarify in the documentation "what" gets pushed to "where" when the |
| 373 | command line to "git push" does not say these explicitly. |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 374 | |
Junio C Hamano | 7b9a419 | 2013-03-19 12:30:25 -0700 | [diff] [blame] | 375 | * The "--color=<when>" argument to the commands in the diff family |
| 376 | was described poorly. |
Junio C Hamano | 7b9a419 | 2013-03-19 12:30:25 -0700 | [diff] [blame] | 377 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 378 | * The arguments given to the pre-rebase hook were not documented. |
Junio C Hamano | 7b9a419 | 2013-03-19 12:30:25 -0700 | [diff] [blame] | 379 | |
| 380 | * The v4 index format was not documented. |
Junio C Hamano | 7b9a419 | 2013-03-19 12:30:25 -0700 | [diff] [blame] | 381 | |
| 382 | * The "--match=<pattern>" argument "git describe" takes uses glob |
| 383 | pattern but it wasn't obvious from the documentation. |
Junio C Hamano | 7b9a419 | 2013-03-19 12:30:25 -0700 | [diff] [blame] | 384 | |
| 385 | * Some sources failed to compile on systems that lack NI_MAXHOST in |
| 386 | their system header (e.g. z/OS). |
Junio C Hamano | 7b9a419 | 2013-03-19 12:30:25 -0700 | [diff] [blame] | 387 | |
| 388 | * Add an example use of "--env-filter" in "filter-branch" |
| 389 | documentation. |
Junio C Hamano | 7b9a419 | 2013-03-19 12:30:25 -0700 | [diff] [blame] | 390 | |
| 391 | * "git bundle verify" did not say "records a complete history" for a |
| 392 | bundle that does not have any prerequisites. |
Junio C Hamano | 7b9a419 | 2013-03-19 12:30:25 -0700 | [diff] [blame] | 393 | |
| 394 | * In the v1.8.0 era, we changed symbols that do not have to be global |
| 395 | to file scope static, but a few functions in graph.c were used by |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 396 | CGit sideways, bypassing the entry points of the API the |
Junio C Hamano | 7b9a419 | 2013-03-19 12:30:25 -0700 | [diff] [blame] | 397 | in-tree users use. |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 398 | |
| 399 | * "git update-index -h" did not do the usual "-h(elp)" thing. |
| 400 | |
| 401 | * "git index-pack" had a buffer-overflow while preparing an |
| 402 | informational message when the translated version of it was too |
| 403 | long. |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 404 | |
| 405 | * 'git commit -m "$msg"' used to add an extra newline even when |
| 406 | $msg already ended with one. |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 407 | |
| 408 | * The SSL peer verification done by "git imap-send" did not ask for |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 409 | Server Name Indication (RFC 4366), failing to connect to SSL/TLS |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 410 | sites that serve multiple hostnames on a single IP. |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 411 | |
| 412 | * perl/Git.pm::cat_blob slurped everything in core only to write it |
| 413 | out to a file descriptor, which was not a very smart thing to do. |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 414 | |
| 415 | * "git branch" did not bother to check nonsense command line |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 416 | parameters. It now issues errors in many cases. |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 417 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 418 | * Verification of signed tags was not done correctly when not in C |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 419 | or en/US locale. |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 420 | |
| 421 | * Some platforms and users spell UTF-8 differently; retry with the |
| 422 | most official "UTF-8" when the system does not understand the |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 423 | user-supplied encoding name that is a common alternative |
| 424 | spelling of UTF-8. |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 425 | |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 426 | * When export-subst is used, "zip" output recorded an incorrect |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 427 | size of the file. |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 428 | |
| 429 | * "git am $maildir/" applied messages in an unexpected order; sort |
| 430 | filenames read from the maildir/ in a way that is more likely to |
Marc Branchaud | e7a3c90 | 2013-04-29 15:15:04 -0400 | [diff] [blame] | 431 | sort the messages in the order the writing MUA meant to, by sorting |
| 432 | numeric segments in numeric order and non-numeric segments in |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 433 | alphabetical order. |
Junio C Hamano | 7b592fa | 2013-03-21 15:29:42 -0700 | [diff] [blame] | 434 | |
| 435 | * "git submodule update", when recursed into sub-submodules, did not |
Junio C Hamano | 7ece7ee | 2013-04-11 16:03:55 -0700 | [diff] [blame] | 436 | accumulate the prefix paths. |