{"thread":{"id":"30512","subject":"What's cooking in git.git (May 2012, #04; Fri, 11)","startedAt":"2012-05-11T21:57:14Z","lastAt":"2012-05-14T13:40:46Z","messageCount":2,"participants":["Junio C Hamano","SZEDER Gábor"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"191421","messageId":"7vvck2js91.fsf@alter.siamese.dyndns.org","threadId":"30512","inReplyTo":null,"subject":"What's cooking in git.git (May 2012, #04; Fri, 11)","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-05-11T21:57:14Z","receivedAt":"2012-05-11T21:57:14Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Here are the topics that have been cooking.  Commits prefixed with '-' are\nonly in 'pu' (proposed updates) while commits prefixed with '+' are in 'next'.\n\nThe tenth and eleventh batch of topics are now in 'master', and there is\nthe second maintenance release on the 1.7.10.x track out.\n\nYou can find the changes described here in the integration branches of the\nrepositories listed at\n\n    http://git-blame.blogspot.com/p/git-public-repositories.html\n\n--------------------------------------------------\n[Graduated to \"master\"]\n\n* ah/maint-grep-double-init (2012-05-07) 1 commit\n  (merged to 'next' on 2012-05-08 at 51f84c5)\n + grep.c: remove redundant line of code\n\n* ef/checkout-empty (2012-05-08) 1 commit\n  (merged to 'next' on 2012-05-08 at fc4d754)\n + checkout: do not corrupt HEAD on empty repo\n\nRunning \"git checkout\" on an unborn branch used to corrupt HEAD\n(regression in 1.7.10); this makes it error out.\n\n* ef/maint-1.7.6-clone-progress-fix (2012-05-07) 1 commit\n + clone: fix progress-regression\n (this branch is used by ef/maint-clone-progress-fix.)\n\n* ef/maint-clone-progress-fix (2012-05-07) 1 commit\n  (merged to 'next' on 2012-05-08 at b9a6cad)\n + Merge branch 'ef/maint-1.7.6-clone-progress-fix' into ef/maint-clone-progress-fix\n (this branch uses ef/maint-1.7.6-clone-progress-fix.)\n\nSome time ago, \"git clone\" lost the progress output for its \"checkout\"\nphase; when run without any \"--quiet\" option, it should give progress to\nthe lengthy operation.\n\n* fa/maint-config-doc (2012-05-07) 1 commit\n  (merged to 'next' on 2012-05-08 at 54cc478)\n + Documentation/git-config: describe and clarify \"--local <file>\" option\n\n* jc/install-no-hardlinks (2012-05-04) 1 commit\n  (merged to 'next' on 2012-05-07 at b69e132)\n + Makefile: NO_INSTALL_HARDLINKS\n\nYour build platform may support hardlinks but you may prefer not to use\nthem, e.g. when installing to DESTDIR to make a tarball and untarring on\na filesystem that has poor support for hardlinks.\n\nThe Makefile in git-gui project may need to learn to honor the same\nsetting; it unconditionally creates git-citool by hardlinking git-gui.\n\n* jk/maint-reflog-walk-count-vs-time (2012-05-07) 5 commits\n  (merged to 'next' on 2012-05-08 at b1a9987)\n + reflog-walk: tell explicit --date=default from not having --date at all\n  (merged to 'next' on 2012-05-07 at 3652958)\n + reflog-walk: always make HEAD@{0} show indexed selectors\n + reflog-walk: clean up \"flag\" field of commit_reflog struct\n + log: respect date_mode_explicit with --format:%gd\n + t1411: add more selector index/date tests\n\nGives a better DWIM behaviour for --pretty=format:%gd, \"stash list\", and\n\"log -g\", depending on how the starting point (\"master\" vs \"master@{0}\" vs\n\"master@{now}\") and date formatting options (e.g. \"--date=iso\") are given\non the command line.\n\n* jk/maint-status-porcelain-z-b (2012-05-08) 4 commits\n + status: respect \"-b\" for porcelain format\n + status: fix null termination with \"-b\"\n + status: refactor null_termination option\n + commit: refactor option parsing\n (this branch is used by jk/status-porcelain-z-b.)\n\n* jk/status-porcelain-z-b (2012-05-08) 2 commits\n  (merged to 'next' on 2012-05-08 at 31172dd)\n + status: refactor colopts handling\n + Merge branch 'jk/maint-status-porcelain-z-b' into HEAD\n (this branch uses jk/maint-status-porcelain-z-b.)\n\n\"git status --porcelain\" ignored \"--branch\" option by mistake.  The output\nfor \"git status --branch -z\" was also incorrect and did not terminate the\nrecord for the current branch name with NUL as asked.\n\n* js/checkout-detach-count (2012-05-04) 2 commits\n  (merged to 'next' on 2012-05-07 at 2957590)\n + checkout (detached): truncate list of orphaned commits at the new HEAD\n + t2020-checkout-detach: check for the number of orphaned commits\n\nWhen checking out another commit from an already detached state, we used\nto report all commits that are not reachable from any of the refs as\nlossage, but some of them might be reachable from the new HEAD, and there\nis no need to warn about them.\n\n* mh/ref-api-lazy-loose (2012-05-04) 18 commits\n  (merged to 'next' on 2012-05-04 at a70d858)\n + refs: fix find_containing_dir() regression\n + refs: read loose references lazily\n + read_loose_refs(): eliminate ref_cache argument\n + struct ref_dir: store a reference to the enclosing ref_cache\n + search_for_subdir(): return (ref_dir *) instead of (ref_entry *)\n + get_ref_dir(): add function for getting a ref_dir from a ref_entry\n + read_loose_refs(): rename function from get_ref_dir()\n + refs: wrap top-level ref_dirs in ref_entries\n + find_containing_dir(): use strbuf in implementation of this function\n + bisect: copy filename string obtained from git_path()\n + do_for_each_reflog(): use a strbuf to hold logfile name\n + do_for_each_reflog(): return early on error\n + get_ref_dir(): take the containing directory as argument\n + refs.c: extract function search_for_subdir()\n + get_ref_dir(): require that the dirname argument ends in '/'\n + get_ref_dir(): rename \"base\" parameter to \"dirname\"\n + get_ref_dir(): use a strbuf to hold refname\n + get_ref_dir(): return early if directory cannot be read\n\nRefs API is updated to lazily read sub-hierarchies of refs/ namespace,\nso that we do not have to grab everything from the filesystem when we\nare only interested in listing branches, for example.\n\n* nd/i18n-apply-lego (2012-05-08) 1 commit\n  (merged to 'next' on 2012-05-08 at c2be904)\n + apply: remove lego in i18n string in gitdiff_verify_name\n\n* nd/i18n-branch-lego (2012-05-04) 1 commit\n  (merged to 'next' on 2012-05-07 at af4e16f)\n + branch: remove lego in i18n tracking info strings\n\nFix yet another message construction by concatenating pieces of sentenes,\nwhich is unfriendly to i18n.\n\n* nd/stream-to-archive (2012-05-03) 10 commits\n  (merged to 'next' on 2012-05-07 at 92f11c4)\n + t5000: rationalize unzip tests\n + archive-zip: streaming for deflated files\n + archive-zip: streaming for stored files\n + archive-zip: factor out helpers for writing sizes and CRC\n + archive-zip: remove uncompressed_size\n + archive-tar: stream large blobs to tar file\n + archive: delegate blob reading to backend\n + archive-tar: unindent write_tar_entry by one level\n + archive-tar: turn write_tar_entry into blob-writing only\n + streaming: void pointer instead of char pointer\n\nStream large blobs directly out to archive files without slurping\neverything in memory first.\n\n* rs/dir-strbuf (2012-05-08) 1 commit\n  (merged to 'next' on 2012-05-08 at 0bc94fb)\n + Merge branch 'rs/maint-dir-strbuf' into rs/dir-strbuf\n (this branch uses rs/maint-dir-strbuf.)\n\n* rs/maint-dir-strbuf (2012-05-08) 1 commit\n + dir: convert to strbuf\n (this branch is used by rs/dir-strbuf.)\n\n--------------------------------------------------\n[New Topics]\n\n* rs/xdiff-lose-emit-func (2012-05-09) 6 commits\n  (merged to 'next' on 2012-05-11 at 1eeb893)\n + xdiff: remove unused functions\n + xdiff: remove emit_func() and xdi_diff_hunks()\n + blame: factor out helper for calling xdi_diff()\n + blame: use hunk_func(), part 2\n + blame: use hunk_func(), part 1\n + xdiff: add hunk_func()\n\nSimplifies the interface between the implementation of \"blame\" and\nunderlying xdiff engine, and removes a lot of unnecessary code from\nthe latter.\n\n* sg/bash-prompt (2012-05-09) 4 commits\n - completion: respect $GIT_DIR\n - completion: use __gitdir() in _git_log()\n - tests: add tests for the bash prompt functions in the completion script\n - tests: move code to run tests under bash into a helper library\n\nThis is only the \"correction\" bits taken from the beginning of a larger\nseries that is to be rerolled.\n\n* jc/apply-3way (2012-05-10) 9 commits\n - apply: document --3way option\n - apply: allow rerere() upon --3way results\n - apply: register conflicted stages to the index\n - apply: plug the three-way merge logic in\n - apply: fall back on three-way merge\n - apply: accept -3/--3way command line option\n - apply: split load_preimage() helper function out\n - apply: refactor read_file_or_gitlink()\n - apply: clear_image() clears things a bit more\n\n\"git apply\" learns to wiggle the base version and perform three-way merge\nwhen a patch does not exactly apply to the version you have.\n\n* ld/git-p4-tags-and-labels (2012-05-11) 3 commits\n  (merged to 'next' on 2012-05-11 at 441bd9a)\n + git p4: fix bug when enabling tag import/export via config variables\n + git p4: fix bug when verbose enabled with tag export\n + git p4: add test for tag import/export enabled via config\n\n* rs/dir-strbuf-read-recursive-fix (2012-05-11) 2 commits\n - dir: simplify fill_directory()\n - dir: respect string length argument of read_directory_recursive()\n\n--------------------------------------------------\n[Stalled]\n\n* jc/maint-push-refs-all (2012-05-04) 2 commits\n - get_fetch_map(): tighten checks on dest refs\n - fetch/push: allow refs/*:refs/*\n\nAllows pushing and fetching refs/stash.\nNot ready.\nThere still seem to be other bugs hiding (e.g. try pushing twice).\n\n* jc/run-hook-env-1 (2012-03-11) 1 commit\n - run_hook(): enhance the interface to pass arbitrary environment\n\nNot urgent.\n\nUpdates run_hook() API to be much less specific to \"commit\".  It would\nonly be useful if people start doing more interesting things with hooks.\n\n* jc/split-blob (2012-04-03) 6 commits\n - chunked-object: streaming checkout\n - chunked-object: fallback checkout codepaths\n - bulk-checkin: support chunked-object encoding\n - bulk-checkin: allow the same data to be multiply hashed\n - new representation types in the packstream\n - packfile: use varint functions\n\nNot ready.\n\nI finished the streaming checkout codepath, but as explained in\n127b177 (bulk-checkin: support chunked-object encoding, 2011-11-30),\nthese are still early steps of a long and painful journey. At least\npack-objects and fsck need to learn the new encoding for the series\nto be usable locally, and then index-pack/unpack-objects needs to\nlearn it to be used remotely.\n\nGiven that I heard a lot of noise that people want large files, and\nthat I was asked by somebody at GitTogether'11 privately for an\nadvice on how to pay developers (not me) to help adding necessary\nsupport, I am somewhat dissapointed that the original patch series\nthat was sent almost two months ago still remains here without much\ncomments and updates from the developer community. I even made the\ninterface to the logic that decides where to split chunks easily\nreplaceable, and I deliberately made the logic in the original patch\nextremely stupid to entice others, especially the \"bup\" fanboys, to\ncome up with a better logic, thinking that giving people an easy\ntarget to shoot for, they may be encouraged to help out. The plan is\nnot working :-(.\n\n--------------------------------------------------\n[Cooking]\n\n* nl/http-proxy-more (2012-05-11) 2 commits\n - http: rename HTTP_REAUTH to HTTP_AUTH_RETRY\n - http: Avoid limit of retrying request only twice\n\nI queued only the later two patches from this series, even though they do\nnot make much sense without the first one that seems to need a bit more\nwork, so that we won't forget.\n\n* fc/simplify-complete-revlist-file (2012-05-07) 1 commit\n  (merged to 'next' on 2012-05-08 at ff0b7d1)\n + completion: simplify __git_complete_revlist_file\n\nWill merge to 'master'.\n\n* nd/i18n-parseopt (2012-05-08) 2 commits\n  (merged to 'next' on 2012-05-08 at 15eb029)\n + i18n: apply: mark parseopt strings for translation\n + i18n: parseopt: lookup help and argument translations when showing usage\n\nText from \"git cmd --help\" are getting prepared for i18n.\n\n* nd/threaded-index-pack (2012-05-07) 4 commits\n  (merged to 'next' on 2012-05-08 at 053b797)\n + index-pack: disable threading if NO_PREAD is defined\n + index-pack: support multithreaded delta resolving\n + index-pack: restructure pack processing into three main functions\n + compat/win32/pthread.h: Add an pthread_key_delete() implementation\n\nEnables threading in index-pack to resolve base data in parallel.\n\nWill merge to 'master'.\n\n* mm/push-default-switch-warning (2012-04-26) 2 commits\n - t5541: warning message is given even with --quiet\n - push: start warning upcoming default change for push.default\n\nWill squash the two, but this has to wait for a few release cycles.\n\n--------------------------------------------------\n[Discarded]\n\n* cb/daemon-test-race-fix (2012-04-27) 2 commits\n  (merged to 'next' on 2012-04-27 at 84bbcf8)\n + Revert \"git-daemon wrapper to wait until daemon is ready\"\n  (merged to 'next' on 2012-04-24 at d5c30be)\n + git-daemon wrapper to wait until daemon is ready\n\nFix race condition between starting and waiting for git-daemon in the\ntest.\n\nReverted from 'next' to replace it with js/daemon-test-race-fix.\n"},{"id":"191489","messageId":"20120514134046.GA2757@goldbirke","threadId":"30512","inReplyTo":"7vvck2js91.fsf@alter.siamese.dyndns.org","subject":"Re: What's cooking in git.git (May 2012, #04; Fri, 11)","fromName":"SZEDER Gábor","fromEmail":"szeder@ira.uka.de","sentAt":"2012-05-14T13:40:46Z","receivedAt":"2012-05-14T13:40:46Z","isPatch":false,"sender":{"key":"szeder.dev@gmail.com","avatar":"https://avatars.githubusercontent.com/u/116324?v=4"},"body":"Hi Junio,\n\n\nOn Fri, May 11, 2012 at 02:57:14PM -0700, Junio C Hamano wrote:\n> * sg/bash-prompt (2012-05-09) 4 commits\n>  - completion: respect $GIT_DIR\n>  - completion: use __gitdir() in _git_log()\n>  - tests: add tests for the bash prompt functions in the completion script\n>  - tests: move code to run tests under bash into a helper library\n> \n> This is only the \"correction\" bits taken from the beginning of a larger\n> series that is to be rerolled.\n\nThe reroll will affect these patches, too, but it will only come in a\nweek or so later.  Please don't merge this topic into next yet.\n\n\nGábor\n"}]}