From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: What's cooking in git.git (Dec 2014, #03; Mon, 15) Date: Mon, 15 Dec 2014 12:40:08 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Mon Dec 15 21:40:28 2014 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y0cRP-0005eM-1w for gcvg-git-2@plane.gmane.org; Mon, 15 Dec 2014 21:40:28 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750745AbaLOUkP (ORCPT ); Mon, 15 Dec 2014 15:40:15 -0500 Received: from pb-smtp1.int.icgroup.com ([208.72.237.35]:53953 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750716AbaLOUkL (ORCPT ); Mon, 15 Dec 2014 15:40:11 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 661F527A30; Mon, 15 Dec 2014 15:40:10 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:mime-version:content-type; s=sasl; bh=a XXDsU3+dSbwqXe8hbYaJEXUaT8=; b=kQ3bGJreE9TXttRJMOaYnQcPqkShIQlKO rFeSj4ISiMvbZIR7QZdh3nPV/8C5ys5oNYJabTxjoO3w9pz6aE4IGY32uFZurGwd 9oSogd7ZAbaRdu4o8rbQXKKoYdYlRGqyvb+NTk6pBVRGQZw8SbbcwKX6B6EI+4w/ tK2/dDSnvw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=sasl; b=Nw2 SnL49iHkgryk0mq/dhtqleq953dnoIh96NQbvJczv8x90n8tDOoMLO/zaw0f1xZt j5FVEynvGDgKykVm0NSe93BGPpNUwPM17XZGO+B5nwcSPSGpqOMCAbiFrYz97Vjl aeuv/ii2Di9PvYiPXIy7KImvjzYuZ+9gpPJ1xNuo= Received: from pb-smtp1.int.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 5C3E227A2F; Mon, 15 Dec 2014 15:40:10 -0500 (EST) Received: from pobox.com (unknown [72.14.226.9]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 7328D27A2E; Mon, 15 Dec 2014 15:40:09 -0500 (EST) X-master-at: 9abc44b681a669c67d071d858c8aad21f65a0956 X-next-at: d6426a0ea3bc6be707b25a6817328703d4883659 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Pobox-Relay-ID: 8F78A49E-849A-11E4-88C2-42529F42C9D4-77302942!pb-smtp1.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Here are the topics that have been cooking. Commits prefixed with '-' are only in 'pu' (proposed updates) while commits prefixed with '+' are in 'next'. The 'next' branch has been rewound and rebuilt on top of 2.2; I expect this to be a short and light cycle that would not add too many new things. You can find the changes described here in the integration branches of the repositories listed at http://git-blame.blogspot.com/p/git-public-repositories.html -------------------------------------------------- [Graduated to "master"] * da/difftool-mergetool-simplify-reporting-status (2014-11-21) 5 commits (merged to 'next' on 2014-12-04 at c3c329f) + mergetools: stop setting $status in merge_cmd() + mergetool: simplify conditionals + difftool--helper: add explicit exit statement + mergetool--lib: remove use of $status global + mergetool--lib: remove no-op assignment to $status from setup_user_tool Code simplification. * jc/unpack-trees-plug-leak (2014-11-17) 1 commit (merged to 'next' on 2014-12-04 at 9f1df30) + unpack_trees: plug leakage of o->result * jk/colors-fix (2014-11-20) 3 commits (merged to 'next' on 2014-12-04 at 0d97d69) + t4026: test "normal" color + config: fix parsing of "git config --get-color some.key -1" + docs: describe ANSI 256-color mode (this branch is used by jk/colors.) * jk/no-perl-tests (2014-11-18) 2 commits (merged to 'next' on 2014-12-04 at f166620) + t960[34]: mark cvsimport tests as requiring perl + t0090: mark add-interactive test with PERL prerequisite Some tests that depend on perl lacked PERL prerequisite to protect them, breaking build with NO_PERL configuration. * jk/pack-bitmap (2014-11-30) 1 commit (merged to 'next' on 2014-12-04 at eb457ad) + pack-bitmap: do not use gcc packed attribute * jk/push-simple (2014-11-30) 1 commit (merged to 'next' on 2014-12-04 at 00785c7) + push: truly use "simple" as default, not "upstream" Git 2.0 was supposed to make the "simple" mode for the default of "git push", but it didn't. * jk/rebuild-perl-scripts-with-no-perl-seting-change (2014-11-18) 3 commits (merged to 'next' on 2014-12-04 at 27382d3) + Makefile: have python scripts depend on NO_PYTHON setting + Makefile: simplify by using SCRIPT_{PERL,SH}_GEN macros + Makefile: have perl scripts depend on NO_PERL setting The build procedure did not bother fixing perl and python scripts when NO_PERL and NO_PYTHON build-time configuration changed. * mh/config-copy-string-from-git-path (2014-11-17) 1 commit (merged to 'next' on 2014-12-04 at 9c9518b) + cmd_config(): make a copy of path obtained from git_path() * po/everyday-doc (2014-11-17) 1 commit (merged to 'next' on 2014-12-04 at 39d31fb) + Documentation: change "gitlink" typo in git-push * rt/push-recurse-submodule-usage-string (2014-11-18) 1 commit (merged to 'next' on 2014-12-04 at c43e23c) + builtin/push.c: fix description of --recurse-submodules option * sv/typofix-apply-error-message (2014-11-17) 1 commit (merged to 'next' on 2014-12-04 at de7547a) + apply: fix typo in an error message -------------------------------------------------- [New Topics] * jk/test-asan (2014-12-11) 1 commit (merged to 'next' on 2014-12-15 at d24cb92) + t: support clang/gcc AddressSanitizer Will merge to 'master'. * nd/split-index (2014-12-11) 1 commit (merged to 'next' on 2014-12-15 at ed6490c) + index-format.txt: add a missing closing quote A typofix to the documentation of a feature already in the release. Will merge to 'master'. * ch/new-gpg-drops-rfc-1991 (2014-12-12) 4 commits (merged to 'next' on 2014-12-15 at 32d7d50) + tests: squelch noise from GPG machinery set-up + tests: replace binary GPG keyrings with ASCII-armored keys + tests: skip RFC1991 tests for gnupg 2.1 + tests: create gpg homedir on the fly Recent GPG changes the keyring format and drops support for RFC1991 formatted signatures, breaking our existing tests. Will merge to 'master'. * jg/prompt-localize-temporary (2014-12-12) 1 commit (merged to 'next' on 2014-12-15 at bb9cac9) + git-prompt.sh: make $f local to __git_eread() "git-prompt" (in contrib/) used a variable from the global scope, possibly contaminating end-user's namespace. Will merge to 'master'. * jk/strbuf-doc-to-header (2014-12-12) 4 commits - strbuf.h: reorganize api function grouping headers - strbuf.h: format asciidoc code blocks as 4-space indent - strbuf.h: drop asciidoc list formatting from API docs - strbuf: migrate api-strbuf.txt documentation to strbuf.h Resolve the "doc vs header" to favor the latter. Expecting to be rerolled. * mh/reflog-expire (2014-12-12) 24 commits - refs.c: let fprintf handle the formatting - refs.c: don't expose the internal struct ref_lock in the header file - lock_any_ref_for_update(): inline function - refs.c: remove unlock_ref/close_ref/commit_ref from the refs api - reflog_expire(): new function in the reference API - expire_reflog(): treat the policy callback data as opaque - Move newlog and last_kept_sha1 to "struct expire_reflog_cb" - expire_reflog(): move rewrite to flags argument - expire_reflog(): move verbose to flags argument - expire_reflog(): pass flags through to expire_reflog_ent() - struct expire_reflog_cb: a new callback data type - Rename expire_reflog_cb to expire_reflog_policy_cb - expire_reflog(): move updateref to flags argument - expire_reflog(): move dry_run to flags argument - expire_reflog(): add a "flags" argument - expire_reflog(): extract two policy-related functions - Extract function should_expire_reflog_ent() - expire_reflog(): use a lock_file for rewriting the reflog file - expire_reflog(): return early if the reference has no reflog - expire_reflog(): rename "ref" parameter to "refname" - expire_reflog(): it's not an each_ref_fn anymore - refs.c: add a function to append a reflog entry to a fd - refs.c: make ref_transaction_delete a wrapper for ref_transaction_update - refs.c: make ref_transaction_create a wrapper for ref_transaction_update Restructure "reflog expire" to fit the reflogs better with the recently updated ref API. Looked reasonable (except that ome shortlog entries stood out like a sore thumb). * po/doc-core-ignorestat (2014-12-12) 1 commit - doc: core.ignoreStat clarify the --assume-unchanged effect Expecting a reroll. * rs/use-strbuf-complete-line (2014-12-12) 1 commit (merged to 'next' on 2014-12-15 at d6426a0) + use strbuf_complete_line() for adding a newline if needed Will merge to 'master'. * jk/add-i-read-error (2014-12-15) 1 commit - add--interactive: leave main loop on read error "git add -i" did not notice when the interactive command input stream went away and kept asking. Will merge to 'next'. * pd/completion-filenames-fix (2014-12-15) 1 commit - Update documentation occurrences of filename .sh The top-of-the-file instruction for completion scripts (in contrib/) did not name the files correctly. Will merge to 'next'. * rd/send-email-2047-fix (2014-12-15) 2 commits - send-email: handle adjacent RFC 2047-encoded words properly - send-email: align RFC 2047 decoding more closely with the spec "git send-email" did not handle RFC 2047 encoded headers quite right. Will merge to 'next'. -------------------------------------------------- [Stalled] * pw/remote-set-url-fetch (2014-11-26) 1 commit - remote: add --fetch and --both options to set-url Expecting a reroll. * ye/http-accept-language (2014-12-03) 2 commits . SQUASH??? . http: send Accept-Language header if possible Breaks various people ($gmane/260903). * ms/submodule-update-config-doc (2014-11-03) 1 commit - submodule: clarify documentation for update subcommand Needs a reroll ($gmane/259037). * je/quiltimport-no-fuzz (2014-10-21) 2 commits - git-quiltimport: flip the default not to allow fuzz - git-quiltimport.sh: allow declining fuzz with --exact option "quiltimport" drove "git apply" always with -C1 option to reduce context of the patch in order to give more chance to somewhat stale patches to apply. Add an "--exact" option to disable, and also "-C$n" option to customize this behaviour. The top patch optionally flips the default to "--exact". Tired of waiting for an Ack; will discard. * jc/push-cert-hmac-optim (2014-09-25) 2 commits - receive-pack: truncate hmac early and convert only necessary bytes - sha1_to_hex: split out "hex-format n bytes" helper and use it This is "we could do this if we wanted to", not "we measured and it improves performance critical codepath". Will perhaps drop. * mt/patch-id-stable (2014-06-10) 1 commit - patch-id: change default to stable Teaches "git patch-id" to compute the patch ID that does not change when the files in a single patch is reordered. As this new algorithm is backward incompatible, the last bit to flip it to be the default is left out of 'master' for now. Nobody seems to be jumping up & down requesting this last step, which makes the result somewhat backward incompatible. Will perhaps drop. * tr/remerge-diff (2014-11-10) 9 commits - t4213: avoid "|" in sed regexp - log --remerge-diff: show what the conflict resolution changed - name-hash: allow dir hashing even when !ignore_case - merge-recursive: allow storing conflict hunks in index - merge_diff_mode: fold all merge diff variants into an enum - combine-diff: do not pass revs->dense_combined_merges redundantly - merge-recursive: -Xindex-only to leave worktree unchanged - merge-recursive: internal flag to avoid touching the worktree - merge-recursive: remove dead conditional in update_stages() "log -p" output learns a new way to let users inspect a merge commit by showing the differences between the automerged result with conflicts the person who recorded the merge would have seen and the final conflict resolution that was recorded in the merge. Waiting for a reroll ($gmane/256591). * hv/submodule-config (2014-11-11) 4 commits - do not die on error of parsing fetchrecursesubmodules option - use new config API for worktree configurations of submodules - extract functions for submodule config set and lookup - implement submodule config cache for lookup of submodule names Kicked back to 'pu' per request ($gmane/255610). * ab/add-interactive-show-diff-func-name (2014-05-12) 2 commits - SQUASH??? git-add--interactive: Preserve diff heading when splitting hunks - git-add--interactive: Preserve diff heading when splitting hunks Waiting for a reroll. * jn/gitweb-utf8-in-links (2014-05-27) 1 commit - gitweb: Harden UTF-8 handling in generated links $gmane/250758? * ss/userdiff-update-csharp-java (2014-06-02) 2 commits - userdiff: support Java try keyword - userdiff: support C# async methods and correct C# keywords Reviews sent; waiting for a response. * bg/rebase-off-of-previous-branch (2014-04-16) 1 commit - git-rebase: print name of rev when using shorthand Teach "git rebase -" to report the concrete name of the branch (i.e. the previous one). But it stops short and does not do the same for "git rebase @{-1}". Expecting a reroll. * rb/merge-prepare-commit-msg-hook (2014-01-10) 4 commits - merge: drop unused arg from abort_commit method signature - merge: make prepare_to_commit responsible for write_merge_state - t7505: ensure cleanup after hook blocks merge - t7505: add missing && Expose more merge states (e.g. $GIT_DIR/MERGE_MODE) to hooks that run during "git merge". The log message stresses too much on one hook, prepare-commit-msg, but it would equally apply to other hooks like post-merge, I think. Waiting for a reroll. * jc/graph-post-root-gap (2013-12-30) 3 commits - WIP: document what we want at the end - graph: remove unused code a bit - graph: stuff the current commit into graph->columns[] This was primarily a RFH ($gmane/239580). * tg/perf-lib-test-perf-cleanup (2013-09-19) 2 commits - perf-lib: add test_perf_cleanup target - perf-lib: split starting the test from the execution Add test_perf_cleanup shell function to the perf suite, that allows the script writers to define a test with a clean-up action. Will hold. * jc/show-branch (2014-03-24) 5 commits - show-branch: use commit slab to represent bitflags of arbitrary width - show-branch.c: remove "all_mask" - show-branch.c: abstract out "flags" operation - show-branch.c: lift all_mask/all_revs to a global static - show-branch.c: update comment style Waiting for the final step to lift the hard-limit before sending it out. -------------------------------------------------- [Cooking] * dm/compat-s-ifmt-for-zos (2014-12-04) 1 commit (merged to 'next' on 2014-12-15 at 0eb2fe6) + compat: convert modes to use portable file type values Long overdue departure from the assumption that S_IFMT is shared by everybody made in 2005. Will merge to 'master'. * jk/credential-quit (2014-12-04) 2 commits (merged to 'next' on 2014-12-15 at 4cfd999) + prompt: respect GIT_TERMINAL_PROMPT to disable terminal prompts + credential: let helpers tell us to quit Credential helpers are asked in turn until one of them give positive response, which is cumbersome to turn off when you need to run Git in an automated setting. The credential helper interface learned to allow a helper to say "stop, don't ask other helpers." Also GIT_TERMINAL_PROMPT environment can be set to false to disable our built-in prompt mechanism for passwords. Will merge to 'master'. * mg/branch-d-m-f (2014-12-09) 2 commits (merged to 'next' on 2014-12-15 at 8366f2c) + branch: allow -f with -m and -d + t3200-branch: test -M "git branch -d" (delete) and "git branch -m" (move) learned to honor "-f" (force) flag; unlike many other subcommands, the way to force these have been with separate "-D/-M" options, which was inconsistent. Will merge to 'master'. * mg/doc-check-ignore-tracked-are-not-ignored (2014-12-04) 1 commit (merged to 'next' on 2014-12-15 at c50f748) + check-ignore: clarify treatment of tracked files Will merge to 'master'. * rt/completion-tag (2014-12-04) 1 commit (merged to 'next' on 2014-12-15 at b03ee39) + completion: add git-tag options Will merge to 'master'. * jk/for-each-reflog-ent-reverse (2014-12-05) 2 commits (merged to 'next' on 2014-12-15 at de71f08) + for_each_reflog_ent_reverse: turn leftover check into assertion + for_each_reflog_ent_reverse: fix newlines on block boundaries The code that reads the reflog from the newer to the older entries did not handle an entry that crosses a boundary of block it uses to read them correctly. Will merge to 'master'. * po/doc-assume-unchanged (2014-12-09) 2 commits (merged to 'next' on 2014-12-15 at 646e77e) + gitignore.txt: do not suggest assume-unchanged + doc: make clear --assume-unchanged's user contract Fixes long-standing misunderstanding of what assume-unchanged is about. Some text near what is removed by the bottom patch may also have to be removed. Will merge to 'master'. * tb/t0027-eol-conversion (2014-12-05) 1 commit (merged to 'next' on 2014-12-15 at ba24e75) + t0027: check the eol conversion warnings Will merge to 'master'. * jk/always-allow-large-packets (2014-12-10) 1 commit (merged to 'next' on 2014-12-15 at c3fb2c8) + pkt-line: allow writing of LARGE_PACKET_MAX buffers "git push" and "git fetch" did not communicate an overlong refname correctly. Will merge to 'master'. * jk/commit-date-approxidate (2014-12-11) 2 commits (merged to 'next' on 2014-12-15 at 047530e) + commit: always populate GIT_AUTHOR_* variables + commit: loosen ident checks when generating template Recent update to "git commit" broke amending an existing commit with bogus author/committer lines without a valid e-mail address. Will merge to 'master'. * jk/read-packed-refs-without-path-max (2014-12-10) 3 commits (merged to 'next' on 2014-12-15 at c6d6f56) + read_packed_refs: use skip_prefix instead of static array + read_packed_refs: pass strbuf to parse_ref_line + read_packed_refs: use a strbuf for reading lines Git did not correctly read an overlong refname from a packed refs file. Will merge to 'master'. * jn/doc-api-errors (2014-12-04) 1 commit - doc: document error handling functions and conventions For discussion. * js/fsck-tag-validation (2014-12-09) 2 commits (merged to 'next' on 2014-12-15 at 455f26c) + index-pack: terminate object buffers with NUL + fsck: properly bound "invalid tag name" error message New tag object format validation added in 2.2 showed garbage after a tagname it reported in its error message. Will merge to 'master'. * js/test-hashmap-squelch-gcc (2014-12-09) 1 commit (merged to 'next' on 2014-12-15 at a8da691) + test-hashmap: squelch gcc compiler warning Will merge to 'master'. * ok/rebase-i-count-todo (2014-12-10) 1 commit (merged to 'next' on 2014-12-15 at 4a1f7ed) + Show number of TODO items for interactive rebase Will merge to 'master'. * rw/apply-does-not-take-ignore-date (2014-12-09) 1 commit (merged to 'next' on 2014-12-15 at ded2f99) + git-am.txt: --ignore-date flag is not passed to git-apply Will merge to 'master'. * jc/exec-cmd-system-path-leak-fix (2014-11-30) 1 commit (merged to 'next' on 2014-12-15 at f926ee5) + system_path(): always return free'able memory to the caller The function sometimes returned a non-freeable memory and some other times returned a piece of memory that must be freed. Will merge to 'master'. * jc/hook-cleanup (2014-12-01) 1 commit (merged to 'next' on 2014-12-15 at f5759d0) + run-command.c: retire unused run_hook_with_custom_index() Remove unused code. Will merge to 'master'. * jn/rerere-fail-on-auto-update-failure (2014-12-03) 2 commits - SQUASH??? - rerere: error out on autoupdate failure Will be rerolled as a part of a larger series. * js/push-to-deploy (2014-11-30) 2 commits (merged to 'next' on 2014-12-15 at ef8c99f) + t5516: more tests for receive.denyCurrentBranch=updateInstead + receive-pack: add another option for receive.denyCurrentBranch (this branch is used by jc/push-to-checkout.) "git push" into a repository with a working tree normally refuses to modify the branch that is checked out. The command learned to optionally do an equivalent of "git reset --hard" only when there is no change to the working tree and the index instead, which would be useful to "deploy" by pushing into a repository. Will merge to 'master'. * jc/push-to-checkout (2014-12-01) 2 commits - receive-pack: support push-to-checkout hook - receive-pack: refactor updateInstead codepath (this branch uses js/push-to-deploy.) Extending the js/push-to-deploy topic, the behaviour of "git push" when updating the working tree and the index with an update to the branch that is checked out can be tweaked by push-to-checkout hook. Needs docs. * lh/send-email-hide-x-mailer (2014-12-11) 4 commits - SQUASH??? - test/send-email: --[no-]xmailer tests - SQUASH??? - send-email: add --[no-]xmailer option "git send-email" normally identifies itself via X-Mailer: header in the message it sends out. A new command line flag allows the header to be squelched. Will merge to 'next' after squashing the fixups. * nd/list-files (2014-12-01) 19 commits - list-files: -M aka diff-cached - list-files -F: show submodules with the new indicator '&' - list-files: add -F/--classify - list-files: show directories as well as files - list-files: do not show duplicate cached entries - list-files: sort output and remove duplicates - list-files: add -t back - list-files: add -1 short for --no-column - list-files: add -R/--recursive short for --max-depth=-1 - list-files: -u does not imply showing stages - list-files: a user friendly version of ls-files and more - ls-files: support --max-depth - ls-files: add --column - ls-files: add --color to highlight file names - ls-files: buffer full item in strbuf before printing - ls_colors.c: highlight submodules like directories - ls_colors.c: add a function to color a file name - ls_colors.c: parse color.ls.* from config file - ls_colors.c: add $LS_COLORS parsing code A new "git list-files" Porcelain command, "ls-files" with bells and whistles. * nd/ls-tree-pathspec (2014-12-01) 5 commits (merged to 'next' on 2014-12-15 at 8da6e09) + t3102: style modernization + t3102: document that ls-tree does not yet support negated pathspec + ls-tree: disable negative pathspec because it's not supported + ls-tree: remove path filtering logic in show_tree + tree.c: update read_tree_recursive callback to pass strbuf as base "git ls-tree" does not support path selection based on negative pathspecs, but did not error out when negative pathspecs are given. Will merge to 'master'. * rj/t0050-passes (2014-11-30) 1 commit (merged to 'next' on 2014-12-15 at f56c339) + t0050-*.sh: mark the rename (case change) test as passing Will merge to 'master'. * rt/for-each-ref-spell-tcl-as-Tcl (2014-11-30) 1 commit (merged to 'next' on 2014-12-15 at c0fcefb) + for-each-ref: correct spelling of Tcl in option description Will merge to 'master'. * sb/ref-transaction-reflog (2014-12-03) 2 commits . refs.c: rename transaction.updates to transaction.ref_updates . refs.c: rename the transaction functions (this branch uses sb/ref-transaction-unify-to-update.) Will be rerolled as a part of a larger series. * nd/multiple-work-trees (2014-12-01) 34 commits - git-common-dir: make "modules/" per-working-directory directory - checkout: do not fail if target is an empty directory - t2025: add a test to make sure grafts is working from a linked checkout - checkout: don't require a work tree when checking out into a new one - git_path(): keep "info/sparse-checkout" per work-tree - count-objects: report unused files in $GIT_DIR/worktrees/... - gc: support prune --worktrees - gc: factor out gc.pruneexpire parsing code - gc: style change -- no SP before closing parenthesis - checkout: clean up half-prepared directories in --to mode - checkout: reject if the branch is already checked out elsewhere - prune: strategies for linked checkouts - checkout: support checking out into a new working directory - use new wrapper write_file() for simple file writing - wrapper.c: wrapper to open a file, fprintf then close - setup.c: support multi-checkout repo setup - setup.c: detect $GIT_COMMON_DIR check_repository_format_gently() - setup.c: convert check_repository_format_gently to use strbuf - setup.c: detect $GIT_COMMON_DIR in is_git_directory() - setup.c: convert is_git_directory() to use strbuf - git-stash: avoid hardcoding $GIT_DIR/logs/.... - *.sh: avoid hardcoding $GIT_DIR/hooks/... - git-sh-setup.sh: use rev-parse --git-path to get $GIT_DIR/objects - $GIT_COMMON_DIR: a new environment variable - commit: use SEQ_DIR instead of hardcoding "sequencer" - fast-import: use git_path() for accessing .git dir instead of get_git_dir() - reflog: avoid constructing .lock path with git_path - *.sh: respect $GIT_INDEX_FILE - git_path(): be aware of file relocation in $GIT_DIR - path.c: group git_path(), git_pathdup() and strbuf_git_path() together - path.c: rename vsnpath() to do_git_path() - git_snpath(): retire and replace with strbuf_git_path() - path.c: make get_pathname() call sites return const char * - path.c: make get_pathname() return strbuf instead of static buffer A replacement for contrib/workdir/git-new-workdir that does not rely on symbolic links and make sharing of objects and refs safer by making the borrowee and borrowers aware of each other. * jk/colors (2014-12-09) 6 commits (merged to 'next' on 2014-12-15 at 20b045f) + parse_color: drop COLOR_BACKGROUND macro + diff-highlight: allow configurable colors + parse_color: recognize "no$foo" to clear the $foo attribute + parse_color: support 24-bit RGB values + parse_color: refactor color storage + Merge branch 'jn/parse-config-slot' into jk/colors "diff-highlight" filter (in contrib/) allows its color output to be customized via configuration variables. Will merge to 'master'. * jk/lock-ref-sha1-basic-return-errors (2014-11-20) 1 commit (merged to 'next' on 2014-12-15 at c48b110) + lock_ref_sha1_basic: do not die on locking errors Correct an API anomaly. Will merge to 'master'. * ps/new-workdir-into-empty-directory (2014-12-03) 1 commit (merged to 'next' on 2014-12-15 at 0787b56) + git-new-workdir: don't fail if the target directory is empty "git new-workdir" (in contrib/) can be used to populate an empty and existing directory now. Will merge to 'master'. * sb/copy-fd-errno (2014-11-17) 1 commit - copy.c: make copy_fd preserve meaningful errno Will be rerolled as a part of a larger series. * sv/doc-stripspace (2014-12-04) 1 commit (merged to 'next' on 2014-12-15 at e86f8ba) + Documentation/git-stripspace: add synopsis for --comment-lines Will merge to 'master'. * dw/shell-basename-dashdash-before-stripping-leading-dash-from-login (2014-11-25) 1 commit (merged to 'next' on 2014-12-15 at 42937b7) + git-sh-setup.sh: use dashdash with basename call Will merge to 'master'. * jc/refer-to-t-readme-from-submitting-patches (2014-11-24) 2 commits (merged to 'next' on 2014-12-15 at 0e88699) + t/README: justify why "! grep foo" is sufficient + SubmittingPatches: refer to t/README for tests Will merge to 'master'. * jc/t9001-modernise (2014-11-25) 5 commits - t9001: style modernisation phase #5 - t9001: style modernisation phase #4 - t9001: style modernisation phase #3 - t9001: style modernisation phase #2 - t9001: style modernisation phase #1 (this branch uses pb/send-email-te.) * js/t5000-dont-copy-bin-sh (2014-11-24) 1 commit (merged to 'next' on 2014-12-15 at 65ffd05) + t5000 on Windows: do not mistake "sh.exe" as "sh" Will merge to 'master'. * mg/add-ignore-errors (2014-11-21) 1 commit (merged to 'next' on 2014-12-15 at 3834789) + add: ignore only ignored files "git add --ignore-errors ..." did not ignore an error to give a file that did not exist. Will merge to 'master'. * mh/find-uniq-abbrev (2014-11-26) 1 commit (merged to 'next' on 2014-12-15 at e3b2b62) + sha1_name: avoid unnecessary sha1 lookup in find_unique_abbrev The code to abbreviate an object name to its short unique prefix has been optimized when no abbreviation was requested. Will merge to 'master'. * mh/simplify-repack-without-refs (2014-11-25) 7 commits (merged to 'next' on 2014-12-15 at 351e03e) + sort_string_list(): rename to string_list_sort() + prune_remote(): iterate using for_each_string_list_item() + prune_remote(): rename local variable + repack_without_refs(): make the refnames argument a string_list + prune_remote(): sort delete_refs_list references en masse + prune_remote(): initialize both delete_refs lists in a single loop + prune_remote(): exit early if there are no stale references "git remote update --prune" to drop many refs has been optimized. Will merge to 'master'. * pb/am-message-id-footer (2014-11-25) 2 commits (merged to 'next' on 2014-12-15 at b44b6bd) + git-am: add --message-id/--no-message-id + git-mailinfo: add --message-id "git am" learned "--message-id" option to copy the message ID of the incoming e-mail to the log message of resulting commit. Will merge to 'master'. * pb/send-email-te (2014-11-25) 2 commits (merged to 'next' on 2014-12-15 at 38c2810) + git-send-email: add --transfer-encoding option + git-send-email: delay creation of MIME headers (this branch is used by jc/t9001-modernise.) "git send-email" learned "--transfer-encoding" option to force a non-fault Content-Transfer-Encoding header (e.g. base64). Will merge to 'master'. * rj/no-xopen-source-for-cygwin (2014-11-24) 1 commit (merged to 'next' on 2014-12-15 at 6e8e9ff) + git-compat-util.h: don't define _XOPEN_SOURCE on cygwin Avoid compilation warnings on recent gcc toolchain on Cygwin. Will merge to 'master'. * sb/string-list (2014-12-04) 3 commits (merged to 'next' on 2014-12-15 at 8bb8ddd) + string_list: remove string_list_insert_at_index() from its API + mailmap: use higher level string list functions + string_list: document string_list_(insert,lookup) API simplification. Will merge to 'master'. * sb/write-sha1-update-reflog (2014-11-24) 1 commit . refs.c: move reflog updates into its own function Moves a part of function around to add a helper that still only has one caller. Need to see how this helps in a bigger picture. * tb/config-core-filemode-check-on-broken-fs (2014-11-21) 1 commit (merged to 'next' on 2014-12-15 at 3e5490b) + init-db: improve the filemode trustability check Some filesystems assign filemodes in a strange way, fooling then automatic "filemode trustability" check done during a new repository creation. Will merge to 'master'. * jk/approxidate-avoid-y-d-m-over-future-dates (2014-11-13) 2 commits (merged to 'next' on 2014-12-15 at 397e986) + approxidate: allow ISO-like dates far in the future + pass TIME_DATE_NOW to approxidate future-check Traditionally we tried to avoid interpreting date strings given by the user as future dates, e.g. GIT_COMMITTER_DATE=2014-12-10 when used early November 2014 was taken as "October 12, 2014" because it is likely that a date in the future, December 10, is a mistake. Loosen this and do not tiebreak by future-ness of the date when (1) ISO-like format is used, and (2) the string can make sense interpreted as both y-m-d and y-d-m. Will cook in 'next'. * br/imap-send-verbosity (2014-11-05) 1 commit (merged to 'next' on 2014-12-15 at 504af0b) + imap-send: use parse options API to determine verbosity (this branch is used by br/imap-send-via-libcurl.) Will cook in 'next'. * br/imap-send-via-libcurl (2014-11-10) 1 commit (merged to 'next' on 2014-12-15 at 90db637) + git-imap-send: use libcurl for implementation (this branch uses br/imap-send-verbosity.) Newer libCurl knows how to talk IMAP; "git imap-send" has been updated to use this instead of a hand-rolled OpenSSL calls. Will cook in 'next'. * cc/interpret-trailers-more (2014-11-10) 4 commits (merged to 'next' on 2014-12-15 at 77f6c6a) + trailer: add test with an old style conflict block + trailer: reuse ignore_non_trailer() to ignore conflict lines + commit: make ignore_non_trailer() non static + Merge branch 'jc/conflict-hint' into cc/interpret-trailers-more (this branch uses jc/conflict-hint.) "git interpret-trailers" learned to properly handle the "Conflicts:" block at the end. Will merge to 'master'. * nd/lockfile-absolute (2014-11-03) 1 commit (merged to 'next' on 2014-12-15 at 34db9af) + lockfile.c: store absolute path The lockfile API can get confused which file to clean up when the process moved the $cwd after creating a lockfile. Will cook in 'next'. * jc/merge-bases (2014-10-30) 2 commits (merged to 'next' on 2014-12-15 at cac279e) + get_merge_bases(): always clean-up object flags + bisect: clean flags after checking merge bases The get_merge_bases*() API was easy to misuse by careless copy&paste coders, leaving object flags tainted in the commits that needed to be traversed. Will cook in 'next'. * jc/strbuf-add-lines-avoid-sp-ht-sequence (2014-10-27) 1 commit (merged to 'next' on 2014-12-15 at b499889) + strbuf_add_commented_lines(): avoid SP-HT sequence in commented lines The commented output used to blindly add a SP before the payload line, resulting in "# \t\n" when the payload began with a HT. Instead, produce "#\t\n". Will cook in 'next'. * nd/untracked-cache (2014-12-15) 24 commits - SQUASH??? - untracked cache: guard and disable on system changes - mingw32: add uname() - t7063: tests for untracked cache - update-index: test the system before enabling untracked cache - update-index: manually enable or disable untracked cache - status: enable untracked cache - untracked-cache: temporarily disable with $GIT_DISABLE_UNTRACKED_CACHE - untracked cache: mark index dirty if untracked cache is updated - untracked cache: print stats with $GIT_TRACE_UNTRACKED_STATS - untracked cache: avoid racy timestamps - read-cache.c: split racy stat test to a separate function - untracked cache: invalidate at index addition or removal - untracked cache: load from UNTR index extension - untracked cache: save to an index extension - ewah: add convenient wrapper ewah_serialize_strbuf() - untracked cache: don't open non-existent .gitignore - untracked cache: mark what dirs should be recursed/saved - untracked cache: record/validate dir mtime and reuse cached output - untracked cache: make a wrapper around {open,read,close}dir() - untracked cache: invalidate dirs recursively if .gitignore changes - untracked cache: initial untracked cache validation - untracked cache: record .gitignore information and dir hierarchy - dir.c: optionally compute sha-1 of a .gitignore file Comments? * jc/conflict-hint (2014-10-28) 4 commits (merged to 'next' on 2014-12-15 at b72475f) + merge & sequencer: turn "Conflicts:" hint into a comment + builtin/commit.c: extract ignore_non_trailer() helper function + merge & sequencer: unify codepaths that write "Conflicts:" hint + builtin/merge.c: drop a parameter that is never used (this branch is used by cc/interpret-trailers-more.) Unlike all the other hints given in the commit log editor, the list of conflicted paths were appended at the end without commented out. Will cook in 'next'. * jc/diff-b-m (2014-10-23) 1 commit (merged to 'next' on 2014-12-15 at 59c6636) + diff -B -M: fix output for "copy and then rewrite" case Fix long-standing bug in "diff -B -M" output. Will cook in 'next'. * jc/checkout-local-track-report (2014-10-14) 1 commit (merged to 'next' on 2014-12-15 at e91a7df) + checkout: report upstream correctly even with loosely defined branch.*.merge The report from "git checkout" on a branch that builds on another local branch by setting its branch.*.merge to branch name (not a full refname) incorrectly said that the upstream is gone. Will cook in 'next'. * jc/clone-borrow (2014-10-15) 1 commit (merged to 'next' on 2014-12-15 at 08fdf77) + clone: --dissociate option to mark that reference is only temporary Allow "git clone --reference" to be used more safely. Will cook in 'next'. -------------------------------------------------- [Discarded] * mb/enable-lib-terminal-test-on-newer-darwin (2014-11-14) 1 commit . t/lib-terminal: allow TTY tests to run under recent Mac OS We probably should drop this ($gmane/259609). * zk/grep-color-words (2014-10-27) 2 commits . Revert "grep: fix match highlighting for combined patterns with context lines" . grep: fix match highlighting for combined patterns with context lines rs/grep-color-words topic solves it in a different way. Will discard. * jn/dedup-doc-header (2014-12-10) 2 commits . put string-list API documentation in one place . put strbuf API documentation in one place We would want to have an easy way for developers to learn about APIs, and also a way to encourage them to keep the API documentation up to date when they make changes. Having header comments and API documentation duplicated in two different places risked them going out of sync. The approach taken by jk/strbuf-doc-to-header is the other way around, which people seem to prefer, so this is discarded. * jt/timer-settime (2014-08-29) 6 commits . use timer_settime() for new platforms . autoconf: check for timer_settime() . autoconf: check for struct itimerspec . autoconf: check for struct sigevent . autoconf: check for struct timespec . autoconf: check for timer_t Was wanting for a reroll. * rs/ref-transaction-reflog (2014-11-03) 15 commits . refs.c: allow deleting refs with a broken sha1 . refs.c: remove lock_any_ref_for_update . refs.c: make unlock_ref/close_ref/commit_ref static . refs.c: rename log_ref_setup to create_reflog . reflog.c: use a reflog transaction when writing during expire . refs.c: allow multiple reflog updates during a single transaction . refs.c: only write reflog update if msg is non-NULL . refs.c: add a flag to allow reflog updates to truncate the log . refs.c: add a transaction function to append a reflog entry . copy.c: make copy_fd preserve meaningful errno . refs.c: add a function to append a reflog entry to a fd . refs.c: add a new update_type field to ref_update . refs.c: rename the transaction functions . refs.c: make ref_transaction_delete a wrapper for ref_transaction_update . refs.c make ref_transaction_create a wrapper to ref_transaction_update (this branch is used by rs/ref-transaction-rename and rs/ref-transaction-send-pack.) Stefan Beller started working on reorganizing these three series, which unfortunately did not see much reviews. * rs/ref-transaction-rename (2014-11-07) 16 commits . refs.c: add an err argument to pack_refs . refs.c: make lock_packed_refs take an err argument . refs.c: make add_packed_ref return an error instead of calling die . refs.c: replace the onerr argument in update_ref with a strbuf err . refs.c: make the *_packed_refs functions static . refs.c: make repack_without_refs static . remote.c: use a transaction for deleting refs . refs.c: write updates to packed refs when a transaction has more than one ref . refs.c: move reflog updates into its own function . refs.c: rollback the lockfile before we die() in repack_without_refs . refs.c: update rename_ref to use a transaction . refs.c: add transaction support for renaming a reflog . refs.c: use a stringlist for repack_without_refs . refs.c: use packed refs when deleting refs during a transaction . refs.c: return error instead of dying when locking fails during transaction . refs.c: allow passing raw git_committer_info as email to _update_reflog (this branch is used by rs/ref-transaction-send-pack; uses rs/ref-transaction-reflog.) Stefan Beller started working on reorganizing these three series, which unfortunately did not see much reviews. * rs/ref-transaction-send-pack (2014-11-07) 7 commits . refs.c: add an err argument to create_symref . refs.c: add an err argument to create_reflog . t5543-atomic-push.sh: add basic tests for atomic pushes . push.c: add an --atomic-push argument . receive-pack.c: use a single transaction when atomic-push is negotiated . send-pack.c: add an --atomic-push command line argument . receive-pack.c: add protocol support to negotiate atomic-push (this branch uses rs/ref-transaction-reflog and rs/ref-transaction-rename.) Stefan Beller started working on reorganizing these three series, which unfortunately did not see much reviews. * sb/simplify-repack-without-refs (2014-11-20) 1 commit . refs.c: use a string_list for repack_without_refs * sb/log-ref-write-fd (2014-11-20) 1 commit . refs.c: add a function to append a reflog entry to a fd Will be rerolled as a part of a larger series. * sb/ref-transaction-unify-to-update (2014-11-20) 2 commits . refs.c: make ref_transaction_delete a wrapper for ref_transaction_update . refs.c: make ref_transaction_create a wrapper for ref_transaction_update (this branch is used by sb/ref-transaction-reflog.) Code simplification. Will be rerolled as a part of a larger series.