* [ANNOUNCE] Git v1.8.3-rc0
@ 2013-04-27 0:22 Junio C Hamano
2013-04-27 2:24 ` shawn wilson
` (2 more replies)
0 siblings, 3 replies; 16+ messages in thread
From: Junio C Hamano @ 2013-04-27 0:22 UTC (permalink / raw)
To: git; +Cc: Linux Kernel
A release candidate preview Git v1.8.3-rc0 is now available for
testing at the usual places.
The release tarballs are found at:
http://code.google.com/p/git-core/downloads/list
and their SHA-1 checksums are:
f0b0b415f0c693865895c1918859b12c4a7d5b17 git-1.8.3.rc0.tar.gz
089efc61b3d45504cb53003719d1bb3d953a41a8 git-htmldocs-1.8.3.rc0.tar.gz
57a6e889667597f2699e4d6fb97c8cf6e595cb4a git-manpages-1.8.3.rc0.tar.gz
Also the following public repositories all have a copy of the v1.8.3-rc0
tag and the master branch that the tag points at:
url = https://kernel.googlesource.com/pub/scm/git/git
url = git://repo.or.cz/alt-git.git
url = https://code.google.com/p/git-core/
url = git://git.sourceforge.jp/gitroot/git-core/git.git
url = git://git-core.git.sourceforge.net/gitroot/git-core/git-core
url = https://github.com/gitster/git
Git v1.8.3 Release Notes (draft)
========================
Backward compatibility notes (for Git 2.0)
------------------------------------------
When "git push [$there]" does not say what to push, we have used the
traditional "matching" semantics so far (all your branches were sent
to the remote as long as there already are branches of the same name
over there). In Git 2.0, the default will change to the "simple"
semantics that pushes the current branch to the branch with the same
name, only when the current branch is set to integrate with that
remote branch. There is a user preference configuration variable
"push.default" to change this. If you are an old-timer who is used
to the "matching" semantics, you can set it to "matching" to keep the
traditional behaviour. If you want to live in the future early,
you can set it to "simple" today without waiting for Git 2.0.
When "git add -u" and "git add -A", that does not specify what paths
to add on the command line is run from inside a subdirectory, these
commands will operate on the entire tree in Git 2.0 for consistency
with "git commit -a" and other commands. Because there will be no
mechanism to make "git add -u" behave as if "git add -u .", it is
important for those who are used to "git add -u" (without pathspec)
updating the index only for paths in the current subdirectory to start
training their fingers to explicitly say "git add -u ." when they mean
it before Git 2.0 comes. A warning is issued when these commands are
run without a pathspec and when you have local changes outside the
current directory, because the behaviour in Git 2.0 will be different
from today's version in such a situation.
In Git 2.0, "git add <path>" will behave as "git add -A <path>", so
that "git add dir/" will notice paths you removed from the directory
and record the removal. Versions before Git 2.0, including this
release, will keep ignoring removals, but the users who rely on this
behaviour is encouraged to use "git add --ignore-removal <path>" and
get used to it.
Updates since v1.8.2
--------------------
Foreign interface
* remote-hg and remote-bzr helpers (in contrib/) have been updated.
UI, Workflows & Features
* "git branch --vv" learned to paint the name of the branch it
integrates with in a different color (color.branch.upstream,
which defaults to blue).
* In a sparsely populated working tree, "git checkout <pathspec>" no
longer unmarks paths that match the given pathspec that were
originally ignored with "--sparse" (use --ignore-skip-worktree-bits
option to resurrect these paths out of the index if you really want
to).
* "git log --format" specifier learned %C(auto) token that tells Git
to use color when interpolating %d (decoration), %h (short commit
object name), etc. for terminal output.
* "git bisect" leaves the final outcome as a comment in its bisect
log file.
* "git clone --reference" can now refer to a gitfile "textual symlink"
that points at the real location of the repository.
* "git count-objects" learned "--human-readable" aka "-H" option to
show various large numbers in Ki/Mi/GiB scaled as necessary.
* "git cherry-pick $blob" and "git cherry-pick $tree" are nonsense,
and a more readable error message e.g. "can't cherry-pick a tree"
is given (we used to say "expected exactly one commit").
* The "--annotate" option to "git send-email" can be turned on (or
off) by default with sendemail.annotate configuration variable (you
can use --no-annotate from the command line to override it).
* The "--cover-letter" option to "git format-patch" can be turned on
(or off) by default with format.coverLetter configuration
variable. By setting it to 'auto', you can turn it on only for a
series with two or more patches.
* The bash completion support (in contrib/) learned that cherry-pick
takes a few more options than it already knew about.
* "git help" learned "-g" option to show the list of guides just like
list of commands are given with "-a".
* A triangular "pull from one place, push to another place" workflow
is supported better by new remote.pushdefault (overrides the
"origin" thing) and branch.*.pushremote (overrides the
branch.*.remote) configuration variables.
* "git status" learned to report that you are in the middle of a
revert session, just like it does for a cherry-pick and a bisect
session.
* The handling by "git branch --set-upstream-to" against various forms
of erroneous inputs was suboptimal and has been improved.
* When the interactive access to git-shell is not enabled, it issues
a message meant to help the system administrator to enable it.
An explicit way to help the end users who connect to the service by
issuing custom messages to refuse such an access has been added.
* In addition to the case where the user edits the log message with
the "e)dit" option of "am -i", replace the "Applying: this patch"
message with the final log message contents after applymsg hook
munges it.
* "git status" suggests users to look into using --untracked=no option
when it takes too long.
* "git status" shows a bit more information to "git status" during a
rebase/bisect session.
* "git fetch" learned to fetch a commit at the tip of an unadvertised
ref by specifying a raw object name from the command line when the
server side supports this feature.
* Output from "git log --graph" works better with submodule log
output now.
* "git count-objects -v" learned to report leftover temporary
packfiles and other garbage in the object store.
* A new read-only credential helper (in contrib/) to interact with
the .netrc/.authinfo files has been added.
* "git send-email" can be used with the credential helper system.
* There was no Porcelain way to say "I no longer am interested in
this submodule", once you express your interest in a submodule with
"submodule init". "submodule deinit" is the way to do so.
* "git pull --rebase" learned to pass "-v/-q" options to underlying
"git rebase".
* The new "--follow-tags" option tells "git push" to push relevant
annotated tags when pushing branches out.
* "git merge" and "git pull" can optionally be told to inspect and
reject when merging a commit that does not carry a trusted GPG
signature.
* "git mergetool" now feeds files to the "p4merge" backend in the
order that matches the p4 convention, where "theirs" is usually
shown on the left side, which is the opposite from other backend
expects.
* "show/log" now honors gpg.program configuration just like other
parts of the code that use GnuPG.
* "git log" that shows the difference between the parent and the
child has been optimized somewhat.
* "git difftool" allows the user to write into the temporary files
being shown; if the user makes changes to the working tree at the
same time, one of the changes has to be lost in such a case, but it
tells the user what happened and refrains from overwriting the copy
in the working tree.
* There was no good way to ask "I have a random string that came from
outside world. I want to turn it into a 40-hex object name while
making sure such an object exists". A new peeling suffix ^{object}
can be used for that purpose, together with "rev-parse --verify".
Performance, Internal Implementation, etc.
* Updates for building under msvc.
* A handful of issues in the code to traverse working tree to find
untracked and/or ignored files have been fixed, and the general
codepath involved in "status -u" and "clean" have been cleaned up
and optimized.
* The stack footprint of some codepaths that access an object from a
pack has been shrunk.
* The logic to coalesce the same lines removed from the parents in
the output from "diff -c/--cc" has been updated, but with an O(n^2)
complexity, so this might turn out to be undesirable.
* The code to enforce permission bits on files in $GIT_DIR/ for
shared repositories have been simplified.
* A few codepaths knew how much data they need to put in the
hashtables they use upfront, but still started from a small table
repeatedly growing and rehashing.
* The API to walk reflog entries from the latest to older, which was
necessary for operations such as "git checkout -", was cumbersome
to use correctly and also inefficient.
* Codepaths that inspect log-message-to-be and decide when to add a
new Signed-off-by line in various commands have been consolidated.
* The pkt-line API, implementation and its callers have been cleaned
up to make them more robust.
* Cygwin port has a faster-but-lying lstat(2) emulation whose
incorrectness does not matter in practice except for a few
codepaths, and setting permission bits to directories is a codepath
that needs to use a more correct one.
* "git checkout" had repeated pathspec matches on the same paths,
which have been consolidated. Also a bug in "git checkout dir/"
that is started from an unmerged index has been fixed.
* A few bugfixes to "git rerere" working on corner case merge
conflicts have been applied.
Also contains various documentation updates and code clean-ups.
Fixes since v1.8.2
------------------
Unless otherwise noted, all the fixes since v1.8.2 in the maintenance
track are contained in this release (see release notes to them for
details).
* When receive-pack detects error in the pack header it received in
order to decide which of unpack-objects or index-pack to run, it
returned without closing the error stream, which led to a hang
sideband thread.
* Zsh completion forgot that '%' character used to signal untracked
files needs to be escaped with another '%'.
* A commit object whose author or committer ident are malformed
crashed some code that trusted that a name, an email and an
timestamp can always be found in it.
* When "upload-pack" fails while generating a pack in response to
"git fetch" (or "git clone"), the receiving side mistakenly said
there was a programming error to trigger the die handler
recursively.
* "rev-list --stdin" and friends kept bogus pointers into input
buffer around as human readble object names. This was not a huge
problem but was exposed by a new change that uses these names in
error output.
(merge 70d26c6 tr/copy-revisions-from-stdin later to maint).
* Smart-capable HTTP servers were not restricted via the
GIT_NAMESPACE mechanism when talking with commit-walker clients,
like they do when talking with smart HTTP clients.
(merge 6130f86 jk/http-dumb-namespaces later to maint).
* "git merge-tree" did not omit a merge result that is identical to
"our" side in certain cases.
(merge aacecc3 jk/merge-tree-added-identically later to maint).
* Perl scripts like "git-svn" closed (not redirecting to /dev/null)
the standard error stream, which is not a very smart thing to do.
Later open may return file descriptor #2 for unrelated purpose, and
error reporting code may write into them.
* "git show-branch" was not prepared to show a very long run of
ancestor operators e.g. foobar^2~2^2^2^2...^2~4 correctly.
* "git diff --diff-algorithm algo" is also understood as "git diff
--diff-algorithm=algo".
* The new core.commentchar configuration was not applied to a few
places.
* "git bundle" did not like a bundle created using a commit without
any message as its one of the prerequistes.
* "git log -S/-G" started paying attention to textconv filter, but
there was no way to disable this. Make it honor --no-textconv
option.
* When used with "-d temporary-directory" option, "git filter-branch"
failed to come back to the original working tree to perform the
final clean-up procedure.
* "git merge $(git rev-parse v1.8.2)" behaved quite differently from
"git merge v1.8.2", as if v1.8.2 were written as v1.8.2^0 and did
not pay much attention to the annotated tag payload. Make the code
notice the type of the tag object, in addition to the dwim_ref()
based classification the current code uses (i.e. the name appears
in refs/tags/) to decide when to special case merging of tags.
* Fix 1.8.1.x regression that stopped matching "dir" (without
trailing slash) to a directory "dir".
(merge efa5f82 jc/directory-attrs-regression-fix later to maint-1.8.1).
* "git apply --whitespace=fix" was not prepared to see a line getting
longer after fixing whitespaces (e.g. tab-in-indent aka Python).
(merge 329b26e jc/apply-ws-fix-tab-in-indent later to maint-1.8.1).
* The prompt string generator (in contrib/completion/) did not notice
when we are in a middle of a "git revert" session.
* "submodule summary --summary-limit" option did not support
"--option=value" form.
* "index-pack --fix-thin" used an uninitialized value to compute
delta depths of objects it appends to the resulting pack.
* "index-pack --verify-stat" used a few counters outside protection
of mutex, possibly showing incorrect numbers.
* The code to keep track of what directory names are known to Git on
platforms with case insensitive filesystems can get confused upon a
hash collision between these pathnames and looped forever.
* Annotated tags outside refs/tags/ hierarchy were not advertised
correctly to the ls-remote and fetch with recent version of Git.
* Recent optimization broke shallow clones.
* "git cmd -- ':(top'" was not diagnosed as an invalid syntax, and
instead the parser kept reading beyond the end of the string.
* "git tag -f <tag>" always said "Updated tag '<tag>'" even when
creating a new tag (i.e. not overwriting nor updating).
* "git p4" did not behave well when the path to the root of the P4
client was not its real path.
(merge bbd8486 pw/p4-symlinked-root later to maint).
* "git archive" reports a failure when asked to create an archive out
of an empty tree. It would be more intuitive to give an empty
archive back in such a case.
* When "format-patch" quoted a non-ascii strings on the header files,
it incorrectly applied rfc2047 and chopped a single character in
the middle of it.
* An aliased command spawned from a bare repository that does not say
it is bare with "core.bare = yes" is treated as non-bare by mistake.
* In "git reflog expire", REACHABLE bit was not cleared from the
correct objects.
* The logic used by "git diff -M --stat" to shorten the names of
files before and after a rename did not work correctly when the
common prefix and suffix between the two filenames overlapped.
* The "--match=<pattern>" option of "git describe", when used with
"--all" to allow refs that are not annotated tags to be used as a
base of description, did not restrict the output from the command
to those that match the given pattern.
* Clarify in the documentation "what" gets pushed to "where" when the
command line to "git push" does not say these explicitly.
* The "--color=<when>" argument to the commands in the diff family
was described poorly.
* The arguments given to pre-rebase hook were not documented.
* The v4 index format was not documented.
* The "--match=<pattern>" argument "git describe" takes uses glob
pattern but it wasn't obvious from the documentation.
* Some sources failed to compile on systems that lack NI_MAXHOST in
their system header (e.g. z/OS).
* Add an example use of "--env-filter" in "filter-branch"
documentation.
* "git bundle verify" did not say "records a complete history" for a
bundle that does not have any prerequisites.
* In the v1.8.0 era, we changed symbols that do not have to be global
to file scope static, but a few functions in graph.c were used by
CGit from sideways bypassing the entry points of the API the
in-tree users use.
* "git update-index -h" did not do the usual "-h(elp)" thing.
* "git index-pack" had a buffer-overflow while preparing an
informational message when the translated version of it was too
long.
* 'git commit -m "$msg"' used to add an extra newline even when
$msg already ended with one.
* The SSL peer verification done by "git imap-send" did not ask for
Server Name Indication (RFC 4366), failing to connect SSL/TLS
sites that serve multiple hostnames on a single IP.
* perl/Git.pm::cat_blob slurped everything in core only to write it
out to a file descriptor, which was not a very smart thing to do.
* "git branch" did not bother to check nonsense command line
parameters and issue errors in many cases.
* Verification of signed tags were not done correctly when not in C
or en/US locale.
* Some platforms and users spell UTF-8 differently; retry with the
most official "UTF-8" when the system does not understand the
user-supplied encoding name that are the common alternative
spellings of UTF-8.
* When export-subst is used, "zip" output recorded incorrect
size of the file.
* "git am $maildir/" applied messages in an unexpected order; sort
filenames read from the maildir/ in a way that is more likely to
sort messages in the order the writing MUA meant to, by sorting
numeric segment in numeric order and non-numeric segment in
alphabetical order.
* "git submodule update", when recursed into sub-submodules, did not
accumulate the prefix paths.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ANNOUNCE] Git v1.8.3-rc0
2013-04-27 0:22 [ANNOUNCE] Git v1.8.3-rc0 Junio C Hamano
@ 2013-04-27 2:24 ` shawn wilson
2013-04-27 5:32 ` Michael Haggerty
2013-04-27 9:18 ` John Keeping
2013-04-29 19:15 ` [PATCH] Fix grammar in the 1.8.3 release notes Marc Branchaud
2 siblings, 1 reply; 16+ messages in thread
From: shawn wilson @ 2013-04-27 2:24 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git, Linux Kernel
On Fri, Apr 26, 2013 at 8:22 PM, Junio C Hamano <gitster@pobox.com> wrote:
> * There was no good way to ask "I have a random string that came from
> outside world. I want to turn it into a 40-hex object name while
> making sure such an object exists". A new peeling suffix ^{object}
> can be used for that purpose, together with "rev-parse --verify".
>
What does this mean / what is the reason behind this? I can only think
it might be useful in a test suite to make sure git isn't doing
anything stupid with hashes...?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ANNOUNCE] Git v1.8.3-rc0
2013-04-27 2:24 ` shawn wilson
@ 2013-04-27 5:32 ` Michael Haggerty
2013-04-28 21:12 ` Junio C Hamano
0 siblings, 1 reply; 16+ messages in thread
From: Michael Haggerty @ 2013-04-27 5:32 UTC (permalink / raw)
To: shawn wilson; +Cc: Junio C Hamano, git, Linux Kernel
On 04/27/2013 04:24 AM, shawn wilson wrote:
> On Fri, Apr 26, 2013 at 8:22 PM, Junio C Hamano <gitster@pobox.com> wrote:
>
>> * There was no good way to ask "I have a random string that came from
>> outside world. I want to turn it into a 40-hex object name while
>> making sure such an object exists". A new peeling suffix ^{object}
>> can be used for that purpose, together with "rev-parse --verify".
>>
>
> What does this mean / what is the reason behind this? I can only think
> it might be useful in a test suite to make sure git isn't doing
> anything stupid with hashes...?
The topic is discussed here:
http://git.661346.n2.nabble.com/Bug-in-quot-git-rev-parse-verify-quot-td7580929.html
As discussed in the thread, when verifying that an argument names an
existing object, it is usually also appropriate to verify that the named
object is of a particular type (or can be converted to a particular
type), which could already be done with syntax like
"$userstring^{commit}". But if, for example, you want to avoid
unwrapping tags but also want to verify that the named object really
exists, "$userstring^{object}" now provides a way.
And what do you have against test suites? :-)
Michael
--
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ANNOUNCE] Git v1.8.3-rc0
2013-04-27 0:22 [ANNOUNCE] Git v1.8.3-rc0 Junio C Hamano
2013-04-27 2:24 ` shawn wilson
@ 2013-04-27 9:18 ` John Keeping
2013-04-29 3:31 ` Junio C Hamano
2013-04-29 19:15 ` [PATCH] Fix grammar in the 1.8.3 release notes Marc Branchaud
2 siblings, 1 reply; 16+ messages in thread
From: John Keeping @ 2013-04-27 9:18 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
On Fri, Apr 26, 2013 at 05:22:22PM -0700, Junio C Hamano wrote:
> * "git difftool" allows the user to write into the temporary files
> being shown; if the user makes changes to the working tree at the
> same time, one of the changes has to be lost in such a case, but it
> tells the user what happened and refrains from overwriting the copy
> in the working tree.
This feels slightly misleading to me, perhaps something like this would
be clearer?
"git difftool" allows the user to write into the temporary files
being shown; if the user makes changes to the working tree at the
same time, it now refrains from overwriting the copy in the working
tree and leaves the temporary file so that changes can be merged
manually.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ANNOUNCE] Git v1.8.3-rc0
2013-04-27 5:32 ` Michael Haggerty
@ 2013-04-28 21:12 ` Junio C Hamano
0 siblings, 0 replies; 16+ messages in thread
From: Junio C Hamano @ 2013-04-28 21:12 UTC (permalink / raw)
To: Michael Haggerty; +Cc: shawn wilson, git, Linux Kernel
Michael Haggerty <mhagger@alum.mit.edu> writes:
> On 04/27/2013 04:24 AM, shawn wilson wrote:
>> On Fri, Apr 26, 2013 at 8:22 PM, Junio C Hamano <gitster@pobox.com> wrote:
>>
>>> * There was no good way to ask "I have a random string that came from
>>> outside world. I want to turn it into a 40-hex object name while
>>> making sure such an object exists". A new peeling suffix ^{object}
>>> can be used for that purpose, together with "rev-parse --verify".
>>>
>>
>> What does this mean / what is the reason behind this? I can only think
>> it might be useful in a test suite to make sure git isn't doing
>> anything stupid with hashes...?
>
> The topic is discussed here:
>
> http://git.661346.n2.nabble.com/Bug-in-quot-git-rev-parse-verify-quot-td7580929.html
>
> As discussed in the thread, when verifying that an argument names an
> existing object, it is usually also appropriate to verify that the named
> object is of a particular type (or can be converted to a particular
> type), which could already be done with syntax like
> "$userstring^{commit}". But if, for example, you want to avoid
> unwrapping tags but also want to verify that the named object really
> exists, "$userstring^{object}" now provides a way.
>
> And what do you have against test suites? :-)
And it is not about test in the first place. Git is designed to be
scriptable, and it is not unreasonable for a scripted Porcelain to
want to learn the full object name of the object that is referred to
by a string that it suspects may be an object name. Perhaps you are
feeding the entire git mailing list archive to a script that picks
up any object name in the messages and tallying the number of times
each object is mentioned. Then you would want to key the table that
counts the number of appearances for each object with the object
name, because different message may spell the name of the same
object differently, e.g. f9fc12cf3, v1.8.3-rc0, etc. With a helper
function "found_one_more_instance" that records the fact you saw
another mention of an object, such a program may do something like
this:
tokenize_git_mailing_list_message |
while read userstring
do
canonical=$(git rev-parse $userstring^{object}) &&
found_one_more_instance "$canonical"
done
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [ANNOUNCE] Git v1.8.3-rc0
2013-04-27 9:18 ` John Keeping
@ 2013-04-29 3:31 ` Junio C Hamano
0 siblings, 0 replies; 16+ messages in thread
From: Junio C Hamano @ 2013-04-29 3:31 UTC (permalink / raw)
To: John Keeping; +Cc: git
John Keeping <john@keeping.me.uk> writes:
> On Fri, Apr 26, 2013 at 05:22:22PM -0700, Junio C Hamano wrote:
>> * "git difftool" allows the user to write into the temporary files
>> being shown; if the user makes changes to the working tree at the
>> same time, one of the changes has to be lost in such a case, but it
>> tells the user what happened and refrains from overwriting the copy
>> in the working tree.
>
> This feels slightly misleading to me, perhaps something like this would
> be clearer?
>
> "git difftool" allows the user to write into the temporary files
> being shown; if the user makes changes to the working tree at the
> same time, it now refrains from overwriting the copy in the working
> tree and leaves the temporary file so that changes can be merged
> manually.
Probably. I'll keep the above in my stash and roll it in by -rc1.
Thanks.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH] Fix grammar in the 1.8.3 release notes.
2013-04-27 0:22 [ANNOUNCE] Git v1.8.3-rc0 Junio C Hamano
2013-04-27 2:24 ` shawn wilson
2013-04-27 9:18 ` John Keeping
@ 2013-04-29 19:15 ` Marc Branchaud
2013-04-29 21:15 ` Junio C Hamano
` (3 more replies)
2 siblings, 4 replies; 16+ messages in thread
From: Marc Branchaud @ 2013-04-29 19:15 UTC (permalink / raw)
To: git
Signed-off-by: Marc Branchaud <marcnarc@xiplink.com>
---
This started out as an attempt to make the backward compatibility notes
more parsable, but then I just kept going...
M.
Documentation/RelNotes/1.8.3.txt | 145 +++++++++++++++++++--------------------
1 file changed, 72 insertions(+), 73 deletions(-)
diff --git a/Documentation/RelNotes/1.8.3.txt b/Documentation/RelNotes/1.8.3.txt
index 6d25165..06bc831 100644
--- a/Documentation/RelNotes/1.8.3.txt
+++ b/Documentation/RelNotes/1.8.3.txt
@@ -8,23 +8,22 @@ When "git push [$there]" does not say what to push, we have used the
traditional "matching" semantics so far (all your branches were sent
to the remote as long as there already are branches of the same name
over there). In Git 2.0, the default will change to the "simple"
-semantics that pushes the current branch to the branch with the same
-name, only when the current branch is set to integrate with that
-remote branch. There is a user preference configuration variable
+semantics that pushes only the current branch to the branch with the same
+name, and only when the current branch is set to integrate with that
+remote branch. Use the user preference configuration variable
"push.default" to change this. If you are an old-timer who is used
-to the "matching" semantics, you can set it to "matching" to keep the
+to the "matching" semantics, you can set the varaible to "matching" to keep the
traditional behaviour. If you want to live in the future early,
you can set it to "simple" today without waiting for Git 2.0.
-When "git add -u" and "git add -A", that does not specify what paths
-to add on the command line is run from inside a subdirectory, these
-commands will operate on the entire tree in Git 2.0 for consistency
-with "git commit -a" and other commands. Because there will be no
-mechanism to make "git add -u" behave as if "git add -u .", it is
-important for those who are used to "git add -u" (without pathspec)
-updating the index only for paths in the current subdirectory to start
-training their fingers to explicitly say "git add -u ." when they mean
-it before Git 2.0 comes. A warning is issued when these commands are
+When "git add -u" (and "git add -A") is run inside a subdirectory and
+does not specify which paths to add on the command line, it
+will operate on the entire tree in Git 2.0 for consistency
+with "git commit -a" and other commands. There will be no
+mechanism to make plain "git add -u" behave like "git add -u .".
+Current users of "git add -u" (without a pathspec) should start
+training their fingers to explicitly say "git add -u ."
+before Git 2.0 comes. A warning is issued when these commands are
run without a pathspec and when you have local changes outside the
current directory, because the behaviour in Git 2.0 will be different
from today's version in such a situation.
@@ -33,8 +32,8 @@ In Git 2.0, "git add <path>" will behave as "git add -A <path>", so
that "git add dir/" will notice paths you removed from the directory
and record the removal. Versions before Git 2.0, including this
release, will keep ignoring removals, but the users who rely on this
-behaviour is encouraged to use "git add --ignore-removal <path>" and
-get used to it.
+behaviour are encouraged to start using "git add --ignore-removal <path>"
+now before 2.0 is released.
Updates since v1.8.2
@@ -114,7 +113,7 @@ UI, Workflows & Features
* "git status" suggests users to look into using --untracked=no option
when it takes too long.
- * "git status" shows a bit more information to "git status" during a
+ * "git status" shows a bit more information during a
rebase/bisect session.
* "git fetch" learned to fetch a commit at the tip of an unadvertised
@@ -148,8 +147,8 @@ UI, Workflows & Features
* "git mergetool" now feeds files to the "p4merge" backend in the
order that matches the p4 convention, where "theirs" is usually
- shown on the left side, which is the opposite from other backend
- expects.
+ shown on the left side, which is the opposite from what other backends
+ expect.
* "show/log" now honors gpg.program configuration just like other
parts of the code that use GnuPG.
@@ -173,7 +172,7 @@ Performance, Internal Implementation, etc.
* Updates for building under msvc.
- * A handful of issues in the code to traverse working tree to find
+ * A handful of issues in the code that traverses the working tree to find
untracked and/or ignored files have been fixed, and the general
codepath involved in "status -u" and "clean" have been cleaned up
and optimized.
@@ -182,15 +181,15 @@ Performance, Internal Implementation, etc.
pack has been shrunk.
* The logic to coalesce the same lines removed from the parents in
- the output from "diff -c/--cc" has been updated, but with an O(n^2)
+ the output from "diff -c/--cc" has been updated, but with O(n^2)
complexity, so this might turn out to be undesirable.
* The code to enforce permission bits on files in $GIT_DIR/ for
- shared repositories have been simplified.
+ shared repositories has been simplified.
- * A few codepaths knew how much data they need to put in the
- hashtables they use upfront, but still started from a small table
- repeatedly growing and rehashing.
+ * A few codepaths know how much data they need to put in the
+ hashtables they use when they start, but still began with small tables
+ and repeatedly grew and rehashed them.
* The API to walk reflog entries from the latest to older, which was
necessary for operations such as "git checkout -", was cumbersome
@@ -202,9 +201,9 @@ Performance, Internal Implementation, etc.
* The pkt-line API, implementation and its callers have been cleaned
up to make them more robust.
- * Cygwin port has a faster-but-lying lstat(2) emulation whose
+ * The Cygwin port has a faster-but-lying lstat(2) emulation whose
incorrectness does not matter in practice except for a few
- codepaths, and setting permission bits to directories is a codepath
+ codepaths, and setting permission bits on directories is a codepath
that needs to use a more correct one.
* "git checkout" had repeated pathspec matches on the same paths,
@@ -225,42 +224,42 @@ Unless otherwise noted, all the fixes since v1.8.2 in the maintenance
track are contained in this release (see release notes to them for
details).
- * When receive-pack detects error in the pack header it received in
+ * When receive-pack detects an error in the pack header it received in
order to decide which of unpack-objects or index-pack to run, it
- returned without closing the error stream, which led to a hang
+ returned without closing the error stream, which led to a hung
sideband thread.
- * Zsh completion forgot that '%' character used to signal untracked
+ * Zsh completion forgot that the '%' character used to signal untracked
files needs to be escaped with another '%'.
* A commit object whose author or committer ident are malformed
- crashed some code that trusted that a name, an email and an
+ crashed some code that trusted that a name, an email and a
timestamp can always be found in it.
* When "upload-pack" fails while generating a pack in response to
- "git fetch" (or "git clone"), the receiving side mistakenly said
- there was a programming error to trigger the die handler
+ "git fetch" (or "git clone"), the receiving side had
+ a programming error that triggered the die handler
recursively.
- * "rev-list --stdin" and friends kept bogus pointers into input
+ * "rev-list --stdin" and friends kept bogus pointers into the input
buffer around as human readble object names. This was not a huge
problem but was exposed by a new change that uses these names in
error output.
(merge 70d26c6 tr/copy-revisions-from-stdin later to maint).
* Smart-capable HTTP servers were not restricted via the
- GIT_NAMESPACE mechanism when talking with commit-walker clients,
- like they do when talking with smart HTTP clients.
+ GIT_NAMESPACE mechanism when talking with commit-walking clients,
+ like they are when talking with smart HTTP clients.
(merge 6130f86 jk/http-dumb-namespaces later to maint).
* "git merge-tree" did not omit a merge result that is identical to
- "our" side in certain cases.
+ the "our" side in certain cases.
(merge aacecc3 jk/merge-tree-added-identically later to maint).
- * Perl scripts like "git-svn" closed (not redirecting to /dev/null)
+ * Perl scripts like "git-svn" closed (instead of redirecting to /dev/null)
the standard error stream, which is not a very smart thing to do.
- Later open may return file descriptor #2 for unrelated purpose, and
- error reporting code may write into them.
+ A later open may return file descriptor #2 for an unrelated purpose, and
+ error reporting code may write into it.
* "git show-branch" was not prepared to show a very long run of
ancestor operators e.g. foobar^2~2^2^2^2...^2~4 correctly.
@@ -268,17 +267,17 @@ details).
* "git diff --diff-algorithm algo" is also understood as "git diff
--diff-algorithm=algo".
- * The new core.commentchar configuration was not applied to a few
+ * The new core.commentchar configuration was not applied in a few
places.
* "git bundle" did not like a bundle created using a commit without
- any message as its one of the prerequistes.
+ any message, as it is one of the prerequistes.
* "git log -S/-G" started paying attention to textconv filter, but
- there was no way to disable this. Make it honor --no-textconv
+ there was no way to disable this. Make it honor the --no-textconv
option.
- * When used with "-d temporary-directory" option, "git filter-branch"
+ * When used with the "-d temporary-directory" option, "git filter-branch"
failed to come back to the original working tree to perform the
final clean-up procedure.
@@ -287,9 +286,9 @@ details).
not pay much attention to the annotated tag payload. Make the code
notice the type of the tag object, in addition to the dwim_ref()
based classification the current code uses (i.e. the name appears
- in refs/tags/) to decide when to special case merging of tags.
+ in refs/tags/) to decide when to special-case tag merging.
- * Fix 1.8.1.x regression that stopped matching "dir" (without
+ * Fix a 1.8.1.x regression that stopped matching "dir" (without a
trailing slash) to a directory "dir".
(merge efa5f82 jc/directory-attrs-regression-fix later to maint-1.8.1).
@@ -300,46 +299,46 @@ details).
* The prompt string generator (in contrib/completion/) did not notice
when we are in a middle of a "git revert" session.
- * "submodule summary --summary-limit" option did not support
+ * "submodule summary --summary-limit" option did not support the
"--option=value" form.
* "index-pack --fix-thin" used an uninitialized value to compute
- delta depths of objects it appends to the resulting pack.
+ the delta depths of objects it appends to the resulting pack.
- * "index-pack --verify-stat" used a few counters outside protection
- of mutex, possibly showing incorrect numbers.
+ * "index-pack --verify-stat" used a few counters outside the protection
+ of a mutex, possibly showing incorrect numbers.
* The code to keep track of what directory names are known to Git on
- platforms with case insensitive filesystems can get confused upon a
- hash collision between these pathnames and looped forever.
+ platforms with case insensitive filesystems could get confused upon a
+ hash collision between these pathnames and would loop forever.
- * Annotated tags outside refs/tags/ hierarchy were not advertised
- correctly to the ls-remote and fetch with recent version of Git.
+ * Annotated tags outside the refs/tags/ hierarchy were not advertised
+ correctly to ls-remote and fetch with recent versions of Git.
- * Recent optimization broke shallow clones.
+ * Recent optimizations broke shallow clones.
* "git cmd -- ':(top'" was not diagnosed as an invalid syntax, and
instead the parser kept reading beyond the end of the string.
* "git tag -f <tag>" always said "Updated tag '<tag>'" even when
- creating a new tag (i.e. not overwriting nor updating).
+ creating a new tag (i.e. neither overwriting nor updating).
* "git p4" did not behave well when the path to the root of the P4
client was not its real path.
(merge bbd8486 pw/p4-symlinked-root later to maint).
- * "git archive" reports a failure when asked to create an archive out
- of an empty tree. It would be more intuitive to give an empty
+ * "git archive" reported a failure when asked to create an archive out
+ of an empty tree. It is more intuitive to give an empty
archive back in such a case.
- * When "format-patch" quoted a non-ascii strings on the header files,
+ * When "format-patch" quoted a non-ascii string in header files,
it incorrectly applied rfc2047 and chopped a single character in
- the middle of it.
+ the middle of the string.
* An aliased command spawned from a bare repository that does not say
- it is bare with "core.bare = yes" is treated as non-bare by mistake.
+ it is bare with "core.bare = yes" was treated as non-bare by mistake.
- * In "git reflog expire", REACHABLE bit was not cleared from the
+ * In "git reflog expire", the REACHABLE bit was not cleared from the
correct objects.
* The logic used by "git diff -M --stat" to shorten the names of
@@ -347,9 +346,9 @@ details).
common prefix and suffix between the two filenames overlapped.
* The "--match=<pattern>" option of "git describe", when used with
- "--all" to allow refs that are not annotated tags to be used as a
+ "--all" to allow refs that are not annotated tags to be a
base of description, did not restrict the output from the command
- to those that match the given pattern.
+ to those refs that match the given pattern.
* Clarify in the documentation "what" gets pushed to "where" when the
command line to "git push" does not say these explicitly.
@@ -357,7 +356,7 @@ details).
* The "--color=<when>" argument to the commands in the diff family
was described poorly.
- * The arguments given to pre-rebase hook were not documented.
+ * The arguments given to the pre-rebase hook were not documented.
* The v4 index format was not documented.
@@ -375,7 +374,7 @@ details).
* In the v1.8.0 era, we changed symbols that do not have to be global
to file scope static, but a few functions in graph.c were used by
- CGit from sideways bypassing the entry points of the API the
+ CGit sideways, bypassing the entry points of the API the
in-tree users use.
* "git update-index -h" did not do the usual "-h(elp)" thing.
@@ -388,30 +387,30 @@ details).
$msg already ended with one.
* The SSL peer verification done by "git imap-send" did not ask for
- Server Name Indication (RFC 4366), failing to connect SSL/TLS
+ Server Name Indication (RFC 4366), failing to connect to SSL/TLS
sites that serve multiple hostnames on a single IP.
* perl/Git.pm::cat_blob slurped everything in core only to write it
out to a file descriptor, which was not a very smart thing to do.
* "git branch" did not bother to check nonsense command line
- parameters and issue errors in many cases.
+ parameters. It now issues errors in many cases.
- * Verification of signed tags were not done correctly when not in C
+ * Verification of signed tags was not done correctly when not in C
or en/US locale.
* Some platforms and users spell UTF-8 differently; retry with the
most official "UTF-8" when the system does not understand the
- user-supplied encoding name that are the common alternative
- spellings of UTF-8.
+ user-supplied encoding name that is a common alternative
+ spelling of UTF-8.
- * When export-subst is used, "zip" output recorded incorrect
+ * When export-subst is used, "zip" output recorded an incorrect
size of the file.
* "git am $maildir/" applied messages in an unexpected order; sort
filenames read from the maildir/ in a way that is more likely to
- sort messages in the order the writing MUA meant to, by sorting
- numeric segment in numeric order and non-numeric segment in
+ sort the messages in the order the writing MUA meant to, by sorting
+ numeric segments in numeric order and non-numeric segments in
alphabetical order.
* "git submodule update", when recursed into sub-submodules, did not
--
1.8.2
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix grammar in the 1.8.3 release notes.
2013-04-29 19:15 ` [PATCH] Fix grammar in the 1.8.3 release notes Marc Branchaud
@ 2013-04-29 21:15 ` Junio C Hamano
2013-04-29 21:16 ` Junio C Hamano
2013-04-30 14:28 ` Marc Branchaud
2013-04-29 21:20 ` Junio C Hamano
` (2 subsequent siblings)
3 siblings, 2 replies; 16+ messages in thread
From: Junio C Hamano @ 2013-04-29 21:15 UTC (permalink / raw)
To: Marc Branchaud; +Cc: git
Marc Branchaud <marcnarc@xiplink.com> writes:
> This started out as an attempt to make the backward compatibility notes
> more parsable, but then I just kept going...
Thanks.
> * "git bundle" did not like a bundle created using a commit without
> - any message as its one of the prerequistes.
> + any message, as it is one of the prerequistes.
This is actually saying a different thing.
When you create a bundle, you can say "you can only unbundle this in
a repository that has commit X", with "git bundle create $name ^X Y
Z". Such a commit X is called the bundle's prerequisite. You can
have more than one prerequisite, e.g. "... ^X ^W Y Z".
But if you create a bundle by using a commit that does not have any
message as X (i.e. the bundle's prerequisite), the "git bundle" did
not like to read the resulting bundle output.
So <a commit <without any message> as its (bundle's) one of the
prerequisites> is what the original wanted to say. The rewrite
makes it read like "For a commit, having a message is a requirement
to be used in a bundle", at least to me.
> * "index-pack --fix-thin" used an uninitialized value to compute
> - delta depths of objects it appends to the resulting pack.
> + the delta depths of objects it appends to the resulting pack.
>
> - * "index-pack --verify-stat" used a few counters outside protection
> - of mutex, possibly showing incorrect numbers.
> + * "index-pack --verify-stat" used a few counters outside the protection
> + of a mutex, possibly showing incorrect numbers.
>
> * The code to keep track of what directory names are known to Git on
> - platforms with case insensitive filesystems can get confused upon a
> - hash collision between these pathnames and looped forever.
> + platforms with case insensitive filesystems could get confused upon a
> + hash collision between these pathnames and would loop forever.
>
> - * Annotated tags outside refs/tags/ hierarchy were not advertised
> - correctly to the ls-remote and fetch with recent version of Git.
> + * Annotated tags outside the refs/tags/ hierarchy were not advertised
> + correctly to ls-remote and fetch with recent versions of Git.
>
> - * Recent optimization broke shallow clones.
> + * Recent optimizations broke shallow clones.
>
> * "git cmd -- ':(top'" was not diagnosed as an invalid syntax, and
> instead the parser kept reading beyond the end of the string.
>
> * "git tag -f <tag>" always said "Updated tag '<tag>'" even when
> - creating a new tag (i.e. not overwriting nor updating).
> + creating a new tag (i.e. neither overwriting nor updating).
>
> * "git p4" did not behave well when the path to the root of the P4
> client was not its real path.
> (merge bbd8486 pw/p4-symlinked-root later to maint).
>
> - * "git archive" reports a failure when asked to create an archive out
> - of an empty tree. It would be more intuitive to give an empty
> + * "git archive" reported a failure when asked to create an archive out
> + of an empty tree. It is more intuitive to give an empty
> archive back in such a case.
>
> - * When "format-patch" quoted a non-ascii strings on the header files,
> + * When "format-patch" quoted a non-ascii string in header files,
> it incorrectly applied rfc2047 and chopped a single character in
> - the middle of it.
> + the middle of the string.
>
> * An aliased command spawned from a bare repository that does not say
> - it is bare with "core.bare = yes" is treated as non-bare by mistake.
> + it is bare with "core.bare = yes" was treated as non-bare by mistake.
>
> - * In "git reflog expire", REACHABLE bit was not cleared from the
> + * In "git reflog expire", the REACHABLE bit was not cleared from the
> correct objects.
>
> * The logic used by "git diff -M --stat" to shorten the names of
> @@ -347,9 +346,9 @@ details).
> common prefix and suffix between the two filenames overlapped.
>
> * The "--match=<pattern>" option of "git describe", when used with
> - "--all" to allow refs that are not annotated tags to be used as a
> + "--all" to allow refs that are not annotated tags to be a
> base of description, did not restrict the output from the command
> - to those that match the given pattern.
> + to those refs that match the given pattern.
>
> * Clarify in the documentation "what" gets pushed to "where" when the
> command line to "git push" does not say these explicitly.
> @@ -357,7 +356,7 @@ details).
> * The "--color=<when>" argument to the commands in the diff family
> was described poorly.
>
> - * The arguments given to pre-rebase hook were not documented.
> + * The arguments given to the pre-rebase hook were not documented.
>
> * The v4 index format was not documented.
>
> @@ -375,7 +374,7 @@ details).
>
> * In the v1.8.0 era, we changed symbols that do not have to be global
> to file scope static, but a few functions in graph.c were used by
> - CGit from sideways bypassing the entry points of the API the
> + CGit sideways, bypassing the entry points of the API the
> in-tree users use.
>
> * "git update-index -h" did not do the usual "-h(elp)" thing.
> @@ -388,30 +387,30 @@ details).
> $msg already ended with one.
>
> * The SSL peer verification done by "git imap-send" did not ask for
> - Server Name Indication (RFC 4366), failing to connect SSL/TLS
> + Server Name Indication (RFC 4366), failing to connect to SSL/TLS
> sites that serve multiple hostnames on a single IP.
>
> * perl/Git.pm::cat_blob slurped everything in core only to write it
> out to a file descriptor, which was not a very smart thing to do.
>
> * "git branch" did not bother to check nonsense command line
> - parameters and issue errors in many cases.
> + parameters. It now issues errors in many cases.
>
> - * Verification of signed tags were not done correctly when not in C
> + * Verification of signed tags was not done correctly when not in C
> or en/US locale.
>
> * Some platforms and users spell UTF-8 differently; retry with the
> most official "UTF-8" when the system does not understand the
> - user-supplied encoding name that are the common alternative
> - spellings of UTF-8.
> + user-supplied encoding name that is a common alternative
> + spelling of UTF-8.
>
> - * When export-subst is used, "zip" output recorded incorrect
> + * When export-subst is used, "zip" output recorded an incorrect
> size of the file.
>
> * "git am $maildir/" applied messages in an unexpected order; sort
> filenames read from the maildir/ in a way that is more likely to
> - sort messages in the order the writing MUA meant to, by sorting
> - numeric segment in numeric order and non-numeric segment in
> + sort the messages in the order the writing MUA meant to, by sorting
> + numeric segments in numeric order and non-numeric segments in
> alphabetical order.
>
> * "git submodule update", when recursed into sub-submodules, did not
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix grammar in the 1.8.3 release notes.
2013-04-29 21:15 ` Junio C Hamano
@ 2013-04-29 21:16 ` Junio C Hamano
2013-04-30 14:28 ` Marc Branchaud
1 sibling, 0 replies; 16+ messages in thread
From: Junio C Hamano @ 2013-04-29 21:16 UTC (permalink / raw)
To: Marc Branchaud; +Cc: git
Junio C Hamano <gitster@pobox.com> writes:
> Marc Branchaud <marcnarc@xiplink.com> writes:
>
>> This started out as an attempt to make the backward compatibility notes
>> more parsable, but then I just kept going...
>
> Thanks.
>
>> * "git bundle" did not like a bundle created using a commit without
>> - any message as its one of the prerequistes.
>> + any message, as it is one of the prerequistes.
>
> This is actually saying a different thing.
>
> When you create a bundle, you can say "you can only unbundle this in
> a repository that has commit X", with "git bundle create $name ^X Y
> Z". Such a commit X is called the bundle's prerequisite. You can
> have more than one prerequisite, e.g. "... ^X ^W Y Z".
>
> But if you create a bundle by using a commit that does not have any
> message as X (i.e. the bundle's prerequisite), the "git bundle" did
> not like to read the resulting bundle output.
>
> So <a commit <without any message> as its (bundle's) one of the
> prerequisites> is what the original wanted to say. The rewrite
> makes it read like "For a commit, having a message is a requirement
> to be used in a bundle", at least to me.
>
>> * "index-pack --fix-thin" used an uninitialized value to compute
Please disregard everything below this line; the message was sent
unfinished by accident.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix grammar in the 1.8.3 release notes.
2013-04-29 19:15 ` [PATCH] Fix grammar in the 1.8.3 release notes Marc Branchaud
2013-04-29 21:15 ` Junio C Hamano
@ 2013-04-29 21:20 ` Junio C Hamano
2013-04-30 3:09 ` Eric Sunshine
2013-04-30 15:12 ` Phil Hord
3 siblings, 0 replies; 16+ messages in thread
From: Junio C Hamano @ 2013-04-29 21:20 UTC (permalink / raw)
To: Marc Branchaud; +Cc: git
Marc Branchaud <marcnarc@xiplink.com> writes:
> Signed-off-by: Marc Branchaud <marcnarc@xiplink.com>
>
> ---
>
> This started out as an attempt to make the backward compatibility notes
> more parsable, but then I just kept going...
Thanks; everything other than the "bundle" thing looked sensible.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix grammar in the 1.8.3 release notes.
2013-04-29 19:15 ` [PATCH] Fix grammar in the 1.8.3 release notes Marc Branchaud
2013-04-29 21:15 ` Junio C Hamano
2013-04-29 21:20 ` Junio C Hamano
@ 2013-04-30 3:09 ` Eric Sunshine
2013-04-30 15:12 ` Phil Hord
3 siblings, 0 replies; 16+ messages in thread
From: Eric Sunshine @ 2013-04-30 3:09 UTC (permalink / raw)
To: Marc Branchaud; +Cc: Git List
On Mon, Apr 29, 2013 at 3:15 PM, Marc Branchaud <marcnarc@xiplink.com> wrote:
> --- a/Documentation/RelNotes/1.8.3.txt
> +++ b/Documentation/RelNotes/1.8.3.txt
> @@ -8,23 +8,22 @@ When "git push [$there]" does not say what to push, we have used the
> traditional "matching" semantics so far (all your branches were sent
> to the remote as long as there already are branches of the same name
> over there). In Git 2.0, the default will change to the "simple"
> -semantics that pushes the current branch to the branch with the same
> -name, only when the current branch is set to integrate with that
> -remote branch. There is a user preference configuration variable
> +semantics that pushes only the current branch to the branch with the same
> +name, and only when the current branch is set to integrate with that
> +remote branch. Use the user preference configuration variable
> "push.default" to change this. If you are an old-timer who is used
> -to the "matching" semantics, you can set it to "matching" to keep the
> +to the "matching" semantics, you can set the varaible to "matching" to keep the
s/varaible/variable/
> traditional behaviour. If you want to live in the future early,
> you can set it to "simple" today without waiting for Git 2.0.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix grammar in the 1.8.3 release notes.
2013-04-29 21:15 ` Junio C Hamano
2013-04-29 21:16 ` Junio C Hamano
@ 2013-04-30 14:28 ` Marc Branchaud
2013-05-01 8:24 ` Lukas Fleischer
1 sibling, 1 reply; 16+ messages in thread
From: Marc Branchaud @ 2013-04-30 14:28 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git, Lukas Fleischer
On 13-04-29 05:15 PM, Junio C Hamano wrote:
> Marc Branchaud <marcnarc@xiplink.com> writes:
>
>> This started out as an attempt to make the backward compatibility notes
>> more parsable, but then I just kept going...
>
> Thanks.
>
>> * "git bundle" did not like a bundle created using a commit without
>> - any message as its one of the prerequistes.
>> + any message, as it is one of the prerequistes.
>
> This is actually saying a different thing.
>
> When you create a bundle, you can say "you can only unbundle this in
> a repository that has commit X", with "git bundle create $name ^X Y
> Z". Such a commit X is called the bundle's prerequisite. You can
> have more than one prerequisite, e.g. "... ^X ^W Y Z".
>
> But if you create a bundle by using a commit that does not have any
> message as X (i.e. the bundle's prerequisite), the "git bundle" did
> not like to read the resulting bundle output.
>
> So <a commit <without any message> as its (bundle's) one of the
> prerequisites> is what the original wanted to say. The rewrite
> makes it read like "For a commit, having a message is a requirement
> to be used in a bundle", at least to me.
Thanks, I did get that wrong.
CC'ing Lukas, who wrote the relevant commit (5446e33f35).
How about:
* "git bundle" can create a bundle that has a commit without a message as
a prerequisite, but it could not work with such a bundle.
M.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix grammar in the 1.8.3 release notes.
2013-04-29 19:15 ` [PATCH] Fix grammar in the 1.8.3 release notes Marc Branchaud
` (2 preceding siblings ...)
2013-04-30 3:09 ` Eric Sunshine
@ 2013-04-30 15:12 ` Phil Hord
3 siblings, 0 replies; 16+ messages in thread
From: Phil Hord @ 2013-04-30 15:12 UTC (permalink / raw)
To: Marc Branchaud; +Cc: git@vger.kernel.org
On Mon, Apr 29, 2013 at 3:15 PM, Marc Branchaud <marcnarc@xiplink.com> wrote:
> Signed-off-by: Marc Branchaud <marcnarc@xiplink.com>
>
> ---
>
> This started out as an attempt to make the backward compatibility notes
> more parsable, but then I just kept going...
s/parsable/parseable/
jk :-)
> Documentation/RelNotes/1.8.3.txt | 145 +++++++++++++++++++--------------------
> 1 file changed, 72 insertions(+), 73 deletions(-)
>
> diff --git a/Documentation/RelNotes/1.8.3.txt b/Documentation/RelNotes/1.8.3.txt
> index 6d25165..06bc831 100644
> --- a/Documentation/RelNotes/1.8.3.txt
> +++ b/Documentation/RelNotes/1.8.3.txt
> @@ -8,23 +8,22 @@ When "git push [$there]" does not say what to push, we have used the
> traditional "matching" semantics so far (all your branches were sent
> to the remote as long as there already are branches of the same name
...
>
> - * "rev-list --stdin" and friends kept bogus pointers into input
> + * "rev-list --stdin" and friends kept bogus pointers into the input
> buffer around as human readble object names. This was not a huge
So long as you're at it...
s/readble/readable/
> @@ -268,17 +267,17 @@ details).
> * "git diff --diff-algorithm algo" is also understood as "git diff
> --diff-algorithm=algo".
>
> - * The new core.commentchar configuration was not applied to a few
> + * The new core.commentchar configuration was not applied in a few
> places.
>
> * "git bundle" did not like a bundle created using a commit without
> - any message as its one of the prerequistes.
> + any message, as it is one of the prerequistes.
s/prerequistes/prerequisites
P
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix grammar in the 1.8.3 release notes.
2013-04-30 14:28 ` Marc Branchaud
@ 2013-05-01 8:24 ` Lukas Fleischer
2013-05-01 14:06 ` Marc Branchaud
0 siblings, 1 reply; 16+ messages in thread
From: Lukas Fleischer @ 2013-05-01 8:24 UTC (permalink / raw)
To: Marc Branchaud; +Cc: Junio C Hamano, git
On Tue, Apr 30, 2013 at 10:28:21AM -0400, Marc Branchaud wrote:
> On 13-04-29 05:15 PM, Junio C Hamano wrote:
> > Marc Branchaud <marcnarc@xiplink.com> writes:
> >
> >> This started out as an attempt to make the backward compatibility notes
> >> more parsable, but then I just kept going...
> >
> > Thanks.
> >
> >> * "git bundle" did not like a bundle created using a commit without
> >> - any message as its one of the prerequistes.
> >> + any message, as it is one of the prerequistes.
> >
> > This is actually saying a different thing.
> >
> > When you create a bundle, you can say "you can only unbundle this in
> > a repository that has commit X", with "git bundle create $name ^X Y
> > Z". Such a commit X is called the bundle's prerequisite. You can
> > have more than one prerequisite, e.g. "... ^X ^W Y Z".
> >
> > But if you create a bundle by using a commit that does not have any
> > message as X (i.e. the bundle's prerequisite), the "git bundle" did
> > not like to read the resulting bundle output.
> >
> > So <a commit <without any message> as its (bundle's) one of the
> > prerequisites> is what the original wanted to say. The rewrite
> > makes it read like "For a commit, having a message is a requirement
> > to be used in a bundle", at least to me.
>
> Thanks, I did get that wrong.
>
> CC'ing Lukas, who wrote the relevant commit (5446e33f35).
>
> How about:
>
> * "git bundle" can create a bundle that has a commit without a message as
> a prerequisite, but it could not work with such a bundle.
Looks fine to me.
Junio's version with the last part changed to "as one of its
prerequisites" sounds also good to me (in both cases, however, note the
missing "i" in "prerequisites").
A third suggestion:
"git bundle" erroneously bailed out when parsing a valid bundle
containing a prerequisite commit without a commit message.
>
> M.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix grammar in the 1.8.3 release notes.
2013-05-01 8:24 ` Lukas Fleischer
@ 2013-05-01 14:06 ` Marc Branchaud
2013-05-01 17:55 ` Junio C Hamano
0 siblings, 1 reply; 16+ messages in thread
From: Marc Branchaud @ 2013-05-01 14:06 UTC (permalink / raw)
To: Lukas Fleischer; +Cc: Junio C Hamano, git
On 13-05-01 04:24 AM, Lukas Fleischer wrote:
> On Tue, Apr 30, 2013 at 10:28:21AM -0400, Marc Branchaud wrote:
>> On 13-04-29 05:15 PM, Junio C Hamano wrote:
>>> Marc Branchaud <marcnarc@xiplink.com> writes:
>>>
>>>> This started out as an attempt to make the backward compatibility notes
>>>> more parsable, but then I just kept going...
>>>
>>> Thanks.
>>>
>>>> * "git bundle" did not like a bundle created using a commit without
>>>> - any message as its one of the prerequistes.
>>>> + any message, as it is one of the prerequistes.
>>>
>>> This is actually saying a different thing.
>>>
>>> When you create a bundle, you can say "you can only unbundle this in
>>> a repository that has commit X", with "git bundle create $name ^X Y
>>> Z". Such a commit X is called the bundle's prerequisite. You can
>>> have more than one prerequisite, e.g. "... ^X ^W Y Z".
>>>
>>> But if you create a bundle by using a commit that does not have any
>>> message as X (i.e. the bundle's prerequisite), the "git bundle" did
>>> not like to read the resulting bundle output.
>>>
>>> So <a commit <without any message> as its (bundle's) one of the
>>> prerequisites> is what the original wanted to say. The rewrite
>>> makes it read like "For a commit, having a message is a requirement
>>> to be used in a bundle", at least to me.
>>
>> Thanks, I did get that wrong.
>>
>> CC'ing Lukas, who wrote the relevant commit (5446e33f35).
>>
>> How about:
>>
>> * "git bundle" can create a bundle that has a commit without a message as
>> a prerequisite, but it could not work with such a bundle.
>
> Looks fine to me.
>
> Junio's version with the last part changed to "as one of its
> prerequisites" sounds also good to me (in both cases, however, note the
> missing "i" in "prerequisites").
>
> A third suggestion:
>
> "git bundle" erroneously bailed out when parsing a valid bundle
> containing a prerequisite commit without a commit message.
I like that best.
M.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix grammar in the 1.8.3 release notes.
2013-05-01 14:06 ` Marc Branchaud
@ 2013-05-01 17:55 ` Junio C Hamano
0 siblings, 0 replies; 16+ messages in thread
From: Junio C Hamano @ 2013-05-01 17:55 UTC (permalink / raw)
To: Marc Branchaud; +Cc: Lukas Fleischer, git
Marc Branchaud <marcnarc@xiplink.com> writes:
>> A third suggestion:
>>
>> "git bundle" erroneously bailed out when parsing a valid bundle
>> containing a prerequisite commit without a commit message.
>
> I like that best.
Concurred. Thanks for your help, all.
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2013-05-01 17:56 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-27 0:22 [ANNOUNCE] Git v1.8.3-rc0 Junio C Hamano
2013-04-27 2:24 ` shawn wilson
2013-04-27 5:32 ` Michael Haggerty
2013-04-28 21:12 ` Junio C Hamano
2013-04-27 9:18 ` John Keeping
2013-04-29 3:31 ` Junio C Hamano
2013-04-29 19:15 ` [PATCH] Fix grammar in the 1.8.3 release notes Marc Branchaud
2013-04-29 21:15 ` Junio C Hamano
2013-04-29 21:16 ` Junio C Hamano
2013-04-30 14:28 ` Marc Branchaud
2013-05-01 8:24 ` Lukas Fleischer
2013-05-01 14:06 ` Marc Branchaud
2013-05-01 17:55 ` Junio C Hamano
2013-04-29 21:20 ` Junio C Hamano
2013-04-30 3:09 ` Eric Sunshine
2013-04-30 15:12 ` Phil Hord
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).