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

Re: [PATCH 5/5] status: respect "-b" for porcelain format

From
Jeff King <peff@peff.net>
Date
May 8, 2012, 09:04 UTC
Message-ID
<20120508090407.GA31286@sigill.intra.peff.net>
In-Reply-To
<7vtxzrz2za.fsf@alter.siamese.dyndns.org>
On Mon, May 07, 2012 at 09:55:05PM -0700, Junio C Hamano wrote:
Show 6 quoted lines
> All patches looked good.  I thought that this deserved to eventually land
> on 'maint', so I did my usual "am first to master primarily to populate
> the object database with exact blob objects, then rebase the result to
> 'maint' while resolving conflicts both textual and semantic, and finally
> attempt to merge it back to 'master'" dance to come up with a two topic
> branches.  The result is queued in 'pu'.

I eyeballed the result. It all looks good except for patch 2 (refactor colopts handling), which now has a totally bogus commit message. Since colopts came much later, the only thing left in the patch is the movement of the local "struct wt_status s" in cmd_{commit,status} to a static at the top of each function (so that it can be referenced directly by the options list).

Probably that patch (94f98829) should just be squashed into its parent. And then the colopts bits can be moved to the very end, after the rest of it, and be a part of only the non-maint topic.

I've pushed that result out to the jk/{maint-,}status-porcelain-z-b branches at git://github.com/peff/git.git if that helps.

-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 14 of 16 in “correct git-status Porcelain Format documentation”
  1. correct git-status Porcelain Format documentationJeff King, May 6, 2012
  2. Jeff KingMay 6, 2012
  3. Junio C HamanoMay 7, 2012
  4. Jeff KingMay 7, 2012
  5. Jeff KingMay 7, 2012
  6. 1/5 commit: refactor option parsingJeff King, May 7, 2012
  7. 2/5 status: refactor colopts handlingJeff King, May 7, 2012
  8. Nguyen Thai Ngoc DuyMay 8, 2012
  9. 3/5 status: refactor null_termination optionJeff King, May 7, 2012
  10. 4/5 status: fix null termination with "-b"Jeff King, May 7, 2012
  11. 5/5 status: respect "-b" for porcelain formatJeff King, May 7, 2012
  12. Jeff KingMay 7, 2012
  13. Junio C HamanoMay 8, 2012
  14. Jeff KingMay 8, 2012
  15. Junio C HamanoMay 8, 2012
  16. Junio C HamanoMay 7, 2012

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.