What's cooking (2015/04 #05)
[alt-git.git] / whats-cooking.txt
blob1bfd2791e334723e15e69a6c52b6ed5abcfc0f48
1 To: git@vger.kernel.org
2 Bcc: lwn@lwn.net
3 Subject: What's cooking in git.git (Apr 2015, #05; Thu, 30)
4 X-master-at: 3d4a3ffe64162b45ae7c991fc60623ecb4678cfd
5 X-next-at: 7a0482398323b9bd8dbb64ab9010e63a95b81bce
7 What's cooking in git.git (Apr 2015, #05; Thu, 30)
8 --------------------------------------------------
10 Here are the topics that have been cooking.  Commits prefixed with
11 '-' are only in 'pu' (proposed updates) while commits prefixed with
12 '+' are in 'next'.
14 Git 2.4 final has been tagged.  We'll wait for a few days to see
15 if there are brown-paper-bag bugs, fix them if there are any, and
16 then rewind 'next' and rebuild it to kick off the next cycle.
18 You can find the changes described here in the integration branches
19 of the repositories listed at
21     http://git-blame.blogspot.com/p/git-public-repositories.html
23 --------------------------------------------------
24 [Graduated to "master"]
26 * mg/show-notes-doc (2015-04-17) 1 commit
27   (merged to 'next' on 2015-04-20 at 2e93969)
28  + rev-list-options.txt: complete sentence about notes matching
30  Documentation fix.
33 * mg/status-v-v (2015-04-23) 1 commit
34   (merged to 'next' on 2015-04-25 at cbcaca4)
35  + status: document the -v/--verbose option
37  Documentation fix.
40 * nd/versioncmp-prereleases (2015-04-23) 1 commit
41   (merged to 'next' on 2015-04-25 at f824d7f)
42  + git tag: mention versionsort.prereleaseSuffix in manpage
44  Documentation fix.
46 --------------------------------------------------
47 [New Topics]
49 * jk/rebase-quiet-noop (2015-04-28) 1 commit
50  - rebase: silence "git checkout" for noop rebase
52  "git rebase --quiet" was not quite quiet when there is nothing to
53  do.
55  Will merge to 'next'.
58 * ld/p4-case-fold (2015-04-28) 1 commit
59  - git-p4: add failing tests for case-folding p4d
61  Will merge to 'next'.
64 * va/fix-git-p4-tests (2015-04-28) 1 commit
65  - git-p4: t9814: prevent --chain-lint failure
67  Will merge to 'next'.
70 * jk/filter-branch-use-of-sed-on-incomplete-line (2015-04-29) 1 commit
71  - filter-branch: avoid passing commit message through sed
73  "filter-branch" was broken by some "sed" implementations that
74  corrupt commit log message that ends with an incomplete line.
75  Work it around by avoiding to use "sed".
77  Will merge to 'next'.
80 * ph/rebase-i-redo (2015-04-29) 1 commit
81  - rebase -i: redo tasks that die during cherry-pick
83  "git rebase -i" moved the "current" command from "todo" to "done" a
84  bit too prematurely, losing a step when a "pick" did not even start.
86  Will merge to 'next'.
89 * ep/do-not-feed-a-pointer-to-array-size (2015-04-30) 2 commits
90  - SQUASH???
91  - git-compat-util.h: implement a different ARRAY_SIZE macro for for safely deriving the size of array
93  Catch programmer mistake to feed a pointer not an array to
94  ARRAY_SIZE() macro, by using a couple of GCC extensions.
97 * tb/blame-resurrect-convert-to-git (2015-04-30) 1 commit
98  - blame: CRLF in the working tree and LF in the repo
100  Some time ago, "git blame" (incorrectly) lost the convert_to_git()
101  call when synthesizing a fake "tip" commit that represents the
102  state in the working tree, which broke folks who record the history
103  with LF line ending to make their project portabile across
104  platforms while terminating lines in their working tree files with
105  CRLF for their platform.
107  Will merge to 'next'.
109 --------------------------------------------------
110 [Stalled]
112 * kk/log-merges-config (2015-04-21) 5 commits
113  - bash-completion: add support for git-log --merges= and log.merges
114  - t4202-log: add tests for --merges=
115  - Documentation: add git-log --merges= option and log.merges config. var
116  - log: honor log.merges= option
117  - revision: add --merges={show|only|hide} option
119  "git log" (but not other commands in the "log" family) learned to
120  pay attention to the log.merges configuration variable that can be
121  set to "show" (the normal behaviour), "only" (hide non-merge
122  commits), or "hide" (hide merge commits).  --merges=(show|only|hide)
123  can be used to override the setting from the command line.
125  The documentation may need to be updated once more ($gmane/267250).
126  Waiting for a reroll.
129 * mh/fdopen-with-retry (2015-03-06) 6 commits
130  - buffer_fdinit(): use fdopen_with_retry()
131  - update_info_file(): use fdopen_with_retry()
132  - copy_to_log(): use fdopen_with_retry()
133  - fdopen_lock_file(): use fdopen_with_retry()
134  - SQUASH??? $gmane/264889
135  - xfdopen(): if first attempt fails, free memory and try again
137  Various parts of the code where they call fdopen() can fail when
138  they run out of memory; attempt to proceed by retrying the
139  operation after freeing some resource.
141  Will discard.
144 * mg/httpd-tests-update-for-apache-2.4 (2015-04-08) 2 commits
145  - t/lib-git-svn: check same httpd module dirs as lib-httpd
146  - t/lib-httpd: load mod_unixd
148  This is the first two commits in a three-patch series $gmane/266962
149  Will be rerolled.
150  with updated log message ($gmane/268061).
153 * jk/at-push-sha1 (2015-03-31) 6 commits
154  - sha1_name: implement @{push} shorthand
155  - sha1_name: refactor upstream_mark
156  - remote.c: provide per-branch pushremote name
157  - remote.c: hoist branch.*.remote lookup out of remote_get_1
158  - remote.c: drop "remote" pointer from "struct branch"
159  - remote.c: drop default_remote_name variable
161  Introduce <branch>@{push} short-hand to denote the remote-tracking
162  branch that tracks the branch at the remote the <branch> would be
163  pushed to.
165  Will be rerolled ($gmane/268040).
168 * pt/xdg-config-path (2015-04-12) 7 commits
169  - path.c: remove home_config_paths()
170  - git-config: replace use of home_config_paths()
171  - git-commit: replace use of home_config_paths()
172  - credential-store.c: replace home_config_paths() with xdg_config_home()
173  - dir.c: replace home_config_paths() with xdg_config_home()
174  - attr.c: replace home_config_paths() with xdg_config_home()
175  - path.c: implement xdg_config_home()
176  (this branch uses pt/credential-xdg.)
178  Seen some discussions.
179  Waiting for a reroll ($gmane/267518).
182 * mh/numparse (2015-03-19) 14 commits
183  - diff_opt_parse(): use convert_i() when handling --abbrev=<num>
184  - diff_opt_parse(): use convert_i() when handling "-l<num>"
185  - opt_arg(): simplify pointer handling
186  - opt_arg(): report errors parsing option values
187  - opt_arg(): use convert_i() in implementation
188  - opt_arg(): val is always non-NULL
189  - builtin_diff(): detect errors when parsing --unified argument
190  - handle_revision_opt(): use convert_ui() when handling "--abbrev="
191  - strtoul_ui(), strtol_i(): remove functions
192  - handle_revision_opt(): use convert_i() when handling "-<digit>"
193  - handle_revision_opt(): use skip_prefix() in many places
194  - write_subdirectory(): use convert_ui() for parsing mode
195  - cacheinfo_callback(): use convert_ui() when handling "--cacheinfo"
196  - numparse: new module for parsing integral numbers
198  Many codepaths use unchecked use of strtol() and friends (or even
199  worse, atoi()).  Introduce a set of wrappers that try to be more
200  careful.
202  Will be rerolled.
203  ($gmane/268058).
206 * tf/gitweb-project-listing (2015-03-19) 5 commits
207  - gitweb: make category headings into links when they are directories
208  - gitweb: optionally set project category from its pathname
209  - gitweb: add a link under the search box to clear a project filter
210  - gitweb: if the PATH_INFO is incomplete, use it as a project_filter
211  - gitweb: fix typo in man page
213  Update gitweb to make it more pleasant to deal with a hierarchical
214  forest of repositories.
216  Any comments from those who use or have their own code in Gitweb?
219 * jc/a-lone-dash-stands-for-previous-branch (2015-03-16) 1 commit
220  - "-" and "@{-1}" on various programs
222  Lose special case code to make a lone dash "-" mean the previous
223  branch aka "@{-1}" from a handful subcommands, and instead support
224  the notation throughout the system by reimplementing it at the
225  revisions layer.
227  Needs tests, documentation updates, etc.  Also does only a half-way
228  job dealing with range notation, which needs to be fixed before the
229  series goes anywhere.
232 * nd/list-files (2015-02-09) 21 commits
233  - t3080: tests for git-list-files
234  - list-files: -M aka diff-cached
235  - list-files -F: show submodules with the new indicator '&'
236  - list-files: add -F/--classify
237  - list-files: show directories as well as files
238  - list-files: do not show duplicate cached entries
239  - list-files: sort output and remove duplicates
240  - list-files: add -t back
241  - list-files: add -1 short for --no-column
242  - list-files: add -R/--recursive short for --max-depth=-1
243  - list-files: -u does not imply showing stages
244  - list-files: make alias 'ls' default to 'list-files'
245  - list-files: a user friendly version of ls-files and more
246  - ls-files: support --max-depth
247  - ls-files: add --column
248  - ls-files: add --color to highlight file names
249  - ls-files: buffer full item in strbuf before printing
250  - ls_colors.c: highlight submodules like directories
251  - ls_colors.c: add a function to color a file name
252  - ls_colors.c: parse color.ls.* from config file
253  - ls_colors.c: add $LS_COLORS parsing code
255  A new "git list-files" Porcelain command, "ls-files" with bells and
256  whistles.
258  Reroll to base on wt-status work ($gmane/265142) has seen some
259  positive discussions.
261  Waiting for a further polished reroll ($gmane/265534).
264 * js/fsck-opt (2015-01-21) 19 commits
265  - fsck: support ignoring objects in `git fsck` via fsck.skiplist
266  - fsck: git receive-pack: support excluding objects from fsck'ing
267  - fsck: introduce `git fsck --quick`
268  - fsck: support demoting errors to warnings
269  - fsck: document the new receive.fsck.* options
270  - fsck: allow upgrading fsck warnings to errors
271  - fsck: optionally ignore specific fsck issues completely
272  - fsck: disallow demoting grave fsck errors to warnings
273  - fsck: add a simple test for receive.fsck.*
274  - fsck: make fsck_tag() warn-friendly
275  - fsck: handle multiple authors in commits specially
276  - fsck: make fsck_commit() warn-friendly
277  - fsck: make fsck_ident() warn-friendly
278  - fsck: report the ID of the error/warning
279  - fsck: allow demoting errors to warnings via receive.fsck.warn = <key>
280  - fsck: offer a function to demote fsck errors to warnings
281  - fsck: provide a function to parse fsck message IDs
282  - fsck: introduce identifiers for fsck messages
283  - fsck: introduce fsck options
285  "fsck.warnings = <list of error tokens>" I suggested turned out to
286  be an unpopular choice (sorry Dscho).
288  Expecting a reroll.
291 * nd/untracked-cache (2015-03-12) 24 commits
292  - git-status.txt: advertisement for untracked cache
293  - untracked cache: guard and disable on system changes
294  - mingw32: add uname()
295  - t7063: tests for untracked cache
296  - update-index: test the system before enabling untracked cache
297  - update-index: manually enable or disable untracked cache
298  - status: enable untracked cache
299  - untracked-cache: temporarily disable with $GIT_DISABLE_UNTRACKED_CACHE
300  - untracked cache: mark index dirty if untracked cache is updated
301  - untracked cache: print stats with $GIT_TRACE_UNTRACKED_STATS
302  - untracked cache: avoid racy timestamps
303  - read-cache.c: split racy stat test to a separate function
304  - untracked cache: invalidate at index addition or removal
305  - untracked cache: load from UNTR index extension
306  - untracked cache: save to an index extension
307  - ewah: add convenient wrapper ewah_serialize_strbuf()
308  - untracked cache: don't open non-existent .gitignore
309  - untracked cache: mark what dirs should be recursed/saved
310  - untracked cache: record/validate dir mtime and reuse cached output
311  - untracked cache: make a wrapper around {open,read,close}dir()
312  - untracked cache: invalidate dirs recursively if .gitignore changes
313  - untracked cache: initial untracked cache validation
314  - untracked cache: record .gitignore information and dir hierarchy
315  - dir.c: optionally compute sha-1 of a .gitignore file
317  Need extra sets of eyes to review this.
320 * nd/pathspec-strip-fix (2015-04-18) 1 commit
321  - pathspec: adjust prefixlen after striping trailing slash
323  Does not quite fix ($gmane/267614).
326 * jc/diff-b-m (2015-02-23) 5 commits
327  . WIPWIP
328  . WIP: diff-b-m
329  - diffcore-rename: allow easier debugging
330  - diffcore-rename.c: add locate_rename_src()
331  - diffcore-break: allow debugging
333  "git diff -B -M" produced incorrect patch when the postimage of a
334  completely rewritten file is similar to the preimage of a removed
335  file; such a resulting file must not be expressed as a rename from
336  other place.
338  The fix in this patch is broken, unfortunately.
341 * pw/remote-set-url-fetch (2014-11-26) 1 commit
342  - remote: add --fetch and --both options to set-url
344  Expecting a reroll.
347 * tr/remerge-diff (2014-11-10) 9 commits
348  - t4213: avoid "|" in sed regexp
349  - log --remerge-diff: show what the conflict resolution changed
350  - name-hash: allow dir hashing even when !ignore_case
351  - merge-recursive: allow storing conflict hunks in index
352  - merge_diff_mode: fold all merge diff variants into an enum
353  - combine-diff: do not pass revs->dense_combined_merges redundantly
354  - merge-recursive: -Xindex-only to leave worktree unchanged
355  - merge-recursive: internal flag to avoid touching the worktree
356  - merge-recursive: remove dead conditional in update_stages()
358  "log -p" output learns a new way to let users inspect a merge
359  commit by showing the differences between the automerged result
360  with conflicts the person who recorded the merge would have seen
361  and the final conflict resolution that was recorded in the merge.
363  Waiting for a reroll ($gmane/256591).
366 * hv/submodule-config (2014-11-11) 4 commits
367  - do not die on error of parsing fetchrecursesubmodules option
368  - use new config API for worktree configurations of submodules
369  - extract functions for submodule config set and lookup
370  - implement submodule config cache for lookup of submodule names
372  Kicked back to 'pu' per request ($gmane/255610).
375 * tg/perf-lib-test-perf-cleanup (2013-09-19) 2 commits
376  - perf-lib: add test_perf_cleanup target
377  - perf-lib: split starting the test from the execution
379  Add test_perf_cleanup shell function to the perf suite, that allows
380  the script writers to define a test with a clean-up action.
382  Will hold.
385 * jc/show-branch (2014-03-24) 5 commits
386  - show-branch: use commit slab to represent bitflags of arbitrary width
387  - show-branch.c: remove "all_mask"
388  - show-branch.c: abstract out "flags" operation
389  - show-branch.c: lift all_mask/all_revs to a global static
390  - show-branch.c: update comment style
392  Waiting for the final step to lift the hard-limit.
394 --------------------------------------------------
395 [Cooking]
397 * jc/epochtime-wo-tz (2015-04-15) 2 commits
398   (merged to 'next' on 2015-04-21 at b926f72)
399  + parse_date_basic(): let the system handle DST conversion
400  + parse_date_basic(): return early when given a bogus timestamp
402  "git commit --date=now" or anything that relies on approxidate lost
403  the daylight-saving-time offset.
405  Will merge to 'master' in the second batch of post v2.4 cycle.
408 * jc/plug-fmt-merge-msg-leak (2015-04-20) 1 commit
409   (merged to 'next' on 2015-04-21 at 443c728)
410  + fmt-merge-msg: plug small leak of commit buffer
412  Will merge to 'master' in the second batch of post v2.4 cycle.
415 * cn/bom-in-gitignore (2015-04-16) 5 commits
416   (merged to 'next' on 2015-04-21 at f7d56f1)
417  + attr: skip UTF8 BOM at the beginning of the input file
418  + config: use utf8_bom[] from utf.[ch] in git_parse_source()
419  + utf8-bom: introduce skip_utf8_bom() helper
420  + add_excludes_from_file: clarify the bom skipping logic
421  + dir: allow a BOM at the beginning of exclude files
423  Teach the codepaths that read .gitignore and .gitattributes files
424  that these files encoded in UTF-8 may have UTF-8 BOM marker at the
425  beginning; this makes it in line with what we do for configuration
426  files already.
428  Will merge to 'master' in the second batch of post v2.4 cycle.
431 * ee/clean-remove-dirs (2015-04-26) 5 commits
432  - clean: improve performance when removing lots of directories
433  - p7300: add performance tests for clean
434  - t7300: add tests to document behavior of clean and nested git
435  - setup: sanity check file size in read_gitfile_gently
436  - setup: add gentle version of read_gitfile
438  Replace "is this subdirectory a separate repository that should not
439  be touched?" check "git clean" does by checking if it has .git/HEAD
440  using the submodule-related code with a more optimized check.
442  Waiting for a reroll.
445 * ep/fix-test-lib-functions-report (2015-04-16) 1 commit
446   (merged to 'next' on 2015-04-21 at 23e584f)
447  + test-lib-functions.sh: fix the second argument to some helper functions
449  Will merge to 'master' in the second batch of post v2.4 cycle.
452 * jk/still-interesting (2015-04-17) 1 commit
453   (merged to 'next' on 2015-04-21 at 58b54af)
454  + limit_list: avoid quadratic behavior from still_interesting
456  "git rev-list --objects $old --not --all" to see if everything that
457  is reachable from $old is already connected to the existing refs
458  was very inefficient.
460  Will merge to 'master' in the second batch of post v2.4 cycle.
463 * jk/type-from-string-gently (2015-04-17) 1 commit
464   (merged to 'next' on 2015-04-20 at a97611f)
465  + type_from_string_gently: make sure length matches
467  "git cat-file bl $blob" failed to barf even though there is no
468  object type that is "bl".
470  Will merge to 'master' in the first batch of post v2.4 cycle.
473 * ls/p4-changes-block-size (2015-04-20) 1 commit
474   (merged to 'next' on 2015-04-21 at 830eeed)
475  + git-p4: use -m when running p4 changes
477  "git p4" learned "--changes-block-size <n>" to read the changes in
478  chunks from Perforce, instead of making one call to "p4 changes"
479  that may trigger "too many rows scanned" error from Perforce.
481  Will merge to 'master' in the second batch of post v2.4 cycle.
484 * mm/add-p-split-error (2015-04-16) 5 commits
485   (merged to 'next' on 2015-04-23 at b1bd21a)
486  + stash -p: demonstrate failure of split with mixed y/n
487  + t3904-stash-patch: factor PERL prereq at the top of the file
488  + t3904-stash-patch: fix test description
489  + add -p: demonstrate failure when running 'edit' after a split
490  + t3701-add-interactive: simplify code
492  When "add--interactive" splits a hunk into two overlapping hunks
493  and then let the user choose only one, it sometimes feeds an
494  incorrect patch text to "git apply".  Add tests to demonstrate
495  this.
497  I have a slight suspicion that this may be $gmane/87202 coming back
498  and biting us (I seem to have said "let's run with this and see
499  what happens" back then).
501  Will merge to 'master' in the third batch of post v2.4 cycle.
504 * mm/usage-log-l-can-take-regex (2015-04-20) 2 commits
505   (merged to 'next' on 2015-04-21 at 03e951c)
506  + log -L: improve error message on malformed argument
507  + Documentation: change -L:<regex> to -L:<funcname>
509  Will merge to 'master' in the second batch of post v2.4 cycle.
512 * nd/t1509-chroot-test (2015-04-18) 1 commit
513   (merged to 'next' on 2015-04-21 at 60d35d3)
514  + t1509: update prepare script to be able to run t1509 in chroot again
516  Correct test bitrot.
518  Will merge to 'master' in the first batch of post v2.4 cycle.
521 * oh/fix-config-default-user-name-section (2015-04-17) 1 commit
522   (merged to 'next' on 2015-04-20 at b74b914)
523  + config: fix settings in default_user_config template
525  The default $HOME/.gitconfig file created upon "git config --global"
526  that edits it had incorrectly spelled user.name and user.email
527  entries in it.
529  Will merge to 'master' in the first batch of post v2.4 cycle.
532 * tb/t0027-crlf (2015-04-25) 3 commits
533  - t0027: Add repoMIX and LF_nul
534   (merged to 'next' on 2015-04-21 at 142cb99)
535  + t0027: support NATIVE_CRLF platforms
536  + t0027: cleanup: rename functions; avoid non-leading TABs
538  Will merge to 'next'.
541 * jk/prune-mtime (2015-04-20) 3 commits
542   (merged to 'next' on 2015-04-21 at 9990d41)
543  + sha1_file: only freshen packs once per run
544  + sha1_file: freshen pack objects before loose
545  + reachable: only mark local objects as recent
547  Access to objects in repositories that borrow from another one on a
548  slow NFS server unnecessarily got more expensive due to recent code
549  becoming more cautious in a naive way not to lose objects to pruning.
551  Will merge to 'master' in the second batch of post v2.4 cycle.
554 * jc/gitignore-precedence (2015-04-22) 1 commit
555  - ignore: info/exclude should trump core.excludesfile
557  core.excludesfile (defaulting to $XDG_HOME/git/ignore) is supposed
558  to be overridden by repository-specific .git/info/exclude file, but
559  the order was swapped from the beginning. This belatedly fixes it.
561  Will merge to 'next'.
564 * jk/git-no-more-argv0-path-munging (2015-04-22) 1 commit
565  - stop putting argv[0] dirname at front of PATH
567  We have prepended $GIT_EXEC_PATH and the path "git" is installed in
568  (typically "/usr/bin") to $PATH when invoking subprograms and hooks
569  for almost eternity, but the original use case the latter tried to
570  support was semi-bogus (i.e. install git to /opt/foo/git and run it
571  without having /opt/foo on $PATH), and more importantly it has
572  become less and less relevant as Git grew more mainstream (i.e. the
573  users would _want_ to have it on their $PATH).  Stop prepending the
574  path in which "git" is installed to users' $PATH, as that would
575  interfere the command search order people depend on (e.g. they may
576  not like versions of programs that are unrelated to Git in /usr/bin
577  and want to override them by having different ones in /usr/local/bin
578  and have the latter directory earlier in their $PATH).
580  Will merge to 'next'.
583 * jk/stash-require-clean-index (2015-04-22) 3 commits
584  - stash: require a clean index to apply
585  - t3903: avoid applying onto dirty index
586  - t3903: stop hard-coding commit sha1s
588  "git stash pop/apply" forgot to make sure that not just the working
589  tree is clean but also the index is clean. The latter is important
590  as a stash application can conflict and the index will be used for
591  conflict resolution.
593  Will merge to 'next'.
596 * jc/merge (2015-04-29) 15 commits
597  - merge: deprecate 'git merge <message> HEAD <commit>' syntax
598  - merge: handle FETCH_HEAD internally
599  - merge: decide if we auto-generate the message early in collect_parents()
600  - merge: make collect_parents() auto-generate the merge message
601  - merge: extract prepare_merge_message() logic out
602  - merge: narrow scope of merge_names
603  - merge: split reduce_parents() out of collect_parents()
604  - merge: clarify collect_parents() logic
605  - merge: small leakfix and code simplification
606  - merge: do not check argc to determine number of remote heads
607  - merge: clarify "pulling into void" special case
608  - t5520: test pulling an octopus into an unborn branch
609  - t5520: style fixes
610  - merge: simplify code flow
611  - merge: test the top-level merge driver
612  (this branch is used by jc/merge-drop-old-syntax.)
614  "git merge FETCH_HEAD" learned that the previous "git fetch" could
615  be to create an Octopus merge, i.e. recording multiple branches
616  that are not marked as "not-for-merge"; this allows us to lose an
617  old style invocation "git merge <msg> HEAD $commits..." in the
618  implementation of "git pull" script; the old style syntax can now
619  be deprecated.
622 * jc/merge-drop-old-syntax (2015-04-29) 1 commit
623  - merge: drop 'git merge <message> HEAD <commit>' syntax
624  (this branch uses jc/merge.)
626  Stop supporting "git merge <messsage> HEAD <commit>" syntax that
627  has been deprecated since October 2007.
630 * jk/test-chain-lint (2015-04-28) 2 commits
631  - test-lib: turn on GIT_TEST_CHAIN_LINT by default
632  - t7502-commit.sh: fix a broken and-chain
634  Will merge to 'next'.
637 * mh/ref-lock-avoid-running-out-of-fds (2015-04-25) 8 commits
638  - ref_transaction_commit(): only keep one lockfile open at a time
639  - ref_transaction_commit(): remove the local flags variables
640  - write_ref_sha1(): inline function at callers
641  - commit_ref_update(): new function, extracted from write_ref_sha1()
642  - write_ref_to_lockfile(): new function, extracted from write_ref_sha1()
643  - refs.c: remove lock_fd from struct ref_lock
644  - t7004: rename ULIMIT test prerequisite to ULIMIT_STACK_SIZE
645  - update-ref: test handling large transactions properly
646  (this branch is tangled with sb/ref-lock-avoid-running-out-of-fds.)
648  "git update-ref --stdin" was converted to be "transactional" some
649  time ago, but the ref transaction machinery was not prepared to
650  handle many refs, primarily because it tried to keep the loose ref
651  files open at the same time, which would cause us to hit the ENFILE
652  limit.  Fix the ref_transaction_commit() code not to keep the file
653  descriptors open unnecessarily.
655  We would probably want to apply the fix to older codebase, but this
656  fix is unfortunately done to apply only on v2.4.x track.
659 * bc/connect-plink (2015-04-28) 3 commits
660  - connect: improve check for plink to reduce false positives
661  - t5601: fix quotation error leading to skipped tests
662  - connect: simplify SSH connection code path
664  The connection initiation code for "ssh" transport tried to absorb
665  differences between the stock "ssh" and Putty-supplied "plink" and
666  its derivatives, but the logic to tell that we are using "plink"
667  variants were too loose and falsely triggered when "plink" appeared
668  anywhere in the path (e.g. "/home/me/bin/uplink/ssh").
670  Will merge to 'next'.
673 * jc/test-prereq-validate (2015-04-28) 1 commit
674  - test: validate prerequistes syntax
676  Help us to find broken test script that splits the body part of the
677  test by mistaken use of wrong kind of quotes.
679  Will merge to 'next'.
682 * fg/document-commit-message-stripping (2015-04-27) 1 commit
683  - Documentation: clarify how "git commit" cleans up the edited log message
685  Will merge to 'next'.
688 * ah/usage-strings (2015-04-02) 2 commits
689  - branch: fix funny-sounding error message
690  - standardize usage strings that were missed the first time
692  A few usage string updates.
694  Will merge to 'next'.
697 * jk/reading-packed-refs (2015-04-16) 9 commits
698   (merged to 'next' on 2015-04-21 at c9bce73)
699  + t1430: add another refs-escape test
700  + read_packed_refs: avoid double-checking sane refs
701  + strbuf_getwholeline: use getdelim if it is available
702  + strbuf_getwholeline: avoid calling strbuf_grow
703  + strbuf_addch: avoid calling strbuf_grow
704  + config: use getc_unlocked when reading from file
705  + strbuf_getwholeline: use getc_unlocked
706  + git-compat-util: add fallbacks for unlocked stdio
707  + strbuf_getwholeline: use getc macro
709  An earlier rewrite to use strbuf_getwholeline() instead of fgets(3)
710  to read packed-refs file revealed that the former is unacceptably
711  inefficient.
713  Will merge to 'master' in the second batch of post v2.4 cycle.
716 * kn/cat-file-literally (2015-04-15) 5 commits
717  - SQUASH???
718  - t1006: add tests for git cat-file --literally
719  - cat-file: add documentation for '--literally' option.
720  - cat-file: teach cat-file a '--literally' option
721  - sha1_file.c: support reading from a loose object of unknown type
723  Add the "--literally" option to "cat-file" to allow inspecting
724  loose objects of an experimental or a broken type.
726  This is v8 $gmane/267213; v9 was posted but it will still needs reroll.
727  Waiting for reroll.
730 * ld/p4-filetype-detection (2015-04-04) 3 commits
731   (merged to 'next' on 2015-04-08 at da735b4)
732  + git-p4: fix filetype detection on files opened exclusively
733  + git-p4: small fix for locked-file-move-test
734  + git-p4: fix small bug in locked test scripts
736  Will merge to 'master' in the first batch of post v2.4 cycle.
739 * lm/squelch-bg-progress (2015-04-15) 2 commits
740   (merged to 'next' on 2015-04-21 at 9a8b1e9)
741  + compat/mingw: stubs for getpgid() and tcgetpgrp()
742  + progress: no progress in background
744  Many long-running operations show progress eye-candy, even when
745  they are later backgrounded.  Hide the eye-candy when the process
746  is sent to the background instead.
748  Will merge to 'master' in the second batch of post v2.4 cycle.
751 * sb/test-bitmap-free-at-end (2015-04-12) 1 commit
752   (merged to 'next' on 2015-04-14 at 0ae4759)
753  + pack-bitmap.c: fix a memleak
755  Will merge to 'master' in the first batch of post v2.4 cycle.
758 * va/p4-client-path (2015-04-23) 2 commits
759   (merged to 'next' on 2015-04-23 at e0d2065)
760  + git-p4: improve client path detection when branches are used
761  + t9801: check git-p4's branch detection with client spec enabled
763  git p4 attempts to better handle branches in Perforce.
765  Will merge to 'master' in the third batch of post v2.4 cycle.
768 * jk/sha1-file-reduce-useless-warnings (2015-03-30) 1 commit
769   (merged to 'next' on 2015-04-21 at a8bd995)
770  + sha1_file: squelch "packfile cannot be accessed" warnings
772  Will merge to 'master' in the second batch of post v2.4 cycle.
775 * mh/show-branch-topic (2015-03-31) 1 commit
776   (merged to 'next' on 2015-04-08 at 628ada5)
777  + show-branch: show all local heads when only giving one rev along --topics
779  "git show-branch --topics HEAD" (with no other arguments) did not
780  do anything interesting.  Instead, contrast the given revision
781  against all the local branches by default.
783  Will merge to 'master' in the first batch of post v2.4 cycle.
786 * sb/line-log-plug-pairdiff-leak (2015-03-30) 1 commit
787   (merged to 'next' on 2015-04-08 at 6ea8b71)
788  + line-log.c: fix a memleak
790  Will merge to 'master' in the first batch of post v2.4 cycle.
793 * jk/init-core-worktree-at-root (2015-04-02) 1 commit
794   (merged to 'next' on 2015-04-08 at 92a942b)
795  + init: don't set core.worktree when initializing /.git
797  We avoid setting core.worktree when the repository location is the
798  ".git" directory directly at the top level of the working tree, but
799  the code misdetected the case in which the working tree is at the
800  root level of the filesystem (which arguably is a silly thing to
801  do, but still valid).
803  Will merge to 'master' in the first batch of post v2.4 cycle.
806 * ts/checkout-advice-plural (2015-04-02) 1 commit
807   (merged to 'next' on 2015-04-08 at dd5c436)
808  + checkout: call a single commit "it" intead of "them"
810  Will merge to 'master' in the first batch of post v2.4 cycle.
813 * pt/credential-xdg (2015-03-25) 4 commits
814   (merged to 'next' on 2015-03-25 at 765128e)
815  + t0302: "unreadable" test needs POSIXPERM
816   (merged to 'next' on 2015-03-24 at 9a3706e)
817  + t0302: test credential-store support for XDG_CONFIG_HOME
818  + git-credential-store: support XDG_CONFIG_HOME
819  + git-credential-store: support multiple credential files
820  (this branch is used by pt/xdg-config-path.)
822  Tweak the sample "store" backend of the credential helper to honor
823  XDG configuration file locations when specified.
825  As this may see further updates, and also this is not an urgent
826  issue anyway, I'll give it a bit more time for it to simmer.
828  Will cook in 'next'.
831 * jc/diff-no-index-d-f (2015-03-26) 2 commits
832   (merged to 'next' on 2015-03-27 at 1f270f9)
833  + diff-no-index: align D/F handling with that of normal Git
834  + diff-no-index: DWIM "diff D F" into "diff D/F F"
836  The usual "git diff" when seeing a file turning into a directory
837  showed a patchset to remove the file and create all files in the
838  directory, but "git diff --no-index" simply refused to work.  Also,
839  when asked to compare a file and a directory, imitate POSIX "diff"
840  and compare the file with the file with the same name in the
841  directory, instead of refusing to run.
843  Will merge to 'master' in the first batch of post v2.4 cycle.
846 * nd/diff-i-t-a (2015-03-23) 1 commit
847   (merged to 'next' on 2015-03-24 at a6be89f)
848  + diff-lib.c: adjust position of i-t-a entries in diff
850  After "git add -N", the path appeared in output of "git diff HEAD"
851  and "git diff --cached HEAD", leading "git status" to classify it
852  as "Changes to be committed".  Such a path, however, is not yet to
853  be scheduled to be committed.  "git diff" showed the change to the
854  path as modification, not as a "new file", in the header of its
855  output.
857  Treat such paths as "yet to be added to the index but Git already
858  know about them"; "git diff HEAD" and "git diff --cached HEAD"
859  should not talk about them, and "git diff" should show them as new
860  files yet to be added to the index.
862  Will cook in 'next', as this brings in a new world order.
865 * bc/object-id (2015-03-13) 10 commits
866   (merged to 'next' on 2015-03-24 at 3ec4f83)
867  + apply: convert threeway_stage to object_id
868  + patch-id: convert to use struct object_id
869  + commit: convert parts to struct object_id
870  + diff: convert struct combine_diff_path to object_id
871  + bulk-checkin.c: convert to use struct object_id
872  + zip: use GIT_SHA1_HEXSZ for trailers
873  + archive.c: convert to use struct object_id
874  + bisect.c: convert leaf functions to use struct object_id
875  + define utility functions for object IDs
876  + define a structure for object IDs
878  Identify parts of the code that knows that we use SHA-1 hash to
879  name our objects too much, and use (1) symbolic constants instead
880  of hardcoded 20 as byte count and/or (2) use struct object_id
881  instead of unsigned char [20] for object names.
883  Will merge to 'master' in the first batch of post v2.4 cycle.
886 * nd/slim-index-pack-memory-usage (2015-04-18) 2 commits
887   (merged to 'next' on 2015-04-21 at 919b80d)
888  + index-pack: kill union delta_base to save memory
889  + index-pack: reduce object_entry size to save memory
891  Memory usage of "git index-pack" has been trimmed by tens of
892  per-cent.
894  Will merge to 'master' in the second batch of post v2.4 cycle.
897 * nd/multiple-work-trees (2015-03-31) 41 commits
898   (merged to 'next' on 2015-04-02 at 7ea51b4)
899  + prune --worktrees: fix expire vs worktree existence condition
900   (merged to 'next' on 2015-03-24 at 58b5a60)
901  + t1501: fix test with split index
902   (merged to 'next' on 2015-03-20 at cc98ed0)
903  + t2026: fix broken &&-chain
904   (merged to 'next' on 2015-02-18 at b51f696)
905  + t2026 needs procondition SANITY
906  + git-checkout.txt: a note about multiple checkout support for submodules
907  + checkout: add --ignore-other-wortrees
908  + checkout: pass whole struct to parse_branchname_arg instead of individual flags
909  + git-common-dir: make "modules/" per-working-directory directory
910  + checkout: do not fail if target is an empty directory
911  + t2025: add a test to make sure grafts is working from a linked checkout
912  + checkout: don't require a work tree when checking out into a new one
913  + git_path(): keep "info/sparse-checkout" per work-tree
914  + count-objects: report unused files in $GIT_DIR/worktrees/...
915  + gc: support prune --worktrees
916  + gc: factor out gc.pruneexpire parsing code
917  + gc: style change -- no SP before closing parenthesis
918  + checkout: clean up half-prepared directories in --to mode
919  + checkout: reject if the branch is already checked out elsewhere
920  + prune: strategies for linked checkouts
921  + checkout: support checking out into a new working directory
922  + use new wrapper write_file() for simple file writing
923  + wrapper.c: wrapper to open a file, fprintf then close
924  + setup.c: support multi-checkout repo setup
925  + setup.c: detect $GIT_COMMON_DIR check_repository_format_gently()
926  + setup.c: convert check_repository_format_gently to use strbuf
927  + setup.c: detect $GIT_COMMON_DIR in is_git_directory()
928  + setup.c: convert is_git_directory() to use strbuf
929  + git-stash: avoid hardcoding $GIT_DIR/logs/....
930  + *.sh: avoid hardcoding $GIT_DIR/hooks/...
931  + git-sh-setup.sh: use rev-parse --git-path to get $GIT_DIR/objects
932  + $GIT_COMMON_DIR: a new environment variable
933  + commit: use SEQ_DIR instead of hardcoding "sequencer"
934  + fast-import: use git_path() for accessing .git dir instead of get_git_dir()
935  + reflog: avoid constructing .lock path with git_path
936  + *.sh: respect $GIT_INDEX_FILE
937  + git_path(): be aware of file relocation in $GIT_DIR
938  + path.c: group git_path(), git_pathdup() and strbuf_git_path() together
939  + path.c: rename vsnpath() to do_git_path()
940  + git_snpath(): retire and replace with strbuf_git_path()
941  + path.c: make get_pathname() call sites return const char *
942  + path.c: make get_pathname() return strbuf instead of static buffer
944  A replacement for contrib/workdir/git-new-workdir that does not
945  rely on symbolic links and make sharing of objects and refs safer
946  by making the borrowee and borrowers aware of each other.
948  Will cook in 'next'.
950 --------------------------------------------------
951 [Discarded]
953 * as/userdiff-sh (2015-03-13) 1 commit
954  . userdiff: funcname and word patterns for sh
956  Add a built-in "userdiff" patterns to word-split and identify
957  notable lines in shell scripts to help presentation of diff and
958  grep output.
961 * sb/ref-lock-avoid-running-out-of-fds (2015-04-23) 5 commits
962  . refs.c: enable large transactions
963  . sha1_file.c: move get_max_fd_limit(void) to wrapper.c
964  - refs.c: remove lock_fd from struct ref_lock
965  - t7004: rename ULIMIT test prerequisite to ULIMIT_STACK_SIZE
966  - update-ref: test handling large transactions properly
967  (this branch is tangled with mh/ref-lock-avoid-running-out-of-fds.)
970 * jc/merge-deprecate-old-syntax (2015-03-26) 1 commit
971  . merge: deprecate 'git merge <message> HEAD <commit>' syntax
973  The first step to really start the process of removing the ancient
974  syntax to invoke a two-way merge, which has been deprecated since
975  October 2007.
977  This regresses "git pull" in various ways; do not merge ($gmane/267432).