git/list[1] front-page[2] threads[3] people[4] search[5] about
 

preview of "What's cooking" (topics)

From
Junio C Hamano <junkio@cox.net>
Date
Jan 3, 2007, 10:25 UTC
Message-ID
<7virfopfuo.fsf@assigned-by-dhcp.cox.net>

My git day this week hasn't started yet, but for people to base their improvements on, here is a quick status before I go to bed.

 - Detached HEAD along with two patches to teach git-status and
   git-branch about not being on any branch are in 'pu'; I
   removed -d option from git-checkout from the previous round.
 - Jürgen's git-status improvements are mostly in 'next' but
   one of them is queued in 'pu', waiting for comments.
 - I've queued my counterproposal to Shawn's lockfile fix in
   'pu', waiting for comments.

On the 'master' front, I've merged Andy's xwrite() loop. I think this is applicable to many other places after generalizing it a bit more and perhaps merging it with safe_write in pkt-line.c.

builtin-apply.c, builtin-unpack-objects.c, copy.c, csum-file.c, index-pack.c, merge-recursive.c and pkt-line.c have implementations of something very similar, with different policy on error handling.

Also index-pack.c and upload-pack.c (in the status reporting code path) also has unprotected xwrite() that can result in short write.

Have fun.
Next: Juergen Ruehle
Message 1 of 2 in “preview of "What's cooking" (topics)”
  1. Junio C HamanoJan 3, 2007
  2. Juergen RuehleJan 3, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.