{"thread":{"id":"18800","subject":"What's in git.git (Apr 2009, #01; Thu, 09)","startedAt":"2009-04-09T09:11:05Z","lastAt":"2009-04-14T13:15:42Z","messageCount":2,"participants":["Junio C Hamano","Johan Herland"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"110907","messageId":"7vmyaq2nva.fsf@gitster.siamese.dyndns.org","threadId":"18800","inReplyTo":null,"subject":"What's in git.git (Apr 2009, #01; Thu, 09)","fromName":"Junio C Hamano","fromEmail":"junio@pobox.com","sentAt":"2009-04-09T09:11:05Z","receivedAt":"2009-04-09T09:11:05Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"We have quite a few documentation fixes accumulated on the maint branch;\nperhaps a new maintenance release 1.6.2.3 mid next week.\n\nOn the 'master' front, there are currently 6 topics cooking in 'next', all\nof which look quite good.  I'll probably tag 1.6.3-rc0 this weekend with\nmost of these topics and keep cooking the rest for 1.6.4 cycle.\n\n* The 'maint' branch has these fixes since the last announcement.\n\nBjörn Steinbrink (1):\n  process_{tree,blob}: Remove useless xstrdup calls\n\nBrandon Casey (7):\n  t7700-repack: add two new tests demonstrating repacking flaws\n  git-repack.sh: don't use --kept-pack-only option to pack-objects\n  pack-objects: only repack or loosen objects residing in \"local\" packs\n  Remove --kept-pack-only option and associated infrastructure\n  git-branch: display \"was sha1\" on branch deletion rather than just \"sha1\"\n  t7700: demonstrate repack flaw which may loosen objects unnecessarily\n  pack-objects: don't loosen objects available in alternate or kept packs\n\nDan McGee (1):\n  git-repack: use non-dashed update-server-info\n\nDavid J. Mellor (12):\n  Documentation: minor grammatical fixes in git-archive.txt.\n  Documentation: reword the \"Description\" section of git-bisect.txt.\n  Documentation: minor grammatical fixes in git-blame.txt.\n  Documentation: minor grammatical fixes in git-branch.txt.\n  Documentation: reworded the \"Description\" section of git-bisect.txt.\n  Documentation: reword example text in git-bisect.txt.\n  Documentation: remove some uses of the passive voice in git-bisect.txt\n  Documentation: minor grammatical fixes and rewording in git-bundle.txt\n  Documentation: minor grammatical fixes in git-cat-file.txt\n  Documentation: minor grammatical fixes in git-check-attr.txt\n  Documentation: minor grammatical fix in git-check-ref-format.txt\n  Documentation: Remove spurious uses of \"you\" in git-bisect.txt.\n\nHolger Weiß (1):\n  Documentation: Remove an odd \"instead\"\n\nJari Aalto (1):\n  Change double quotes to single quotes in message\n\nJason Merrill (1):\n  Documentation: clarify .gitattributes search\n\nJeff King (3):\n  fix portability problem with IS_RUN_COMMAND_ERR\n  t1301: loosen test for forced modes\n  commit: abort commit if interactive add failed\n\nJohan Herland (1):\n  Move chmod(foo, 0444) into move_temp_to_file()\n\nJohannes Schindelin (2):\n  Smudge the files fed to external diff and textconv\n  mailmap: resurrect lower-casing of email addresses\n\nJohannes Sixt (1):\n  Propagate --exec-path setting to external commands via GIT_EXEC_PATH\n\nJulien Danjou (1):\n  git submodule: fix usage line\n\nJunio C Hamano (13):\n  git-repack: resist stray environment variable\n  has_sha1_pack(): refactor \"pretend these packs do not exist\" interface\n  has_sha1_kept_pack(): take \"struct rev_info\"\n  Consolidate ignore_packed logic more\n  Simplify is_kept_pack()\n  is_kept_pack(): final clean-up\n  blame: read custom grafts given by -S before calling setup_revisions()\n  diff --cached: do not borrow from a work tree when a path is marked as\n    assume-unchanged\n  \"core.sharedrepository = 0mode\" should set, not loosen\n  move_temp_to_file(): do not forget to chmod() in \"Coda hack\" codepath\n  set_shared_perm(): sometimes we know what the final mode bits should look\n    like\n  GIT 1.6.2.2\n  Start 1.6.2.3 preparation\n\nMarkus Heidelberg (1):\n  doc/git-pack-refs: fix two grammar issues\n\nMatthieu Moy (3):\n  git-checkout.txt: fix incorrect statement about HEAD and index\n  git-checkout.txt: clarify that <branch> applies when no path is given.\n  git-pull.sh: better warning message for \"git pull\" on detached head.\n\nThomas Rast (1):\n  Documentation: format-patch --root clarifications\n\n\n* The 'master' branch has these since the last announcement\n  in addition to the above.\n\nAli Gholami Rudi (2):\n  builtin-clone.c: make junk_pid static\n  builtin-clone.c: no need to strdup for setenv\n\nBjörn Steinbrink (2):\n  Mailmap: Allow empty email addresses to be mapped\n  tree_entry_interesting: a pathspec only matches at directory boundary\n\nChris Johnsen (11):\n  Documentation/Makefile: make most operations \"quiet\"\n  Documentation/Makefile: break up texi pipeline\n  Documentation: move callouts.xsl to manpage-{base,normal}.xsl\n  Documentation: use parametrized manpage-base.xsl with\n    manpage-{1.72,normal}.xsl\n  Documentation: rename docbook-xsl-172 attribute to git-asciidoc-no-roff\n  Documentation: move quieting params into manpage-base.xsl\n  Documentation: move \"spurious .sp\" code into manpage-base.xsl\n  Documentation: asciidoc.conf: always use <literallayout> for [blocktext]\n  Documentation: asciidoc.conf: fix verse block with block titles\n  Documentation: option to render literal text as bold for manpages\n  Documentation: use \"spurious .sp\" XSLT if DOCBOOK_SUPPRESS_SP is set\n\nChristian Couder (2):\n  log-tree: fix patch filename computation in \"git format-patch\"\n  bisect: improve error message when branch checkout fails\n\nClemens Buchacher (3):\n  add tests for merging with submodules\n  update cache for conflicting submodule entries\n  simplify output of conflicting merge\n\nErik Faye-Lund (4):\n  test-suite: adding a test for fast-export with tag variants\n  builtin-fast-export.c: turn error into warning\n  builtin-fast-export.c: fix crash on tagged trees\n  builtin-fast-export.c: handle nested tags\n\nFelipe Contreras (3):\n  user-manual: remove some git-foo usage\n  docbook: change css style\n  user-manual: the name of the hash function is SHA-1, not sha1\n\nHeiko Voigt (2):\n  Cleanup warning about known issues in cvsimport documentation\n  Add configuration variable for sign-off to format-patch\n\nJay Soffian (5):\n  send-email: don't attempt to prompt if tty is closed\n  send-email: ask_default should apply to all emails, not just the first\n  send-email: correct two tests which were going interactive\n  send-email: ensure quoted addresses are rfc2047 encoded\n  send-email: fix nasty bug in ask() function\n\nJeff King (1):\n  tests: remove exit after test_done call\n\nJohannes Schindelin (1):\n  Fix 'git checkout <submodule>' to update the index\n\nJunio C Hamano (10):\n  Rename interpret/substitute nth_last_branch functions\n  strbuf_branchname(): a wrapper for branch name shorthands\n  check-ref-format --branch: give Porcelain a way to grok branch shorthand\n  Fix branch -m @{-1} newname\n  strbuf_check_branch_ref(): a helper to check a refname for a branch\n  check_ref_format(): tighten refname rules\n  match_tree_entry(): a pathspec only matches at directory boundaries\n  Update draft release notes to 1.6.3\n  Update draft release notes to 1.6.3\n  Speed up reflog pruning of unreachable commits\n\nKjetil Barvik (1):\n  stat_tracking_info(): only count real commits\n\nLinus Torvalds (1):\n  Clean up reflog unreachability pruning decision\n\nMarkus Heidelberg (1):\n  add --html-path to get the location of installed HTML docs\n\nMartin Storsjö (1):\n  Allow curl to rewind the read buffers\n\nMatthieu Moy (2):\n  git-send-email.txt: clarify which options take an argument.\n  git-rev-list.txt: make ascii markup uniform with other pages.\n\nMichael Hendricks (1):\n  format-patch: add arbitrary email headers\n\nMichael J Gruber (2):\n  Test for local branches being followed with --track\n  Make local branches behave like remote branches when --tracked\n\nSanti Béjar (1):\n  Documentation: branch.*.merge can also affect 'git-push'\n\nShawn O. Pearce (1):\n  Don't permit ref/branch names to end with \".lock\"\n\nSimon Arlott (1):\n  git-svn: add a double quiet option to hide git commits\n\nStephen Boyd (7):\n  pretty.c: add %f format specifier to format_commit_message()\n  format-patch: construct patch filename in one function\n  format-patch: pass a commit to reopen_stdout()\n  format-patch: move get_patch_filename() into log-tree\n  format-patch: --attach/inline uses filename instead of SHA1\n  format-patch: --numbered-files and --stdout aren't mutually exclusive\n  format_sanitized_subject: Don't trim past initial length of strbuf\n\nTodd Zullinger (1):\n  bash completion: Update 'git am' options\n\nWesley J. Landaker (1):\n  Documentation: git-svn: fix trunk/fetch svn-remote key typo\n"},{"id":"111285","messageId":"200904141515.42580.johan@herland.net","threadId":"18800","inReplyTo":"7vmyaq2nva.fsf@gitster.siamese.dyndns.org","subject":"[PATCH] Update docs on behaviour of 'core.sharedRepository' and 'git init --shared'","fromName":"Johan Herland","fromEmail":"johan@herland.net","sentAt":"2009-04-14T13:15:42Z","receivedAt":"2009-04-14T13:15:42Z","isPatch":true,"sender":{"key":"johan@herland.net","avatar":"https://avatars.githubusercontent.com/u/547031?v=4"},"body":"This documentation update is needed to reflect the recent changes where\n\"core.sharedRepository = 0mode\" was changed to set, not loosen, the\nrepository permissions.\n\nSigned-off-by: Johan Herland <johan@herland.net>\n---\n\nOn Thursday 09 April 2009, Junio C Hamano wrote:\n> Junio C Hamano (13):\n>   \"core.sharedrepository = 0mode\" should set, not loosen\n\nIt just hit me that after fixing the main problem, we never clarified\nthe docs (that were fairly confusing to begin with). I hope this version\nis both correct and understandable.\n\n\nHave fun! :)\n\n...Johan\n\n\n Documentation/config.txt   |    6 ++++--\n Documentation/git-init.txt |   16 +++++++++++-----\n 2 files changed, 15 insertions(+), 7 deletions(-)\n\ndiff --git a/Documentation/config.txt b/Documentation/config.txt\nindex f3ebd2f..59217d2 100644\n--- a/Documentation/config.txt\n+++ b/Documentation/config.txt\n@@ -295,8 +295,10 @@ core.sharedRepository::\n \tgroup-shareable. When 'umask' (or 'false'), git will use permissions\n \treported by umask(2). When '0xxx', where '0xxx' is an octal number,\n \tfiles in the repository will have this mode value. '0xxx' will override\n-\tuser's umask value, and thus, users with a safe umask (0077) can use\n-\tthis option. Examples: '0660' is equivalent to 'group'. '0640' is a\n+\tuser's umask value (whereas the other options will only override\n+\trequested parts of the user's umask value). Examples: '0660' will make\n+\tthe repo read/write-able for the owner and group, but inaccessible to\n+\tothers (equivalent to 'group' unless umask is e.g. '0022'). '0640' is a\n \trepository that is group-readable but not group-writable.\n \tSee linkgit:git-init[1]. False by default.\n \ndiff --git a/Documentation/git-init.txt b/Documentation/git-init.txt\nindex 71749c0..7151d12 100644\n--- a/Documentation/git-init.txt\n+++ b/Documentation/git-init.txt\n@@ -54,15 +54,21 @@ is given:\n \n  - 'group' (or 'true'): Make the repository group-writable, (and g+sx, since\n    the git group may be not the primary group of all users).\n+   This is used to loosen the permissions of an otherwise safe umask(2) value.\n+   Note that the umask still applies to the other permission bits (e.g. if\n+   umask is '0022', using 'group' will not remove read privileges from other\n+   (non-group) users). See '0xxx' for how to exactly specify the repository\n+   permissions.\n \n  - 'all' (or 'world' or 'everybody'): Same as 'group', but make the repository\n    readable by all users.\n \n- - '0xxx': '0xxx' is an octal number and each file will have mode '0xxx'\n-   Any option except 'umask' can be set using this option. '0xxx' will\n-   override users umask(2) value, and thus, users with a safe umask (0077)\n-   can use this option. '0640' will create a repository which is group-readable\n-   but not writable. '0660' is equivalent to 'group'.\n+ - '0xxx': '0xxx' is an octal number and each file will have mode '0xxx'.\n+   '0xxx' will override users' umask(2) value (and not only loosen permissions\n+   as 'group' and 'all' does). '0640' will create a repository which is\n+   group-readable, but not group-writable or accessible to others. '0660' will\n+   create a repo that is readable and writable to the current user and group,\n+   but inaccessible to others.\n \n By default, the configuration flag receive.denyNonFastForwards is enabled\n in shared repositories, so that you cannot force a non fast-forwarding push\n-- \n1.6.1.2.461.g5bad6\n\n-- \nJohan Herland, <johan@herland.net>\nwww.herland.net\n"}]}