{"thread":{"id":"22455","subject":"[ANNOUNCE] Git 1.7.0.rc1","startedAt":"2010-01-30T22:53:34Z","lastAt":"2010-02-01T18:09:39Z","messageCount":11,"participants":["Junio C Hamano","Sverre Rabbelier","Anders Kaseorg","Jeff King","Ilari Liusvaara","Matthieu Moy","Jens Lehmann"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"133153","messageId":"7vaavvi4r5.fsf@alter.siamese.dyndns.org","threadId":"22455","inReplyTo":null,"subject":"[ANNOUNCE] Git 1.7.0.rc1","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2010-01-30T22:53:34Z","receivedAt":"2010-01-30T22:53:34Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"A release candidate Git 1.7.0.rc1 is available at the usual places\nfor testing:\n\n  http://www.kernel.org/pub/software/scm/git/\n\n  git-1.7.0.rc1.tar.{gz,bz2}\t\t\t(source tarball)\n  git-htmldocs-1.7.0.rc1.tar.{gz,bz2}\t\t(preformatted docs)\n  git-manpages-1.7.0.rc1.tar.{gz,bz2}\t\t(preformatted docs)\n\nThe RPM binary packages for a few architectures are found in:\n\n  testing/git-*-1.7.0.rc1-1.fc11.$arch.rpm\t(RPM)\n\n\nGit v1.7.0 Release Notes (draft)\n================================\n\nNotes on behaviour change\n-------------------------\n\n * \"git push\" into a branch that is currently checked out (i.e. pointed by\n   HEAD in a repository that is not bare) is refused by default.\n\n   Similarly, \"git push $there :$killed\" to delete the branch $killed\n   in a remote repository $there, when $killed branch is the current\n   branch pointed at by its HEAD, will be refused by default.\n\n   Setting the configuration variables receive.denyCurrentBranch and\n   receive.denyDeleteCurrent to 'ignore' in the receiving repository\n   can be used to override these safety features.\n\n * \"git send-email\" does not make deep threads by default when sending a\n   patch series with more than two messages.  All messages will be sent\n   as a reply to the first message, i.e. cover letter.\n\n   It has been possible to configure send-email to send \"shallow thread\"\n   by setting sendemail.chainreplyto configuration variable to false.  The\n   only thing this release does is to change the default when you haven't\n   configured that variable.\n\n * \"git status\" is not \"git commit --dry-run\" anymore.  This change does\n   not affect you if you run the command without pathspec.\n\n * \"git diff\" traditionally treated various \"ignore whitespace\" options\n   only as a way to filter the patch output.  \"git diff --exit-code -b\"\n   exited with non-zero status even if all changes were about changing the\n   ammount of whitespace and nothing else.  and \"git diff -b\" showed the\n   \"diff --git\" header line for such a change without patch text.\n\n   In this release, the \"ignore whitespaces\" options affect the semantics\n   of the diff operation.  A change that does not affect anything but\n   whitespaces is reported with zero exit status when run with\n   --exit-code, and there is no \"diff --git\" header for such a change.\n\n\nUpdates since v1.6.6\n--------------------\n\n(subsystems)\n\n * \"git fast-import\" updates; adds \"option\" and \"feature\" to detect the\n   mismatch between fast-import and the frontends that produce the input\n   stream.\n\n * \"git svn\" support of subversion \"merge tickets\" and miscellaneous fixes.\n\n * \"gitk\" updates.\n\n(portability)\n\n * Some more MSVC portability patches for msysgit port.\n\n * Minimum Pthreads emulation for msysgit port.\n\n(performance)\n\n * More performance improvement patches for msysgit port.\n\n(usability, bells and whistles)\n\n * More commands learned \"--quiet\" and \"--[no-]progress\" options.\n\n * Various commands given by the end user (e.g. diff.type.textconv,\n   and GIT_EDITOR) can be specified with command line arguments.  E.g. it\n   is now possible to say \"[diff \"utf8doc\"] textconv = nkf -w\".\n\n * \"sparse checkout\" feature allows only part of the work tree to be\n   checked out.\n\n * HTTP transfer can use authentication scheme other than basic\n   (i.e./e.g. digest).\n\n * Switching from a version of superproject that used to have a submodule\n   to another version of superproject that no longer has it did not remove\n   the submodule directory when it should (namely, when you are not\n   interested in the submodule at all and didn't clone/checkout).\n\n * A new attribute conflict-marker-size can be used to change the size of\n   the conflict markers from the default 7; this is useful when tracked\n   contents (e.g. git-merge documentation) have strings that resemble the\n   conflict markers.\n\n * A new syntax \"<branch>@{upstream}\" can be used on the command line to\n   substitute the name of the \"upstream\" of the branch.  Missing branch\n   defaults to the current branch, so \"git fetch && git merge @{upstream}\"\n   will be equivalent to \"git pull\".\n\n * \"git branch --set-upstream\" can be used to update the (surprise!) upstream\n   i.e. where the branch is supposed to pull and merge from (or rebase onto).\n\n * \"git checkout A...B\" is a way to detach HEAD at the merge base between\n   A and B.\n\n * \"git checkout -m path\" to reset the work tree file back into the\n   conflicted state works even when you already ran \"git add path\" and\n   resolved the conflicts.\n\n * \"git commit --date='<date>'\" can be used to override the author date\n   just like \"git commit --author='<name> <email>'\" can be used to\n   override the author identity.\n\n * \"git commit --no-status\" can be used to omit the listing of the index\n   and the work tree status in the editor used to prepare the log message.\n\n * \"git commit\" warns a bit more aggressively until you configure user.email,\n   whose default value almost always is not (and fundamentally cannot be)\n   what you want.\n\n * \"git difftool\" has been extended to make it easier to integrate it\n   with gitk.\n\n * \"git fetch --all\" can now be used in place of \"git remote update\".\n\n * \"git grep\" does not rely on external grep anymore.  It can use more than\n   one threads to accelerate the operation.\n\n * \"git grep\" learned \"--no-index\" option, to search inside contents that\n   are not managed by git.\n\n * \"git grep\" learned \"--quiet\" option.\n\n * \"git log\" and friends learned \"--glob=heads/*\" syntax that is a more\n   flexible way to complement \"--branches/--tags/--remotes\".\n\n * \"git merge\" learned to pass options specific to strategy-backends.  E.g.\n\n    - \"git merge -Xsubtree=path/to/directory\" can be used to tell the subtree\n      strategy how much to shift the trees explicitly.\n\n    - \"git merge -Xtheirs\" can be used to auto-merge as much as possible,\n      while discarding your own changes and taking merged version in\n      conflicted regions.\n\n * \"git push\" learned \"git push origin --delete branch\", a syntactic sugar\n   for \"git push origin :branch\".\n\n * \"git push\" learned \"git push --set-upstream origin forker:forkee\" that\n   lets you configure your \"forker\" branch to later pull from \"forkee\"\n   branch at \"origin\".\n\n * \"git rebase --onto A...B\" means the history is replayed on top of the\n   merge base between A and B.\n\n * \"git rebase -i\" learned new action \"fixup\", that squashes the change\n   but does not affect existing log message.\n\n * \"git rebase -i\" also learned --autosquash option, that is useful\n   together with the new \"fixup\" action.\n\n * \"git remote\" learned set-url subcommand, to update (surprise!) url\n   for an existing remote nickname.\n\n * \"git rerere\" learned \"forget path\" subcommand.  Together with \"git\n   checkout -m path\" it will be useful when you recorded a wrong\n   resolution.\n\n * Use of \"git reset --merge\" has become easier when resetting away a\n   conflicted mess left in the work tree.\n\n * \"git rerere\" had rerere.autoupdate configuration but there was no way\n   to countermand it from the command line; --no-rerere-autoupdate option\n   given to \"merge\", \"revert\", etc. fixes this.\n\n * \"git status\" learned \"-s(hort)\" output format.\n\n(developers)\n\n * The infrastructure to build foreign SCM interface has been updated.\n\n * Many more commands are now built-in.\n\nFixes since v1.6.6\n------------------\n\nAll of the fixes in v1.6.6.X maintenance series are included in this\nrelease, unless otherwise noted.\n\n * \"git branch -d branch\" used to refuse deleting the branch even when\n   the branch is fully merged to its upstream branch if it is not merged\n   to the current branch.  It now deletes it in such a case.\n\n * \"git config -f <relative path>\" run from a subdirectory misbehaved.\n   65807ee (builtin-config: Fix crash when using \"-f <relative path>\"\n   from non-root dir, 2010-01-26) may be merged to older maintenance\n   branches.\n\n * When \"git diff\" is asked to compare the work tree with something,\n   it used to consider that a checked-out submodule with uncommitted\n   changes is not modified; this could cause people to forget committing\n   these changes in the submodule before committing in the superproject.\n   It now considers such a change as a modification.\n"},{"id":"133163","messageId":"fabb9a1e1001301712h3223f4c5xcf4742cde1642dfe@mail.gmail.com","threadId":"22455","inReplyTo":"7vaavvi4r5.fsf@alter.siamese.dyndns.org","subject":"Re: [ANNOUNCE] Git 1.7.0.rc1","fromName":"Sverre Rabbelier","fromEmail":"srabbelier@gmail.com","sentAt":"2010-01-31T01:12:19Z","receivedAt":"2010-01-31T01:12:19Z","isPatch":false,"sender":{"key":"srabbelier@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3098?v=4"},"body":"Heya,\n\nFeel free to tell me \"go build 1.7.0.rc0 yourself and see\" to any of\nthese, but I can't right now, and am curious :).\n\nOn Sat, Jan 30, 2010 at 23:53, Junio C Hamano <gitster@pobox.com> wrote:\n>  * \"git checkout A...B\" is a way to detach HEAD at the merge base between\n>   A and B.\n\nDoes 'git checkout -b mergebase-a-b A...B' work as expected?\n\n>  * \"git log\" and friends learned \"--glob=heads/*\" syntax that is a more\n>   flexible way to complement \"--branches/--tags/--remotes\".\n\nNot --glob=refs/*?\n\n>  * \"git rebase --onto A...B\" means the history is replayed on top of the\n>   merge base between A and B.\n\nOh wow, neat, I guess that complements the 'git checkout A...B'\nbehavior? Is there anywhere else that we could/should support this new\nsyntax, but don't?\n\n>  * \"git rebase -i\" also learned --autosquash option, that is useful\n>   together with the new \"fixup\" action.\n\nDid we add a config option for this?\n\n-- \nCheers,\n\nSverre Rabbelier\n"},{"id":"133166","messageId":"alpine.DEB.2.00.1001302246210.19492@dr-wily.mit.edu","threadId":"22455","inReplyTo":"7vaavvi4r5.fsf@alter.siamese.dyndns.org","subject":"Re: [ANNOUNCE] Git 1.7.0.rc1","fromName":"Anders Kaseorg","fromEmail":"andersk@mit.edu","sentAt":"2010-01-31T03:52:14Z","receivedAt":"2010-01-31T03:52:14Z","isPatch":false,"sender":{"key":"andersk@mit.edu","avatar":"https://avatars.githubusercontent.com/u/26471?v=4"},"body":"On Sat, 30 Jan 2010, Junio C Hamano wrote:\n> A release candidate Git 1.7.0.rc1 is available at the usual places\n> for testing:\n\nLooks like the tag is missing in git.git.\n\nAnders\n"},{"id":"133170","messageId":"20100131073208.GA15268@coredump.intra.peff.net","threadId":"22455","inReplyTo":"7vaavvi4r5.fsf@alter.siamese.dyndns.org","subject":"Re: [ANNOUNCE] Git 1.7.0.rc1","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2010-01-31T07:32:08Z","receivedAt":"2010-01-31T07:32:08Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Sat, Jan 30, 2010 at 02:53:34PM -0800, Junio C Hamano wrote:\n\n>  * Various commands given by the end user (e.g. diff.type.textconv,\n>    and GIT_EDITOR) can be specified with command line arguments.  E.g. it\n>    is now possible to say \"[diff \"utf8doc\"] textconv = nkf -w\".\n\nDoes this deserve a mention in the \"behavior changes\" section, too, as\nit may be breaking certain configs (most likely those with full paths to\nfilters which have spaces in them)?\n\n-Peff\n"},{"id":"133171","messageId":"20100131075632.GA30470@Knoppix","threadId":"22455","inReplyTo":"fabb9a1e1001301712h3223f4c5xcf4742cde1642dfe@mail.gmail.com","subject":"Re: [ANNOUNCE] Git 1.7.0.rc1","fromName":"Ilari Liusvaara","fromEmail":"ilari.liusvaara@elisanet.fi","sentAt":"2010-01-31T07:56:32Z","receivedAt":"2010-01-31T07:56:32Z","isPatch":false,"sender":{"key":"ilari.liusvaara@elisanet.fi","avatar":null},"body":"On Sun, Jan 31, 2010 at 02:12:19AM +0100, Sverre Rabbelier wrote:\n> Heya,\n> \n> Feel free to tell me \"go build 1.7.0.rc0 yourself and see\" to any of\n> these, but I can't right now, and am curious :).\n> \n> >  * \"git log\" and friends learned \"--glob=heads/*\" syntax that is a more\n> >   flexible way to complement \"--branches/--tags/--remotes\".\n> \n> Not --glob=refs/*?\n\nThat does work. Even shorter would be '--glob=*'.\n\n-Ilari\n"},{"id":"133172","messageId":"7v8wbeg0qp.fsf@alter.siamese.dyndns.org","threadId":"22455","inReplyTo":"20100131073208.GA15268@coredump.intra.peff.net","subject":"Re: [ANNOUNCE] Git 1.7.0.rc1","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2010-01-31T08:03:10Z","receivedAt":"2010-01-31T08:03:10Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jeff King <peff@peff.net> writes:\n\n> On Sat, Jan 30, 2010 at 02:53:34PM -0800, Junio C Hamano wrote:\n>\n>>  * Various commands given by the end user (e.g. diff.type.textconv,\n>>    and GIT_EDITOR) can be specified with command line arguments.  E.g. it\n>>    is now possible to say \"[diff \"utf8doc\"] textconv = nkf -w\".\n>\n> Does this deserve a mention in the \"behavior changes\" section, too, as\n> it may be breaking certain configs (most likely those with full paths to\n> filters which have spaces in them)?\n\nPerhaps.  A patch with nice description, please?\n"},{"id":"133176","messageId":"20100131091446.GA25704@coredump.intra.peff.net","threadId":"22455","inReplyTo":"7v8wbeg0qp.fsf@alter.siamese.dyndns.org","subject":"Re: [ANNOUNCE] Git 1.7.0.rc1","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2010-01-31T09:14:46Z","receivedAt":"2010-01-31T09:14:46Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Sun, Jan 31, 2010 at 12:03:10AM -0800, Junio C Hamano wrote:\n\n> Perhaps.  A patch with nice description, please?\n\nHow about this? We could also drop it from the \"bells and whistles\"\nsection; I don't have a preference.\n\n-- >8 --\nSubject: [PATCH] mention new shell execution behavior in release notes\n\nThis is already in the \"bells and whistles\" section, but it\nalso has a slight chance of breakage, so let's also mention\nit in the \"changed behaviors\" section.\n\nSigned-off-by: Jeff King <peff@peff.net>\n---\n Documentation/RelNotes-1.7.0.txt |    7 +++++++\n 1 files changed, 7 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/RelNotes-1.7.0.txt b/Documentation/RelNotes-1.7.0.txt\nindex 997b026..f33e85d 100644\n--- a/Documentation/RelNotes-1.7.0.txt\n+++ b/Documentation/RelNotes-1.7.0.txt\n@@ -38,6 +38,13 @@ Notes on behaviour change\n    whitespaces is reported with zero exit status when run with\n    --exit-code, and there is no \"diff --git\" header for such a change.\n \n+ * external diff and textconv helpers are now executed using the shell.\n+   This makes them consistent with other programs executed by git, and\n+   allows you to pass command-line parameters to the helpers. Any helper\n+   paths containing spaces or other metacharacters now need to be\n+   shell-quoted.  The affected helpers are GIT_EXTERNAL_DIFF in the\n+   environment, and diff.*.command and diff.*.textconv in the config\n+   file.\n \n Updates since v1.6.6\n --------------------\n-- \n1.7.0.rc1.8.g1a26\n"},{"id":"133177","messageId":"vpq3a1maa4y.fsf@bauges.imag.fr","threadId":"22455","inReplyTo":"7vaavvi4r5.fsf@alter.siamese.dyndns.org","subject":"Re: [ANNOUNCE] Git 1.7.0.rc1","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2010-01-31T09:36:45Z","receivedAt":"2010-01-31T09:36:45Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"Junio C Hamano <gitster@pobox.com> writes:\n\n>  * \"git status\" is not \"git commit --dry-run\" anymore.  This change does\n>    not affect you if you run the command without pathspec.\n\nThis is not exactly true, since the list of command line options of\nthe new \"status\" are different. For example, the change affect people\nwho've been taught to always use \"git commit\" and \"git status\" with\n-a.\n\nI suggest s/pathspec/argument/ in the sentence above:\n\n* \"git status\" is not \"git commit --dry-run\" anymore.  This change does\n  not affect you if you run the command without argument.\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"},{"id":"133186","messageId":"7v4om2f7ru.fsf@alter.siamese.dyndns.org","threadId":"22455","inReplyTo":"vpq3a1maa4y.fsf@bauges.imag.fr","subject":"Re: [ANNOUNCE] Git 1.7.0.rc1","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2010-01-31T18:28:53Z","receivedAt":"2010-01-31T18:28:53Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:\n\n> I suggest s/pathspec/argument/ in the sentence above:\n>\n> * \"git status\" is not \"git commit --dry-run\" anymore.  This change does\n>   not affect you if you run the command without argument.\n\nThanks; that makes sense.\n"},{"id":"133192","messageId":"7viqaidqol.fsf@alter.siamese.dyndns.org","threadId":"22455","inReplyTo":"20100131091446.GA25704@coredump.intra.peff.net","subject":"Re: [ANNOUNCE] Git 1.7.0.rc1","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2010-01-31T19:23:22Z","receivedAt":"2010-01-31T19:23:22Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.\n"},{"id":"133275","messageId":"4B6718E3.1060403@web.de","threadId":"22455","inReplyTo":"7vaavvi4r5.fsf@alter.siamese.dyndns.org","subject":"[PATCH] Updates for dirty submodules in release notes and user manual","fromName":"Jens Lehmann","fromEmail":"jens.lehmann@web.de","sentAt":"2010-02-01T18:09:39Z","receivedAt":"2010-02-01T18:09:39Z","isPatch":true,"sender":{"key":"jens.lehmann@web.de","avatar":"https://avatars.githubusercontent.com/u/135220?v=4"},"body":"In the release notes \"git status\" was not mentioned, also shortly explain\nthe \"-dirty\" output generated by diff.\n\nAdded a paragraph to the \"Pitfalls with submodules\" section in\nuser-manual.txt describing new and old behavior of \"git status\" and \"git\ndiff\" for dirty submodules.\n\nSigned-off-by: Jens Lehmann <Jens.Lehmann@web.de>\n---\n Documentation/RelNotes-1.7.0.txt |   12 +++++++-----\n Documentation/user-manual.txt    |   20 ++++++++++++++++++++\n 2 files changed, 27 insertions(+), 5 deletions(-)\n\ndiff --git a/Documentation/RelNotes-1.7.0.txt b/Documentation/RelNotes-1.7.0.txt\nindex 6510d42..323ae54 100644\n--- a/Documentation/RelNotes-1.7.0.txt\n+++ b/Documentation/RelNotes-1.7.0.txt\n@@ -200,11 +200,13 @@ release, unless otherwise noted.\n    from non-root dir, 2010-01-26) may be merged to older maintenance\n    branches.\n\n- * When \"git diff\" is asked to compare the work tree with something,\n-   it used to consider that a checked-out submodule with uncommitted\n-   changes is not modified; this could cause people to forget committing\n-   these changes in the submodule before committing in the superproject.\n-   It now considers such a change as a modification.\n+ * When using \"git status\" or asking \"git diff\" to compare the work tree\n+   with something, they used to consider that a checked-out submodule with\n+   uncommitted changes is not modified; this could cause people to forget\n+   committing these changes in the submodule before committing in the\n+   superproject. They now consider such a change as a modification and\n+   \"git diff\" will append a \"-dirty\" to the work tree side when generating\n+   patch output or when used with the --submodule option.\n\n --\n exec >/var/tmp/1\ndiff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt\nindex 517daca..fe6fb72 100644\n--- a/Documentation/user-manual.txt\n+++ b/Documentation/user-manual.txt\n@@ -3640,6 +3640,26 @@ Did you forget to 'git add'?\n Unable to checkout '261dfac35cb99d380eb966e102c1197139f7fa24' in submodule path 'a'\n -------------------------------------------------\n\n+In older git versions it could be easily forgotten to commit new or modified\n+files in a submodule, which silently leads to similar problems as not pushing\n+the submodule changes. Starting with git 1.7.0 both \"git status\" and \"git diff\"\n+in the superproject show submodules as modified when they contain new or\n+modified files to protect against accidentally committing such a state. \"git\n+diff\" will also add a \"-dirty\" to the work tree side when generating patch\n+output or used with the --submodule option:\n+\n+-------------------------------------------------\n+$ git diff\n+diff --git a/sub b/sub\n+--- a/sub\n++++ b/sub\n+@@ -1 +1 @@\n+-Subproject commit 3f356705649b5d566d97ff843cf193359229a453\n++Subproject commit 3f356705649b5d566d97ff843cf193359229a453-dirty\n+$ git diff --submodule\n+Submodule sub 3f35670..3f35670-dirty:\n+-------------------------------------------------\n+\n You also should not rewind branches in a submodule beyond commits that were\n ever recorded in any superproject.\n\n-- \n1.7.0.rc1.156.g05baa\n"}]}