What's cooking in git.git (Jul 2008, issue #02; Sun, 06)
[git/spearce.git] / whatscooking.txt
blob52e94cf97882d1e007ee15c927900b3d1c858d85
1 What's cooking in git.git (Jul 2008, issue #02; Sun, 06)
2 --------------------------------------------------------
4 Here are the topics that have been cooking.  Commits prefixed
5 with '-' are only in 'pu' while commits prefixed with '+' are
6 in 'next'.
8 The topics list the commits in reverse chronological order.  The topics
9 meant to be applied to the maintenance series have "maint-" in their
10 names.
12 It already is beginning to become clear what 1.6.0 will look like.  Wha=
13 t's
14 already in 'next' all are well intentioned (I do not guarantee they are
15 already bug-free --- that is what cooking them in 'next' is for) and ar=
17 good set of feature enhancements.  Bigger changes will be:
19  * Port for MinGW.
21  * With the default Makefile settings, most of the programs will be
22    installed outside your $PATH, except for "git", "gitk", "git-gui" an=
24    some server side programs that need to be accessible for technical
25    reasons.  Invoking a git subcommand as "git-xyzzy" from the command
26    line has been deprecated since early 2006 (and officially announced =
28    1.5.4 release notes); use of them from your scripts after adding
29    output from "git --exec-path" to the $PATH will still be supported i=
31    1.6.0, but users are again strongly encouraged to adjust their
32    scripts to use "git xyzzy" form, as we will stop installing
33    "git-xyzzy" hardlinks for built-in commands in later releases.
35  * git-merge will be rewritten in C.
37  * default pack and idx versions will be updated as scheduled for some
38    time ago.
40  * GIT_CONFIG, which was only documented as affecting "git config", but
41    actually affected all git commands, now only affects "git config".
42    GIT_LOCAL_CONFIG, also only documented as affecting "git config" and
43    not different from GIT_CONFIG in a useful way, is removed.
45 ----------------------------------------------------------------
46 [New Topics]
48 * js/maint-daemon-syslog (Thu Jul 3 16:27:24 2008 +0100) 1 commit
49  - [PARKED improvement suggested not rolled in] git daemon: avoid
50    calling syslog() from a signal handler
52 This will eventually appear in 'maint'; currently parked on 'pu', thoug=
55 * jc/report-tracking (Sun Jul 6 02:54:56 2008 -0700) 5 commits
56  - branch -r -v: do not spit out garbage
57  + stat_tracking_info(): clear object flags used during counting
58  + git-branch -v: show the remote tracking statistics
59  + git-status: show the remote tracking statistics
60  + Refactor "tracking statistics" code used by "git checkout"
62 Makes the "your branch is ahead of the tracked one by N commits" logic =
63 and
64 messages available to other commands; status and branch are updated.
66 * sg/stash-k-i (Fri Jun 27 16:37:15 2008 +0200) 1 commit
67  - stash: introduce 'stash save --keep-index' option
69 One weakness of our "partial commit" workflow support used to be that t=
71 user can incrementally build what is to be committed in the index but t=
72 hat
73 state cannot be tested as a whole in the working tree.  This allows you=
74  to
75 temporarily stash the remaining changes in the working tree so that the
76 index state before running "stash save --keep-index" can be seen in the
77 working tree to be tested and then committed.  A recommended workflow t=
79 use after that commit is made needs to be documented (and support needs=
80  to
81 be added if necessary).
83 * tr/add-i-e (Thu Jul 3 00:00:00 2008 +0200) 3 commits
84  + git-add--interactive: manual hunk editing mode
85  + git-add--interactive: remove hunk coalescing
86  + git-add--interactive: replace hunk recounting with apply --recount
88 Adds 'e/dit' action to interactive add command.
90 * am/stash-branch (Thu Jul 3 11:46:05 2008 +0530) 1 commit
91  + Implement "git stash branch <newbranch> <stash>"
93 Creates a new branch out of the stashed state, after returning from the
94 interrupt that forced you to create the stash in the first place.
96 * jc/grafts (Wed Jul 2 17:14:12 2008 -0700) 1 commit
97  - Ignore graft during object transfer [broken wrt shallow clones]
99 Cloning or fetching from a repository from grafts did not send objects
100 that are hidden by grafts, but the commits in the resulting repository =
102 need these to pass fsck.  This fixes object transfer to ignore grafts.
104 Another fix is needed to git-prune so that it ignores grafts but treats
105 commits that are mentioned in grafts as reachable.
107 * jk/pager-config (Thu Jul 3 07:46:57 2008 -0400) 1 commit
108  - Allow per-command pager config
110 ----------------------------------------------------------------
111 [Will merge to master soon]
113 * js/import-zip (Mon Jun 30 19:50:44 2008 +0100) 1 commit
114  + Add another fast-import example, this time for .zip files
116 * js/apply-root (Wed Jul 2 15:28:22 2008 -0700) 2 commits
117  + apply --root: thinkofix.
118  + Teach "git apply" to prepend a prefix with "--root=3D<root>"
120 * db/no-git-config (Mon Jun 30 03:37:47 2008 -0400) 1 commit
121  + Only use GIT_CONFIG in "git config", not other programs
123 * jc/reflog-expire (Sat Jun 28 22:24:49 2008 -0700) 2 commits
124  + Make default expiration period of reflog used for stash infinite
125  + Per-ref reflog expiry configuration
127 As 1.6.0 will be a good time to make backward incompatible changes, the
128 tip commit makes the default expiry period of stash 'never', unless you
129 configure them to expire explicitly using gc.refs/stash.* variables.
130 Needs consensus, but I am guessing that enough people would want stash
131 that does not expire.
133 * dr/ceiling (Mon May 19 23:49:34 2008 -0700) 4 commits
134  + Eliminate an unnecessary chdir("..")
135  + Add support for GIT_CEILING_DIRECTORIES
136  + Fold test-absolute-path into test-path-utils
137  + Implement normalize_absolute_path
139 This still feels "because we can", not "because we need to", but it cam=
141 from somebody who had the need to, and I do not think it hurts people
142 without the environment variable set.
144 * jc/rerere (Sun Jun 22 02:04:31 2008 -0700) 5 commits
145  + rerere.autoupdate
146  + t4200: fix rerere test
147  + rerere: remove dubious "tail_optimization"
148  + git-rerere: detect unparsable conflicts
149  + rerere: rerere_created_at() and has_resolution() abstraction
151 A new configuration will allow paths that have been resolved cleanly by
152 rerere to be updated in the index automatically.
154 To me, this is "because we can", but was something requested by Ingo, s=
156 presumably some people may feel it useful in their workflow.
158 ----------------------------------------------------------------
159 [Actively Cooking]
161 * mv/merge-in-c (Tue Jul 1 04:37:50 2008 +0200) 15 commits
162  - [REJECT -- over-abuse of path-list] Build in merge
163  + Fix t7601-merge-pull-config.sh on AIX
164  + git-commit-tree: make it usable from other builtins
165  + Add new test case to ensure git-merge prepends the custom merge
166    message
167  + Add new test case to ensure git-merge reduces octopus parents when
168    possible
169  + Introduce reduce_heads()
170  + Introduce get_merge_bases_many()
171  + Add new test to ensure git-merge handles more than 25 refs.
172  + Introduce get_octopus_merge_bases() in commit.c
173  + git-fmt-merge-msg: make it usable from other builtins
174  + Move read_cache_unmerged() to read-cache.c
175  + Add new test to ensure git-merge handles pull.twohead and
176    pull.octopus
177  + Move parse-options's skip_prefix() to git-compat-util.h
178  + Move commit_list_count() to commit.c
179  + Move split_cmdline() to alias.c
181 The last one is still not quite there, I am afraid.
183 ----------------------------------------------------------------
184 [Graduated to "master"]
186 * j6t/mingw (Sat Nov 17 20:48:14 2007 +0100) 38 commits
187  + compat/pread.c: Add a forward declaration to fix a warning
188  + Windows: Fix ntohl() related warnings about printf formatting
189  + Windows: TMP and TEMP environment variables specify a temporary
190    directory.
191  + Windows: Make 'git help -a' work.
192  + Windows: Work around an oddity when a pipe with no reader is
193    written to.
194  + Windows: Make the pager work.
195  + When installing, be prepared that template_dir may be relative.
196  + Windows: Use a relative default template_dir and ETC_GITCONFIG
197  + Windows: Compute the fallback for exec_path from the program
198    invocation.
199  + Turn builtin_exec_path into a function.
200  + Windows: Use a customized struct stat that also has the st_blocks
201    member.
202  + Windows: Add a custom implementation for utime().
203  + Windows: Add a new lstat and fstat implementation based on Win32
204    API.
205  + Windows: Implement a custom spawnve().
206  + Windows: Implement wrappers for gethostbyname(), socket(), and
207    connect().
208  + Windows: Work around incompatible sort and find.
209  + Windows: Implement asynchronous functions as threads.
210  + Windows: Disambiguate DOS style paths from SSH URLs.
211  + Windows: A rudimentary poll() emulation.
212  + Windows: Implement start_command().
213  + Windows: A pipe() replacement whose ends are not inherited to
214    children.
215  + Windows: Wrap execve so that shell scripts can be invoked.
216  + Windows: Implement setitimer() and sigaction().
217  + Windows: Fix PRIuMAX definition.
218  + Windows: Implement gettimeofday().
219  + Make my_mktime() public and rename it to tm_to_time_t()
220  + Windows: Work around misbehaved rename().
221  + Windows: always chmod(, 0666) before unlink().
222  + Windows: A minimal implemention of getpwuid().
223  + Windows: Implement a wrapper of the open() function.
224  + Windows: Strip ".exe" from the program name.
225  + Windows: Handle absolute paths in
226    safe_create_leading_directories().
227  + Windows: Treat Windows style path names.
228  + setup.c: Prepare for Windows directory separators.
229  + Windows: Use the Windows style PATH separator ';'.
230  + Add target architecture MinGW.
231  + Compile some programs only conditionally.
232  + Add compat/regex.[ch] and compat/fnmatch.[ch].
234 ----------------------------------------------------------------
235 [On Hold]
237 * sg/merge-options (Sun Apr 6 03:23:47 2008 +0200) 1 commit
238  + merge: remove deprecated summary and diffstat options and config
239    variables
241 This was previously in "will be in master soon" category, but it turns =
243 that the synonyms to the ones this one deletes are fairly new invention
244 that happend in 1.5.6 timeframe, and we cannot do this just yet.  Perha=
246 in 1.7.0.
248 * jc/dashless (Thu Jun 26 16:43:34 2008 -0700) 2 commits
249  + Revert "Make clients ask for "git program" over ssh and local
250    transport"
251  + Make clients ask for "git program" over ssh and local transport
253 This is the "botched" one.  Will be resurrected during 1.7.0 or 1.8.0
254 timeframe.
256 * jk/renamelimit (Sat May 3 13:58:42 2008 -0700) 1 commit
257  - diff: enable "too large a rename" warning when -M/-C is explicitly
258    asked for
260 This would be the right thing to do for command line use, but gitk will=
261  be
262 hit due to tcl/tk's limitation, so I am holding this back for now.
264 ----------------------------------------------------------------
265 [Stalled/Needs more work]
267 * ph/parseopt-step-blame (Tue Jun 24 11:12:12 2008 +0200) 7 commits
268  - Migrate git-blame to parse-option partially.
269  + parse-opt: add PARSE_OPT_KEEP_ARGV0 parser option.
270  + parse-opt: fake short strings for callers to believe in.
271  + parse-opt: do not print errors on unknown options, return -2
272    intead.
273  + parse-opt: create parse_options_step.
274  + parse-opt: Export a non NORETURN usage dumper.
275  + parse-opt: have parse_options_{start,end}.
277 I recall Pierre said something about cleaning up the last one when he
278 finds time, but other than that vague recollection, I lost track of thi=
280 series.  I am tempted to fork a few topics off of the pen=C3=BAltimo on=
281 e to
282 convert a few more commands as examples and merge the result to 'next'.
284 * jc/blame (Wed Jun 4 22:58:40 2008 -0700) 7 commits
285  - blame: show "previous" information in --porcelain/--incremental
286    format
287  - git-blame: refactor code to emit "porcelain format" output
288  + git-blame --reverse
289  + builtin-blame.c: allow more than 16 parents
290  + builtin-blame.c: move prepare_final() into a separate function.
291  + rev-list --children
292  + revision traversal: --children option
294 The blame that finds where each line in the original lines moved to.  T=
296 may help a GSoC project that wants to gather statistical overview of th=
298 history.  The final presentation may need tweaking (see the log message=
299  of
300 the commit ""git-blame --reverse" on the series).
302 The tip two commits are for peeling to see what's behind the blamed
303 commit, which we should be able to separate out into an independent top=
305 from the rest.
307 * jc/merge-theirs (Mon Jun 30 22:18:57 2008 -0700) 5 commits
308  + Make "subtree" part more orthogonal to the rest of merge-
309    recursive.
310  + Teach git-pull to pass -X<option> to git-merge
311  + Teach git-merge to pass -X<option> to the backend strategy module
312  + git-merge-recursive-{ours,theirs}
313  + git-merge-file --ours, --theirs
315 Punting a merge by discarding your own work in conflicting parts but st=
317 salvaging the parts that are cleanly automerged.  It is likely that thi=
319 will result in nonsense mishmash, but somehow often people want this, s=
321 here they are.  The interface to the backends is updated so that you ca=
323 say "git merge -Xours -Xsubtree=3Dfoo/bar/baz -s recursive other" now.
325 The -X<option> part may change, Dscho mentions that a single-letter -X
326 that take stuck option is against syntax rules, and I think he's right.
328 This is more "because we can", not "because we need to".