1 To: git@vger.kernel.org
3 Subject: What's cooking in git.git (Apr 2014, #04; Tue, 15)
4 X-master-at: 68773ac915580e88016c34ce1269730382b501d4
5 X-next-at: eaba9156adf2b84a54a025dcd2c3fecdea5dc8a0
7 What's cooking in git.git (Apr 2014, #04; Tue, 15)
8 --------------------------------------------------
10 Here are the topics that have been cooking. Commits prefixed with
11 '-' are only in 'pu' (proposed updates) while commits prefixed with
14 The number of topics cooking in 'next' has been shrinking, and the
15 cycle is getting long. Hopefully we will have -rc0 late this week to
16 close the 'master' branch and a few rounds of -rc iterations until
17 2.0 final. Other topics under discussion may continue to flow to
18 'next', as usual, during that time, to be pushed out early in the
21 You can find the changes described here in the integration branches
22 of the repositories listed at
24 http://git-blame.blogspot.com/p/git-public-repositories.html
26 --------------------------------------------------
29 * fc/prompt-zsh-read-from-file (2014-04-14) 1 commit
30 - prompt: fix missing file errors in zsh
32 Will merge to 'next' and to 'master'.
35 * fc/transport-helper-sync-error-fix (2014-04-14) 5 commits
36 - transport-helper: fix sync issue on crashes
37 - transport-helper: trivial cleanup
38 - transport-helper: propagate recvline() error pushing
39 - remote-helpers: make recvline return an error
40 - transport-helper: remove barely used xchgline()
42 Make sure the marks are not written out when the transport helper
43 did not finish happily, to avoid marks file that is out of sync
46 As I had to resolve some conflicts with the recent code, will wait
47 until getting an OK from Felipe on the conflict resolution and then
48 hopefully can be merged to 'next' and then later to 'master'.
51 * km/avoid-non-function-return-in-rebase (2014-04-14) 2 commits
52 - Revert "rebase: fix run_specific_rebase's use of "return" on FreeBSD"
53 - rebase: avoid non-function use of "return" on FreeBSD
55 Work around /bin/sh that does not like "return" at the top-level
56 of a file that is dot-sourced from inside a function definition.
60 We may want to merge it to 'master' by -rc1 if no regressions are
64 * db/make-with-curl (2014-04-15) 2 commits
65 - Makefile: allow static linking against libcurl
66 - Makefile: use curl-config to determine curl flags
68 Ask curl-config how to link with the curl library, instead of
69 having only a limited configurability knobs in the Makefile.
73 We may want to merge it to 'master' by -rc1 if no regressions are
76 --------------------------------------------------
79 * tr/merge-recursive-index-only (2014-02-05) 3 commits
80 - merge-recursive: -Xindex-only to leave worktree unchanged
81 - merge-recursive: internal flag to avoid touching the worktree
82 - merge-recursive: remove dead conditional in update_stages()
83 (this branch is used by tr/remerge-diff.)
88 * tr/remerge-diff (2014-02-26) 5 commits
89 . log --remerge-diff: show what the conflict resolution changed
90 . name-hash: allow dir hashing even when !ignore_case
91 . merge-recursive: allow storing conflict hunks in index
92 . revision: fold all merge diff variants into an enum merge_diff_mode
93 . combine-diff: do not pass revs->dense_combined_merges redundantly
94 (this branch uses tr/merge-recursive-index-only.)
96 "log -p" output learns a new way to let users inspect a merge
97 commit by showing the differences between the automerged result
98 with conflicts the person who recorded the merge would have seen
99 and the final conflict resolution that was recorded in the merge.
101 Needs to be rebased, now kb/fast-hashmap topic is in.
104 * bc/blame-crlf-test (2014-02-18) 1 commit
105 - blame: add a failing test for a CRLF issue.
107 I have a feeling that a fix for this should be fairly isolated and
108 trivial (it should be just the matter of paying attention to the
109 crlf settings when synthesizing the fake commit)---perhaps somebody
110 can squash in a fix to this?
113 * jk/makefile (2014-02-05) 16 commits
115 - move LESS/LV pager environment to Makefile
116 - Makefile: teach scripts to include make variables
118 - Makefile: auto-build C strings from make variables
119 - Makefile: drop *_SQ variables
121 - Makefile: add c-quote helper function
122 - Makefile: introduce sq function for shell-quoting
123 - Makefile: always create files via make-var
124 - Makefile: store GIT-* sentinel files in MAKE/
125 - Makefile: prefer printf to echo for GIT-*
126 - Makefile: use tempfile/mv strategy for GIT-*
127 - Makefile: introduce make-var helper function
128 - Makefile: fix git-instaweb dependency on gitweb
129 - Makefile: drop USE_GETTEXT_SCHEME from GIT-CFLAGS
131 Simplify the Makefile rules and macros that exist primarily for
132 quoting purposes, and make it easier to robustly express the
138 * po/everyday-doc (2014-01-27) 1 commit
139 - Make 'git help everyday' work
141 This may make the said command to emit something, but the source is
142 not meant to be formatted into a manual pages to begin with, and
143 also its contents are a bit stale. It may be a good first step in
144 the right direction, but needs more work to at least get the
145 mark-up right before public consumption.
150 * jk/branch-at-publish-rebased (2014-01-17) 5 commits
151 . t1507 (rev-parse-upstream): fix typo in test title
152 . implement @{publish} shorthand
153 . branch_get: provide per-branch pushremote pointers
154 . branch_get: return early on error
155 . sha1_name: refactor upstream_mark
157 Give an easier access to the tracking branches from "other" side in
158 a triangular workflow by introducing B@{publish} that works in a
159 similar way to how B@{upstream} does.
161 Meant to be used as a basis for whatever Ram wants to build on.
163 Ejected from 'pu' to make room for fc/publish-vs-upstream topic.
166 * rb/merge-prepare-commit-msg-hook (2014-01-10) 4 commits
167 - merge: drop unused arg from abort_commit method signature
168 - merge: make prepare_to_commit responsible for write_merge_state
169 - t7505: ensure cleanup after hook blocks merge
170 - t7505: add missing &&
172 Expose more merge states (e.g. $GIT_DIR/MERGE_MODE) to hooks that
173 run during "git merge". The log message stresses too much on one
174 hook, prepare-commit-msg, but it would equally apply to other hooks
175 like post-merge, I think.
177 Waiting for a reroll.
180 * jl/submodule-recursive-checkout (2013-12-26) 5 commits
181 - Teach checkout to recursively checkout submodules
182 - submodule: teach unpack_trees() to update submodules
183 - submodule: teach unpack_trees() to repopulate submodules
184 - submodule: teach unpack_trees() to remove submodule contents
185 - submodule: prepare for recursive checkout of submodules
190 * jc/graph-post-root-gap (2013-12-30) 3 commits
191 - WIP: document what we want at the end
192 - graph: remove unused code a bit
193 - graph: stuff the current commit into graph->columns[]
195 This was primarily a RFH ($gmane/239580).
198 * np/pack-v4 (2013-09-18) 90 commits
199 . packv4-parse.c: add tree offset caching
200 . t1050: replace one instance of show-index with verify-pack
201 . index-pack, pack-objects: allow creating .idx v2 with .pack v4
202 . unpack-objects: decode v4 trees
203 . unpack-objects: allow to save processed bytes to a buffer
206 Nico and Duy advancing the eternal vaporware pack-v4. This is here
207 primarily for wider distribution of the preview edition.
209 Needs to be rebased, now the pack-bitmap series is in.
212 * tg/perf-lib-test-perf-cleanup (2013-09-19) 2 commits
213 - perf-lib: add test_perf_cleanup target
214 - perf-lib: split starting the test from the execution
216 Add test_perf_cleanup shell function to the perf suite, that allows
217 the script writers to define a test with a clean-up action.
222 * jc/format-patch (2013-04-22) 2 commits
223 - format-patch: --inline-single
224 - format-patch: rename "no_inline" field
226 A new option to send a single patch to the standard output to be
227 appended at the bottom of a message. I personally have no need for
228 this, but it was easy enough to cobble together. Tests, docs and
229 stripping out more MIMEy stuff are left as exercises to interested
233 * jc/show-branch (2014-03-24) 5 commits
234 - show-branch: use commit slab to represent bitflags of arbitrary width
235 - show-branch.c: remove "all_mask"
236 - show-branch.c: abstract out "flags" operation
237 - show-branch.c: lift all_mask/all_revs to a global static
238 - show-branch.c: update comment style
240 Waiting for the final step to lift the hard-limit before sending it out.
242 --------------------------------------------------
245 * nd/index-pack-one-fd-per-thread (2014-04-09) 1 commit
246 - index-pack: work around thread-unsafe pread()
248 Enable threaded index-pack on platforms without thread-unsafe
251 The log message may need to be replaced ($gmane/246176).
254 * tb/unicode-6.3-zero-width (2014-04-09) 1 commit
255 (merged to 'next' on 2014-04-14 at 72ce72a)
256 + utf8.c: partially update to version 6.3
258 Teach our display-column-counting logic about decomposed umlauts
261 Will merge to 'master'.
264 * fc/complete-aliased-push (2014-04-09) 1 commit
265 - completion: fix completing args of aliased "push", "fetch", etc.
267 Will merge to 'next'.
270 * fc/remote-helper-fixes (2014-04-14) 5 commits
271 - remote-bzr: trivial test fix
272 - remote-bzr: include authors field in pushed commits
273 - remote-bzr: add support for older versions
274 - remote-hg: always normalize paths
275 - remote-helpers: allow all tests running from any dir
277 Will merge to 'next'.
280 * fc/publish-vs-upstream (2014-04-11) 8 commits
281 - sha1_name: add support for @{publish} marks
282 - sha1_name: simplify track finding
283 - sha1_name: cleanup interpret_branch_name()
284 - branch: display publish branch
285 - push: add --set-publish option
286 - branch: add --set-publish-to option
287 - Add concept of 'publish' branch
288 - t5516 (fetch-push): fix test restoration
290 Add branch@{publish}; this round v3 hasn't yet seen much reviews
293 Seems to have some interactions to break t5516 when merged to 'pu'.
296 * ym/fix-opportunistic-index-update-race (2014-04-10) 2 commits
297 - read-cache.c: verify index file before we opportunistically update it
298 - wrapper.c: add xpread() similar to xread()
300 Duy raised a good point that we may need to do the same for the
301 normal writeout codepath, not just the "opportunistic" update
302 codepath. While that is true, nobody sane would be running two
303 simultaneous operations that are clearly write-oriented competing
304 with each other against the same index file. So in that sense that
305 can be done as a less urgent follow-up for this topic.
307 Will merge to 'next' and keep it there for the remainder of the cycle.
310 * km/avoid-bs-in-shell-glob (2014-04-11) 1 commit
311 (merged to 'next' on 2014-04-14 at a3d9a58)
312 + test: fix t5560 on FreeBSD
315 Will merge to 'master'.
318 * km/avoid-cp-a (2014-04-11) 1 commit
319 (merged to 'next' on 2014-04-14 at be661c4)
320 + test: fix t7001 cp to use POSIX options
323 Will merge to 'master'.
326 * jl/status-added-submodule-is-never-ignored (2014-04-07) 2 commits
327 - commit -m: commit staged submodules regardless of ignore config
328 - status/commit: show staged submodules regardless of ignore config
330 There also are a few patches Ronald Weiss and Jens are working on
331 polishing around this topic, and a patch from Jens each for gitk
334 Waiting for the dust to settle until picking them up all.
337 * mh/multimail (2014-04-07) 1 commit
338 (merged to 'next' on 2014-04-15 at eaba915)
339 + git-multimail: update to version 1.0.0
341 Will merge to 'master'.
344 * mh/lockfile (2014-04-15) 25 commits
345 - trim_last_path_elm(): replace last_path_elm()
346 - resolve_symlink(): take a strbuf parameter
347 - resolve_symlink(): use a strbuf for internal scratch space
348 - change lock_file::filename into a strbuf
349 - commit_lock_file(): use a strbuf to manage temporary space
350 - try_merge_strategy(): use a statically-allocated lock_file object
351 - try_merge_strategy(): remove redundant lock_file allocation
352 - struct lock_file: declare some fields volatile
353 - lockfile: avoid transitory invalid states
354 - commit_lock_file(): die() if called for unlocked lockfile object
355 - commit_lock_file(): inline temporary variable
356 - remove_lock_file(): call rollback_lock_file()
357 - lock_file(): exit early if lockfile cannot be opened
358 - write_packed_entry_fn(): convert cb_data into a (const int *)
359 - prepare_index(): declare return value to be (const char *)
360 - delete_ref_loose(): don't muck around in the lock_file's filename
361 - cache.h: define constants LOCK_SUFFIX and LOCK_SUFFIX_LEN
362 - lockfile.c: document the various states of lock_file objects
363 - lock_file(): always add lock_file object to lock_file_list
364 - hold_lock_file_for_append(): release lock on errors
365 - lockfile: unlock file if lockfile permissions cannot be adjusted
366 - rollback_lock_file(): set fd to -1
367 - rollback_lock_file(): do not clear filename redundantly
368 - api-lockfile: expand the documentation
369 - unable_to_lock_die(): rename function from unable_to_lock_index_die()
371 Refactor and fix corner-case bugs in the lockfile API, all looked
374 Still being commented on.
377 * mt/patch-id-stable (2014-03-31) 3 commits
378 (merged to 'next' on 2014-04-08 at 0188d44)
379 + patch-id-test: test --stable and --unstable flags
380 + patch-id: document new behaviour
381 + patch-id: make it stable against hunk reordering
383 Introduce a new way to compute patch-id for a patch that is not
384 affected by the order of the paths that appear in the input.
386 This changes the generated patch-id unless the users add an extra
387 option to their command lines, but I deliberately queued the series
388 to 'next' without reverting that compatibility breakage to see if
389 people complain. It could be that we do not have to worry about
390 the default flipping at all. We'll see.
392 Will keep in 'next' for the remainder of the cycle.
395 * mh/ref-transaction (2014-04-07) 27 commits
396 - ref_transaction_commit(): work with transaction->updates in place
397 - struct ref_update: add a type field
398 - struct ref_update: add a lock field
399 - ref_transaction_commit(): simplify code using temporary variables
400 - struct ref_update: store refname as a FLEX_ARRAY
401 - struct ref_update: rename field "ref_name" to "refname"
402 - refs: remove API function update_refs()
403 - update-ref --stdin: reimplement using reference transactions
404 - refs: add a concept of a reference transaction
405 - update-ref --stdin: harmonize error messages
406 - update-ref --stdin: improve the error message for unexpected EOF
407 - t1400: test one mistake at a time
408 - update-ref --stdin -z: deprecate interpreting the empty string as zeros
409 - update-ref.c: extract a new function, parse_next_sha1()
410 - t1400: test that stdin -z update treats empty <newvalue> as zeros
411 - update-ref --stdin: simplify error messages for missing oldvalues
412 - update-ref --stdin: make error messages more consistent
413 - update-ref --stdin: improve error messages for invalid values
414 - update-ref.c: extract a new function, parse_refname()
415 - parse_cmd_verify(): copy old_sha1 instead of evaluating <oldvalue> twice
416 - update-ref --stdin: read the whole input at once
417 - update_refs(): fix constness
418 - refs.h: rename the action_on_err constants
419 - t1400: add some more tests involving quoted arguments
420 - parse_arg(): really test that argument is properly terminated
421 - t1400: provide more usual input to the command
422 - t1400: fix name and expected result of one test
423 (this branch is used by rs/ref-closer-to-atomic.)
425 Update "update-ref --stdin [-z]" and then introduce a transactional
426 support for (multi-)reference updates.
428 Will merge to 'next' and keep it there for the remainder of the cycle.
431 * jc/apply-ignore-whitespace (2014-03-26) 1 commit
432 (merged to 'next' on 2014-04-04 at 53779a7)
433 + apply --ignore-space-change: lines with and without leading whitespaces do not match
435 "--ignore-space-change" option of "git apply" ignored the
436 spaces at the beginning of line too aggressively, which is
437 inconsistent with the option of the same name "diff" and "git diff"
440 Will keep in 'next' for the remainder of the cycle.
443 * as/grep-fullname-config (2014-03-20) 1 commit
444 (merged to 'next' on 2014-03-28 at 810a076)
445 + grep: add grep.fullName config variable
447 Add a configuration variable to force --full-name to be default for
450 This may cause regressions on scripted users that do not expect
453 Will keep in 'next' for the remainder of the cycle.
456 * nd/multiple-work-trees (2014-03-25) 28 commits
457 - count-objects: report unused files in $GIT_DIR/repos/...
458 - gc: support prune --repos
459 - gc: style change -- no SP before closing bracket
460 - prune: strategies for linked checkouts
461 - checkout: detach if the branch is already checked out elsewhere
462 - checkout: clean up half-prepared directories in --to mode
463 - checkout: support checking out into a new working directory
464 - use new wrapper write_file() for simple file writing
465 - wrapper.c: wrapper to open a file, fprintf then close
466 - setup.c: support multi-checkout repo setup
467 - setup.c: detect $GIT_COMMON_DIR check_repository_format_gently()
468 - setup.c: convert check_repository_format_gently to use strbuf
469 - setup.c: detect $GIT_COMMON_DIR in is_git_directory()
470 - setup.c: convert is_git_directory() to use strbuf
471 - git-stash: avoid hardcoding $GIT_DIR/logs/....
472 - *.sh: avoid hardcoding $GIT_DIR/hooks/...
473 - git-sh-setup.sh: use rev-parse --git-path to get $GIT_DIR/objects
474 - $GIT_COMMON_DIR: a new environment variable
475 - commit: use SEQ_DIR instead of hardcoding "sequencer"
476 - fast-import: use git_path() for accessing .git dir instead of get_git_dir()
477 - reflog: avoid constructing .lock path with git_path
478 - *.sh: respect $GIT_INDEX_FILE
479 - git_path(): be aware of file relocation in $GIT_DIR
480 - path.c: group git_path(), git_pathdup() and strbuf_git_path() together
481 - path.c: rename vsnpath() to do_git_path()
482 - git_snpath(): retire and replace with strbuf_git_path()
483 - path.c: make get_pathname() call sites return const char *
484 - path.c: make get_pathname() return strbuf instead of static buffer
486 A replacement for contrib/workdir/git-new-workdir that does not
487 rely on symbolic links and make sharing of objects and refs safer
488 by making the borrowee and borrowers aware of each other.
493 * ks/tree-diff-nway (2014-04-09) 20 commits
494 (merged to 'next' on 2014-04-09 at c17228e)
495 + mingw: activate alloca
496 (merged to 'next' on 2014-04-08 at 6b74773)
497 + combine-diff: speed it up, by using multiparent diff tree-walker directly
498 + tree-diff: rework diff_tree() to generate diffs for multiparent cases as well
499 + Portable alloca for Git
500 (merged to 'next' on 2014-03-31 at 16a7bd4)
501 + tree-diff: reuse base str(buf) memory on sub-tree recursion
502 + tree-diff: no need to call "full" diff_tree_sha1 from show_path()
503 + tree-diff: rework diff_tree interface to be sha1 based
504 + tree-diff: diff_tree() should now be static
505 + tree-diff: remove special-case diff-emitting code for empty-tree cases
506 (merged to 'next' on 2014-03-25 at cfcbdac)
507 + tree-diff: simplify tree_entry_pathcmp
508 + tree-diff: show_path prototype is not needed anymore
509 + tree-diff: rename compare_tree_entry -> tree_entry_pathcmp
510 + tree-diff: move all action-taking code out of compare_tree_entry()
511 + tree-diff: don't assume compare_tree_entry() returns -1,0,1
512 (merged to 'next' on 2014-03-21 at d872679)
513 + tree-diff: consolidate code for emitting diffs and recursion in one place
514 + tree-diff: show_tree() is not needed
515 + tree-diff: no need to pass match to skip_uninteresting()
516 + tree-diff: no need to manually verify that there is no mode change for a path
517 + combine-diff: move changed-paths scanning logic into its own function
518 + combine-diff: move show_log_first logic/action out of paths scanning
520 Instead of running N pair-wise diff-trees when inspecting a
521 N-parent merge, find the set of paths that were touched by walking
522 N+1 trees in parallel. These set of paths can then be turned into
523 N pair-wise diff-tree results to be processed through rename
524 detections and such. And N=2 case nicely degenerates to the usual
525 2-way diff-tree, which is very nice.
527 Will keep in 'next' for the remainder of the cycle.
530 * cc/interpret-trailers (2014-04-07) 12 commits
531 - trailer: add blank line before the trailers if needed
532 - Documentation: add documentation for 'git interpret-trailers'
533 - trailer: add tests for commands in config file
534 - trailer: execute command from 'trailer.<name>.command'
535 - trailer: add tests for "git interpret-trailers"
536 - trailer: add interpret-trailers command
537 - trailer: put all the processing together and print
538 - trailer: parse trailers from stdin
539 - trailer: process command line trailer arguments
540 - trailer: read and process config information
541 - trailer: process trailers from stdin and arguments
542 - trailer: add data structures and basic functions
544 A new filter to programatically edit the tail end of the commit log
547 I was planning to merge it to 'next' and keep it there for the
548 remainder of the cycle, but it appears that there still will be
549 another round of reroll, at least for the documentation?
551 --------------------------------------------------
554 * sz/mingw-index-pack-threaded (2014-03-19) 1 commit
555 . Enable index-pack threading in msysgit.
557 Queued a different attempt by Duy on nd/index-pack-one-fd-per-thread
560 * rs/ref-closer-to-atomic (2014-04-14) 3 commits
561 . refs.c: change ref_transaction_commit to run the commit loops once all work is finished
562 . refs.c: split delete_ref_loose() into a separate flag-for-deletion and commit phase
563 . refs.c: split writing and commiting a ref into two separate functions
564 (this branch uses mh/ref-transaction.)
566 Builds on top of Michael's ref-transaction series to shrink the
567 race window during multiple ref updates.
569 Deferred to be rerolled ($gmane/246289).